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 30 Mar. 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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/28Downloads for varbin0123456789101112TrendBars

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
cocorresp  
Co-Correspondence Analysis Methods
Fits predictive and symmetric co-correspondence analysis (CoCA) models to relate one data matrix to ...
Download / Learn more Package Citations See dependency  
FAMoS  
A Flexible Algorithm for Model Selection
Given a set of parameters describing model dynamics and a corresponding cost function, FAMoS perfor ...
Download / Learn more Package Citations See dependency  
TangPoemR  
Write Chinese Tang Poems
Write Chinese Tang Poems automatically. ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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