Hi,
my problem is twofold. I downloaded a database containing gvkey, sic code, year (1995 - 2005), year-end date, and 13 variables, for about 3000 US companies. This information is organized in columns, with the first company taking the first 11 rows (years), directly followed by the next company. I have to create new variables that represent year-to-year change. I was unable to find the syntax for this command, although I assume this to be quite straightforward (like in Excel). The second problem is the necessary leap from one company to the next. How do I tell STATA to end the subtraction at the end of a certain company (year 2005), to continue with the next. Is this even possible?
Related Posts with Create change variable for timeseries data.
Propensity Score Matching: How to run analysis using a certain block?Hello, I believe this is a very newbie question but would be greatly appreciated if anyone can help …
Multi level dummy variableHi listers, Yesterday I posted a question but when I re-read it, I found that there was some contex…
Question Stata (Seasonal effects in stock market)Hello Guys Im from Switzerland and have some difficulties using Stata. I hope there are some expert…
infix with files that do not have suffixesI am trying to read in 1000s of raw data files with the infix command. The files have a numeric name…
New version of factext on SSCThanks as always to Kit Baum, a new version of the factext package is now available for download fro…
Subscribe to:
Post Comments (Atom)
0 Response to Create change variable for timeseries data.
Post a Comment