Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65052

xtset help

$
0
0
Hi there guys,

I'm new to Stata for about a week and I'm really struggling to xtset my data. I currently have approximately 3,400 observations (company data per month). For each company, there is monthly data from 31/01/1990 through to 31/12/2015.

something like this:
Company Month ROA ROE ROIC LTD STD Size = log(TA) Age TAN
African Oxygen Ltd 31/01/1990 0.07540 0.16490 0.13920 0.14336 0.07598 13.88144 29.170 0.52453
African Oxygen Ltd 28/02/1990 0.07540 0.16490 0.13920 0.14336 0.07598 13.88144 29.170 0.52453
African Oxygen Ltd 31/03/1990 0.07540 0.16490 0.13920 0.14336 0.07598 13.88144 29.170 0.52453
I have already managed to convert company to numeric type. But then when I go to xtset my data, I keep getting 109 or 111 errors. Am I correct in assuming the problem is due to the months not being properly formatted for Stata?

Many thanks for the help,

Neil.

Viewing all articles
Browse latest Browse all 65052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>