Dear Stata-Listers,
I have the feeling that the solution is quite easy. However, I just can't figure it out.
So, I have cross sectional data for regional districts in Germany with differing observations per year, for the years 2012 to 2015.
The variable A is asked in the years 2014 and 2015.
A year district
When:
reg A year
I get beta=60.9
What I would like to do now is set variable A in the year 2013 to A(2014)-60.9 for each district separately.
Related Posts with Creating forward values in cross-sectional data
Help with data set-upHello all- I feel like there is an easy solution to this but I just can't see how to do it. I have d…
Coefplot: Group covariates by model, and not model by covariatesI am trying to plot estimates from multiple models using coefplot. I need to group all the estimates…
score06 giving me errorHello, I run the following zscore06 commands and giving me the error message: zscore06, a(child_va…
select pacienteid with two equal dates. Format longHi all. Please I need to identify cases where data is the same. Thank you !!! --------------------…
Storing the results of suest on MI dataDear Statalist users, I am doing an analysis where I want to compare whether some associations diffe…
Subscribe to:
Post Comments (Atom)
0 Response to Creating forward values in cross-sectional data
Post a Comment