Hi
Apologies if this query is very simplistic. I am using UKHLS data on individuals to look at changes in wellbeing as a result of commuting duration. In order to do so I wish to obtain a sample from the dataset for whom the value of reported commute duration (jbttwt) changes across different waves (years) of the data by say 5 mins or more. I have the variables:
pidp: person identifier
jbttwt: commuting time in mins (note: in appending my data I removed the existing wave prefix on all variable names so there is now multiple recorded values of jbttwt for one pipd reflecting different waves)
wave: a variable (created during the appending) that captures which wave that row of data is from i.e. which year's jbttwt is referred to
What command(s) can I use to create a variable that captures each person's commute change between waves in order to select a sample of only those who experience a change of say 5 mins?
Many thanks for any help.
Related Posts with Change in a variable's value, for the same individual, across years of data
Multilevel data managementHello everyone, Im working with a dataset that includes 2 levels of data: individual level data and…
3SLS and heteroskedasticityHi, I'm running a system of equations model using reg3. Code: Code: reg3 (dlrgdp L.dlrgdp dzsly …
Regression using variable given in decimal changeI'm doing ARIMA with several variables on a time series. Arima value decimalvar1 decimalvar2, ar(1) …
wanted to create a regression tables,needed a dependent variableI am working on a hedge funds dataset. I wanted to create a regression tables. For creating regressi…
Survival analysis help, parametricHi there, I need help with my research on the duration of a strategy adopted by private equity firm…
Subscribe to:
Post Comments (Atom)
0 Response to Change in a variable's value, for the same individual, across years of data
Post a Comment