Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: Number of observations


From   Wiebke Schlanbusch <wvschl@yahoo.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: Number of observations
Date   Fri, 25 Sep 2009 13:21:30 +0000 (GMT)

Aaah, sorry I made a mistake...  I do use -reg3- Thank you, Martin.
I tried both of your suggestions, but they offer me only the numbers of observations included in the 3SLS-Estimation (count if e(sample)) or offer me a list of all observations and the value of the variables (list if e(sample)). Unfortunately non of your suggestions can explain why Stata isn't using all the observations in the data sheet. 

Thank you very much for you help. It really is appreciated.

Wiebke



----- Original Message ----
From: Martin Weiss <martin.weiss1@gmx.de>
To: statalist@hsphsun2.harvard.edu
Sent: Friday, September 25, 2009 2:51:49 PM
Subject: st: AW: Number of observations


<> 

Is it -3reg- or -reg3-? I hope: the latter. Just say 

*************
count if e(sample)
*************

to find the number of obs...

You could also -list if e(sample)- though this will give you lots of
output...

HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Wiebke
Schlanbusch
Gesendet: Freitag, 25. September 2009 14:51
An: statalist@hsphsun2.harvard.edu
Betreff: st: Number of observations

Dear Statalist'ers,
 
does anyone of you know a way to make Stata 10.1 show the observations used
in my -3reg- estimation? My data sheet contains more than 30,000 cases but
Stata uses only about 5,000 of these. I assume this dropping of observations
to be a reason the "R-squared" offered by -reg3- differs so much from my
pseudo-R².
 
Kind regards,
Wiebke


      

*
*  For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/


*
*  For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/



      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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