Package: sampleSelection 1.2-12

sampleSelection: Sample Selection Models

Two-step and maximum likelihood estimation of Heckman-type sample selection models: standard sample selection models (Tobit-2), endogenous switching regression models (Tobit-5), sample selection models with binary dependent outcome variable, interval regression with sample selection (only ML estimation), and endogenous treatment effects models. These methods are described in the three vignettes that are included in this package and in econometric textbooks such as Greene (2011, Econometric Analysis, 7th edition, Pearson).

Authors:Arne Henningsen [aut, cre], Ott Toomet [aut], Sebastian Petersen [ctb]

sampleSelection_1.2-12.tar.gz
sampleSelection_1.2-12.zip(r-4.5)sampleSelection_1.2-12.zip(r-4.4)sampleSelection_1.2-12.zip(r-4.3)
sampleSelection_1.2-12.tgz(r-4.4-any)sampleSelection_1.2-12.tgz(r-4.3-any)
sampleSelection_1.2-12.tar.gz(r-4.5-noble)sampleSelection_1.2-12.tar.gz(r-4.4-noble)
sampleSelection_1.2-12.tgz(r-4.4-emscripten)sampleSelection_1.2-12.tgz(r-4.3-emscripten)
sampleSelection.pdf |sampleSelection.html
sampleSelection/json (API)
NEWS

# Install 'sampleSelection' in R:
install.packages('sampleSelection', repos = c('https://arne-henningsen.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • Mroz87 - U.S. Women's Labor Force Participation
  • RandHIE - RAND Health Insurance Experiment
  • Smoke - Survey Responses on Smoking Behaviour
  • nlswork - National Longitudinal Survey of Young Working Women

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6.21 score 5 packages 297 scripts 6.0k downloads 2 mentions 14 exports 69 dependencies

Last updated 4 years agofrom:09bbbd3fe7. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-winNOTENov 23 2024
R-4.5-linuxNOTENov 23 2024
R-4.4-winNOTENov 23 2024
R-4.4-macNOTENov 23 2024
R-4.3-winOKNov 23 2024
R-4.3-macOKNov 23 2024

Exports:binaryChoiceheckitheckit2fitheckit5fitheckitTfitheckitVcovinvMillsRatiolinearPredictorsprobitselectiontobit2Bfittobit2fittobit5fittreatReg

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdigestdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmaxLikmgcvmicrobenchmarkminqamiscToolsmodelrmunsellmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6RColorBrewerRcppRcppEigenrlangsandwichscalesSparseMstringistringrsurvivalsystemfittibbletidyrtidyselectutf8vctrsVGAMviridisLitewithrzoo

Interval Regression with Sample Selection

Rendered fromintReg.Rnwusingutils::Sweaveon Nov 23 2024.

Last update: 2017-12-07
Started: 2017-12-07

Sample Selection Models

Rendered fromselection.Rnwusingutils::Sweaveon Nov 23 2024.

Last update: 2017-12-07
Started: 2011-11-13

Using treatReg

Rendered fromtreatReg.Rnwusingutils::Sweaveon Nov 23 2024.

Last update: 2020-11-04
Started: 2017-12-07

Readme and manuals

Help Manual

Help pageTopics
Extract Coefficients from Selection Modelscoef.selection coef.summary.selection print.coef.selection
Fitted Values of Selection Modelsfitted.selection
Heckit Variance Covariance MatrixheckitVcov
Inverse Mill's Ratio of probit modelsinvMillsRatio
Calculates linear predictors for different modelslinearPredictors linearPredictors.probit
Data of Binary Choice Modelsmodel.frame.binaryChoice
Data of Selection Modelsmodel.frame.selection
Design Matrix of Binary Choice Modelsmodel.matrix.binaryChoice
Design Matrix of Selection Modelsmodel.matrix.selection
U.S. Women's Labor Force ParticipationMroz87
National Longitudinal Survey of Young Working Womennlswork
Predict method for fitted probit modelspredict.probit
Predict method for fitted sample selection modelspredict.selection
Binary choice models.binaryChoice probit
probit-methodsfitted.probit logLik.probit nObs.probit nobs.probit print.probit probit-methods
RAND Health Insurance ExperimentRandHIE
Residuals of probit modelsresiduals.probit
Residuals of Selection Modelsresiduals.selection
Heckman-style selection and treatment effect modelsheckit selection treatReg
selection-methodslogLik.selection nObs.selection nobs.selection print.selection selection-methods
Survey Responses on Smoking BehaviourSmoke
Summarizing Probit Estimationsprint.summary.probit summary.probit
Summarizing Selection Estimationsprint.summary.selection summary.selection
Extract Variance Covariance Matrixvcov.selection