Learn R Programming

StratSel (version 1.4)

StratSel-package: This package allows to estimate strategic selection models.

Description

This package provides functionality to estimate, summarize, plot, predict, and export strategic selection estimates. It allows researchers to incorporate the strategic nature of the DGP while not constraining the errors to be orthogonal. By relaxing the assumptions, this estimator becomes a blend of an agent error model and a Heckman selection model.

Arguments

Author

Lucas Leemann lleemann@gmail.com

Details

Package:StratSel
Type:Package
Version:1.4
Date:2025-03-24
License:GPL (>= 2)

References

Lucas Leemann. 2014. "Strategy and Sample Selection - A Strategic Selection Estimator", Political Analysis 22: 374-397.

See Also

games

Examples

Run this code
# replicate the example from Leemann (2014):
library(memisc)
data(war1800)
if (FALSE) out1 <- StratSel(Y ~ s_wt_re1 + revis1 | dem1 + mixed1 | balanc +
 dem2 + mixed2, data=war1800, corr=TRUE)
out2 <- StratSel(Y ~ s_wt_re1 + revis1 | dem1 + mixed1 | balanc +
 dem2 + mixed2, data=war1800, corr=FALSE)
setStratSelDefault()
if (FALSE) z <- mtable(out1,out2)
# toLatex(z) for a LaTeX output or just regular table:

Run the code above in your browser using DataLab