Hi,
I have data on 70 individual companies over 2 years. The dependent is number of items reported on 2
websites (either the companies website or government website) for each company.
In Stata, I go to Statistics > Time Series > Setup and Utilities > Declare Data to be Time Series
and enter Year as the Time variable and Panel ID is Company.
So I have data like for example:
For Website 0 represents companies own website and 1 represents government central website.
Company Year WebSite TotalItems Indep1 Indep2
A 2005 0 40 5 10
A 2005 1 30 4 20
A 2006 0 15 3 30
A 2006 1 25 5 40
B 2005 0 10 3 15
B 2005 1 20 4 25
B 2006 0 25 6 35
B 2006 1 30 3 40
etc
Using Random effects regression, I would then enter:
xtreg TotalItems Indep1 Indep2 , re
How would I include WebSite in the above?
Using a repeated measures terminology with which I am more familiar, I have 2 within subject
factors, Year and Site.
I can specify this model easily enough via using GEE.
Thanks,
Paul
==================
Paul McGeoghan,
Application support specialist (Statistics and Databases),
University Infrastructure Group (UIG),
Information Services,
Cardiff University.
Tel. 02920 (875035).
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/