Dear Martin,
thanks for your help!
Let's say this is my estimation command:
probit selb sex alter alterqu if deutsch, robust
So, to get the mean of the dependent variable, what shoul I state?
It's only about the dependent variable.
Thanks again!
Zitat von Martin Weiss <[email protected]>:
<>
BTW: If it is really only about the dependent variable, the last two lines
can be used to arrive at the same result:
*************
sysuse auto, clear
probit for mpg price rep78
estat summarize foreign
summarize foreign if e(sample)
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Martin Weiss
Gesendet: Dienstag, 14. April 2009 10:53
An: [email protected]
Betreff: st: AW: Mean dependent variable
<>
*************
sysuse auto, clear
probit for mpg price rep78
estat summarize
*************
Note that I used "rep78" as a covariate so that a covariate with missing
values makes my explantation meaningful. If you want to take this further,
-e(sample)- can be used to condition on inclusion in the estimation.
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von
[email protected]
Gesendet: Dienstag, 14. April 2009 10:44
An: [email protected]
Betreff: st: Mean dependent variable
Hi there,
I'm not so familiar with stata. So maybe that's a simple question:
I've run a probit estimation and I want the mean of my independent
variable of this regression. What can I do to get this addtional
information in my estimation output?
I can use the means-command before my regression. But in my regression
some observations are excluded. So there will be a different mean
value of my independent variable.
Thanks for your help,
Michael
*
* 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/
*
* 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/
*
* 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/
*
* 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/