Hi,
I would love some help!
I try to copy the personal tax in 2002 to all years.
My initial data looks like this:
Year ID Tax
2001 1 .
2002 1 0.2
2003 1 .
2001 2 .
2002 2 0.14
2003 2 .
2001 3 .
2002 3 0.25
2003 3 .
The prefered outcome looks like this:
Year ID Tax
2001 1 0.2
2002 1 0.2
2003 1 0.2
2001 2 0.14
2002 2 0.14
2003 2 0.14
2001 3 0.25
2002 3 0.25
2003 3 0.25
I really appreciate any help you can provide.
Thank you!
Related Posts with Copy variables (basic problems)
Help with SFA - sfpanel model BC95Dear Stata users, I am working on "the trade potential between China and Central and Eastern Europe…
Problem with misspecificationHello All, Using a dataset of 600,000 observations and 60 variables I ran regress and then tested f…
Controlled interrupted time series with count data using glm, panel data, and Newey-West standard errorsHi, I am trying to conduct an interrupted time series analysis with an intervention group and a con…
How to use data in ARDL Bounds testThis is my first time to use Stata in fairly complicated research. Must the variables which are in l…
Exporting Test Results to word from xttest0 and xttest3Dear all, may someone clarify, how I can export the results from xttest0 to word? If I write: xtre…
Subscribe to:
Post Comments (Atom)
0 Response to Copy variables (basic problems)
Post a Comment