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

st: Summary stats


From   peter harper <[email protected]>
To   [email protected]
Subject   st: Summary stats
Date   Sun, 18 Jul 2004 05:37:06 +0100 (BST)

Dear Statalist

I have a dummy variable with 11 categories. I have
only used 4 of these due to lack of sufficient data
for the others. Now I want to do an end of regression
summary of all the variables I used in the regression.
I want the observations for all these variables to
equal the number obviouly I had, when I ran all the
equations. At the moment, either the total number of
means, total more than 1, for these dummies, I
mentioned in the beginning or the number of
observations are not the same as the original
equations. I tried
.ge other=.
.replace other=0 if x1==1|x2==1|x3==1|x4==1    (1) 
.replace other=1 if x1==1|x2==1|x3==1|x4==4    (2)
.su other
   
But the means are either > 1 for these set of dummy
variables I mentioned earlier or the observations do
not equal to that of the regression. I even tried
using approximately equal to sign in (2), but had the
same problems.

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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index