Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

AW: [Fwd: st: AW: GLM family and link (default)]


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: [Fwd: st: AW: GLM family and link (default)]
Date   Mon, 14 Jun 2010 15:21:19 +0200

<> 

It is quite easy to replicate "mmolina"´s problem, btw:


*************
sysuse auto, clear
set seed 43254

prob foreign weight length trunk turn /* 
*/  displacement headroom price mpg rep78  /* 
*/ if runiform()<.3

glm foreign weight length trunk turn  /* 
*/ displacement headroom price mpg rep78 /* 
*/  if e(sample), family(binomial 1) /* 
*/  link(probit)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Maarten buis
Gesendet: Montag, 14. Juni 2010 15:09
An: [email protected]
Betreff: Re: [Fwd: st: AW: GLM family and link (default)]

--- On Mon, 14/6/10, [email protected] wrote:
> They are not 33 observations but these are the remaining...

It doesn't matter how large your dataset is, all that counts
is how many observations are used in your estimation, and
that is 33 (and only 22 in your probit model), which is a 
major problem when you want to estimate 13 parameters. Anyhow, 
the linear probability model is not the most obvious solution 
to your problem: 

First, simplify your model by using much less variables, 
I'd say an absolute maximum of 3 variables (10 obs per 
variable). 

Second, use -exlogisitc- if you want to retain the variables 
that perfectly predict your outcome, which as I stated before
was the reason that your -probit- model was mis-behaving.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index