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 09 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

Today's Hot Picks in Authors and Packages

ManifoldOptim  
An R Interface to the 'ROPTLIB' Library for Riemannian Manifold Optimization
An R interface to version 0.3 of the 'ROPTLIB' optimization library (see ...
Download / Learn more Package Citations See dependency  
vkR  
Access to VK API via R
Provides an interface to the VK API <https://v ...
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  
ChaosGame  
Chaos Game
The main objective of the package is to enter a word of at least two letters based on which an Itera ...
Download / Learn more Package Citations See dependency  
SNPknock  
Knockoffs for Hidden Markov Models and Genetic Data
Generate knockoffs for genetic data and hidden Markov models. For more information, see the website ...
Download / Learn more Package Citations See dependency  
Sysrecon  
Systematical Metabolic Reconstruction
In the past decade, genome-scale metabolic reconstructions have widely been used to comprehend the ...
Download / Learn more Package Citations See dependency  

23,794

R Packages

206,711

Dependencies

64,305

Author Associations

23,781

Publication Badges

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