Learn R Programming

sambia (version 0.1.0)

A Collection of Techniques Correcting for Sample Selection Bias

Description

A collection of various techniques correcting statistical models for sample selection bias is provided. In particular, the resampling-based methods "stochastic inverse-probability oversampling" and "parametric inverse-probability bagging" are placed at the disposal which generate synthetic observations for correcting classifiers for biased samples resulting from stratified random sampling. For further information, see the article Krautenbacher, Theis, and Fuchs (2017) . The methods may be used for further purposes where weighting and generation of new observations is needed.

Copy Link

Version

Install

install.packages('sambia')

Monthly Downloads

155

Version

0.1.0

License

GPL-3

Maintainer

Norbert Krautenbacher

Last Published

June 6th, 2018

Functions in sambia (0.1.0)

rejSamp

Rejection Sampling is a method used in sambia's function 'costing' (Krautenbacher et al, 2017).
smoteNew

smoteNew is a necessary function that modifies the SMOTE algorithm.
synthIPbag

Train a classifier via synthetic observations using inverse-probability weights
IPbag

Predicting outcomes using non-parametric Inverse-Probability bagging
costing

Predicting outcomes using Costing.
smoteMod

smoteMod is a modified version of the 'synthetic minority oversampling technique to generate new data.
genSample

Generate synthetic observations using inverse-probability weights
ipOversampling

Plain replication of each observation by inverse-probability weights