Other packages > Find by keyword >

varbin  

Optimal Binning of Continuous and Categorical Variables
View on CRAN: Click here


Download and install varbin package within the R console
Install from CRAN:
install.packages("varbin")

Install from Github:
library("remotes")
install_github("cran/varbin")

Install by package version:
library("remotes")
install_version("varbin", "0.2.1")



Attach the package and use:
library("varbin")
Maintained by
Daniel Safai
[Scholar Profile | Author Map]
First Published: 2018-10-12
Latest Update: 2018-10-12
Description:
Tool for easy and efficient discretization of continuous and categorical data. The package calculates the most optimal binning of a given explanatory variable with respect to a user-specified target variable. The purpose is to assign a unique Weight-of-Evidence value to each of the calculated binpoints in order to recode the original variable. The package allows users to impose certain restrictions on the functional form on the resulting binning while maximizing the overall information value in the original data. The package is well suited for logistic scoring models where input variables may be subject to restrictions such as linearity by e.g. regulatory authorities. An excellent source describing in detail the development of scorecards, and the role of Weight-of-Evidence coding in credit scoring is (Siddiqi 2006, ISBN: 978–0-471–75451–0). The package utilizes the discrete nature of decision trees and Isotonic Regression to accommodate the trade-off between flexible functional forms and maximum information value.
How to cite:
Daniel Safai (2018). varbin: Optimal Binning of Continuous and Categorical Variables. R package version 0.2.1, https://cran.r-project.org/web/packages/varbin. Accessed 12 May. 2025.
Previous versions and publish date:
No previous versions
Other packages that cited varbin R package
View varbin citation profile
Other R packages that varbin depends, imports, suggests or enhances
Complete documentation for varbin
Functions, R codes and Examples using the varbin R package
Some associated functions: varbin.convert . varbin.factor . varbin.kink . varbin.monotonic . varbin . varbin.plot . 
Some associated R codes: varbin.R .  Full varbin package functions and examples
Downloads during the last 30 days
04/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/0505/0605/0705/0805/09Downloads for varbin02468101214161820222426TrendBars

Today's Hot Picks in Authors and Packages

LatticeKrig  
Multi-Resolution Kriging Based on Markov Random Fields
Methods for the interpolation of large spatial datasets. This package follows a "fixed rank Kriging ...
Download / Learn more Package Citations See dependency  
epinet  
Epidemic/Network-Related Tools
A collection of epidemic/network-related tools. Simulates transmission of diseases through contact n ...
Download / Learn more Package Citations See dependency  
MDFS  
MultiDimensional Feature Selection
Functions for MultiDimensional Feature Selection (MDFS): calculating multidimensional information g ...
Download / Learn more Package Citations See dependency  
errorist  
Automatically Search Errors or Warnings
Provides environment hooks that obtain errors and warnings which occur during the execution of code ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
sGMRFmix  
Sparse Gaussian Markov Random Field Mixtures for Anomaly Detection
An implementation of sparse Gaussian Markov random field mixtures presented by Ide et al. (2016) ...
Download / Learn more Package Citations See dependency  

24,223

R Packages

207,311

Dependencies

65,402

Author Associations

24,224

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA