Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 

README.md

endoSwitch

The R package estimates the endogenous switching regression model using full maximum likelihood estimation, and calculates treatment effects of a binary treatment.

The function can replicate the regression results of the movestay command in STATA, though minor difference could occur due to differences in the optimization methods.

Package installation

To install the package, run the following codes in R:

install.packages("devtools") # Run this if the devtools package is not installed.
devtools::install_github("cbw1243/endoSwitch")

Note

The package is still under development. I am making regular changes to the package for performance improvement. Please use the most recent version of the package. Install again before using it.

If there is anything wrong, shoot me an email.

Contact: Bowen Chen, PhD (bwchen@illinois.edu)

Acknowledgement

The development of this package was supported by USDA-NRCS Agreement No. NR193A750016C001 through the Cooperative Ecosystem Studies Units network. Any opinions, findings, conclusions, or recommendations expressed are those of the author(s) and do not necessarily reflect the view of the U.S. Department of Agriculture.

About

Endogenous switching regression model

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.