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

StratSel-packageR Documentation

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.

Author(s)

Lucas Leemann lleemann@gmail.com

References

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

See Also

games

Examples

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

lleemann/StratSel documentation built on Aug. 19, 2023, 7:58 p.m.