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: No observations in stcox models


From   Nicole Boyle <[email protected]>
To   [email protected]
Subject   Re: st: No observations in stcox models
Date   Fri, 8 Nov 2013 14:00:33 -0800

Hi Barth,

What does your -stset- code and output look like? I'm wondering if the
enter and/or exit times you've specified have denied all of your
failure events from being observed.

Nicole

On Fri, Nov 8, 2013 at 9:47 AM, Barth Riley <[email protected]> wrote:
> Dear list
>
> I am running a series of Cox regression models using stcox in Stat 11. I am
> obtaining the error message "No observations," despite the fact that the
> effective sample size (excluding missing values on all predictors and the
> failure variable) is between 150 and 550. There is also variability on all
> model variables. I should note that some of the predictors are
> categorical/ordinal and thus separate dummy variables for each category are
> being included in the model via the xi command. Could missing categories
> cause this error? Are there other factors to consider in determining the
> effective sample size for a Cox  model?
>
> Thanks in advance
>
> Barth
>
>
> *
> *   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