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
description of tsappend1 data setHello, Does anybody have a quick description of the tsappend1 data set? Even if it was fictitious i …
Lexis-diagramLexis I have wondered why there isn't any good Lexis-plot command in Stata? Most of them are very o…
How to analyze Panel Survey Data (Likert scale questions)Hi all, I would like to analyze a two-period survey data with attrition, with both dependent and in…
Convert export values to USDHello, I have a dataset that looks like with trade data from 1988-2017 Code: * Example generated b…
lincom calculation for a subset of dataHello, I'm trying to calculate the dfiference of certain Times on the basis of a mixed-effect linear…
Subscribe to:
Post Comments (Atom)
0 Response to Survey pointer to spouse without Mata
Post a Comment