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: Conditional logistic regression: how to


From   Liliana Andriano <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Conditional logistic regression: how to
Date   Mon, 18 Nov 2013 08:12:42 +0100

Hello Steve, 

There is nothing in your reply. Did you want to answer to my question? 

Could you re-answer, please? Thank you.

Best, 
Liliana



Il giorno 15/nov/2013, alle ore 03:18, Steve Samuels <[email protected]> ha scritto:

> 
> 
> On Nov 14, 2013, at 8:59 AM, liliana wrote:
> 
> Dear statlist users, 
> 
> I am trying to run a conditional logistic regression. The analysis consists
> of studying the determinants of child mortality. Before running the
> conditional logistic regression I should randomly select pairs from each
> sample, consisting of one death reported during five years preceding the
> survey and one birth that still survived at the survey time. Moreover, I
> have also imputed the missing values of an explanatory variables, which
> means that before the stata command I should insert the mi estimate: option. 
> 
> What I have done in Stata is 
> 
> set seed 8021
> 
> then I have declared my data to be survival data and then
> 
> sttocc, match(mortality), where mortality is a dummy variable assuming value
> 0 if the child died during five years preceding the survey. 
> 
> Then I go with:
> 
> mi estimate: clogit y x1 x2, group(_set)
> 
> Stata tells me that 
> 
> (regular variables _st _d _t _t0 unregistered because not in m=0)
> groups (strata) are not nested within clusters
> an error occurred when mi estimate executed clogit on m=1
> r(459);
> 
> 
> May you tell me what's wrong with these commands, please? 
> 
> Thank you very much.
> 
> Best, 
> Liliana
> 
> 
> 
> 
> --
> View this message in context: http://statalist.1588530.n2.nabble.com/Conditional-logistic-regression-how-to-tp7580452.html
> Sent from the Statalist mailing list archive at Nabble.com.
> *
> *   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/
> 
> 
> *
> *   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/

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