Econometrics By Simulation
Simulations and Analysis github.com/EconometricsBySimulation/
Home
#R#
#Julia#
*Stata*
External Resources
Web Apps
Author - Francis Smart
Friday, April 27, 2012
Easy recode all missing SPSS or SAS into STATA
* Replaces the variable observations which match the argument after the == sign (-9999) with stata missing(.)
foreach v of varlist * {
capture replace `v'=. if `v'==-9999
}
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment