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)
how to generate sequence integer starting from 0 (by group)Hi, I have a panel data set and try to generate sequence numbers by group but the numbers starting f…
WHEN to delete missing/negative values?Hello, I was wondering when it is best to clean the data (i.e. delete missing or negative values) w…
Amemiya-Lee-NeweyI having problems using Amemiya-Lee-Newey test after ivprobit with in regression with 2 instruments.…
How can i convert a *.dsv file into a *.dta file?Hi I would like to work with a dataset of the recent president's election in Argentina. But I could…
Stata doesn't perform function. Do i have to change stata to another program?Dear statalist. I have data 2,000,000 observation. My stata version is 14 MP 8 core. My labtop Intel…
Subscribe to:
Post Comments (Atom)
0 Response to Copy variables (basic problems)
Post a Comment