StratSel-package {StratSel}R 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.

Details

Package: StratSel
Type: Package
Version: 0.1
Date: 2013-10-21
License: GPL (>= 2)

Author(s)

Lucas Leemann lleemann@gmail.com

References

Lucas Leemann. 2014. "Strategy and Sample Selection - A Strategic Selection Estimator", forthcoming in Political Analysis.

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:

[Package StratSel version 1.3 Index]