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
Spmap plotting regression coefficients and indicating significanceHi everyone, I want to plot country specific regression coefficients as well as the significance le…
Lasso regression with a pooled complex household survey dataHi, I’m trying to develop a linear predictive model with pooled cross-sectional data of eight-year h…
Standardized regression coefficientsSorry if I am posting a mundane question. I did enough google search in vain hence thought of postin…
Regression problem with categorical/dummy variables that take on more than two valuesHi members, I have a cross-sectional dataset with 167 observations, on which I am trying to run an …
Missing values in the resgression output tableGoodmorning everyone, My question relates to missing values obtained in the output table of a regres…
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