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 07 Nov. 2024.
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

bacondecomp  
Goodman-Bacon Decomposition
Decomposition for differences-in-differences with variation in treatment timing from Goodman-Bacon ...
Download / Learn more Package Citations See dependency  
robregcc  
Robust Regression with Compositional Covariates
We implement the algorithm estimating the parameters of the robust regression model with composition ...
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  
con2aqi  
Calculate the AQI from Pollutant Concentration
To calculate the AQI (Air Quality Index) from pollutant concentration data. O3, PM2.5, PM10, CO, SO ...
Download / Learn more Package Citations See dependency  

23,092

R Packages

198,677

Dependencies

62,675

Author Associations

23,089

Publication Badges

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