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]
All associated links for this package
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 18 Feb. 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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

MOSS  
Multi-Omic Integration via Sparse Singular Value Decomposition
High dimensionality, noise and heterogeneity among samples and features challenge the omic integrat ...
Download / Learn more Package Citations See dependency  
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  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  
readxlsb  
Read 'Excel' Binary (.xlsb) Workbooks
Import data from 'Excel' binary (.xlsb) workbooks into R. ...
Download / Learn more Package Citations See dependency  
clustMixType  
k-Prototypes Clustering for Mixed Variable-Type Data
Functions to perform k-prototypes partitioning clustering for mixed variable-type data according to ...
Download / Learn more Package Citations See dependency  
fclust  
Fuzzy Clustering
Algorithms for fuzzy clustering, cluster validity indices and plots for cluster validity and visuali ...
Download / Learn more Package Citations See dependency  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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