Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Year dummies


From   peter harper <peterhharper@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: Year dummies
Date   Fri, 11 Jun 2004 22:26:08 +0100 (BST)

Dear Statalist
I have a 18 years pooled cross sectional dataset. Can
anyone tell me how to obtain the correct number of
observations as shown on the output for only the first
4 years. For example, I tried

. regress y x1 x2 x3 year1-year4
. regress y x1 x2 x3 year1 year2 year3 year4

I do want the individual years shown in the regression
output (its coeffient value etc.). At the moment
running the above regressions, the observations are
shown as 25030, which is the 18 years observations.
But with
. regress y x1 x2 x3 if < = 5
does not show the individual years in the output with
its coefficients etc.
 If you need further clarification, please let me
know. 

Thanks in advance



	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index