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]

Re: st: Problem with variables in glamm


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Problem with variables in glamm
Date   Mon, 7 Oct 2013 14:02:33 +0100

I support the request for the actual syntax used. With 276 cases I
doubt you will get good results for more than a few predictors.

Logit link for continuous proportion as a response is a perfectly
respectable model. It's just that -gllamm- (SSC) doesn't support it.
-glm- would appear sufficient here.

I don't understand how Alice gets problem #2 as problem #1 implies
failure of the command any way.

Nick
[email protected]


On 7 October 2013 13:30, William Buchanan <[email protected]> wrote:

> If your dependent variable is binary (like it is implied by the info you provide), then the only values it should take are 0 & 1.  Beyond that it isn't exactly clear what your specific problem is. You should also include the _exact_ syntax you enter and the exact message/output provided by Stata.


On Oct 7, 2013, at 6:53, "Alice Dalton (MED)" <[email protected]> wrote:

>> I'm having a problem with the gllamm program (family(binomial) link(logit)).
>>
>> 1. My dependant variable (a proportion) will only work if the variable contains a zero, otherwise I get an r(2000) (no observations) error
>>
>> 2. Adding binary explanatory variables (eg a health variable where 1 excellent, 0 not excellent) results in the message 'variables have been dropped, can't continue' and an r(198) error. The null model works; the null model works with continuous variables added in; the null model plus one or more binary variables fails.
>>
>> The command I am using is     gllamm  [depvar] [varlist], i(ParticipantId) family(binomial) link(logit). I have 276 cases and 129 variables (not all of which are added to the model).
>>
>> If anyone with experience of gllamm has an idea of what is happening here, I would be most grateful to hear it.
>>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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