I'm using the IPUMS extract of the CPS March Supplement. In their extract, the variables YEAR, SERIAL, and PERNUM together uniquely identify person records in each annual sample.
They also include a variable, SPLOC, that gives the PERNUM value of the person's spouse.
I would like to create a variable called SPEMPSTAT that gives the labor market status (EMPSTAT) of each person's spouse (if they have one). In other words, use the combination of YEAR, SERIAL, and SPLOC in the person's record as a pointer to another record's YEAR, SERIAL, and PERNUM combination.
I've seen some mention that this is possible with Mata, but I wanted to make sure there wasn't a way of doing this within Stata.
Related Posts with Survey pointer to spouse without Mata
Identify value label names and storing in macroDear All, I have a dataset imported into STATA. While importing, variable names get changed to lowe…
Update and paper on -reldist-The -reldist- package (relative distribution analysis) has been updated on SSC. Type Code: . ssc i…
Major update to -moremata-A new version of -moremata- is available from SSC. Type Code: . ssc install moremata, replace to i…
Command for Listwise deletionI am doing linear regression and my IV has more cases than my DV so our instructor told us to do lis…
Interpretation formulas of Poisson regression coefficient formula for percentages and logsDear Statalist members, I have done a Poisson fixed effects panel regression (Stata 13) regressing …
Subscribe to:
Post Comments (Atom)
0 Response to Survey pointer to spouse without Mata
Post a Comment