A little help with the brant test. I'm trying to determine whether or not
the proportional odds ratio is violated for an ordinal-level dependent
variable. However, after I estimate the ordered logit model, and type the
command for the brant test, I get an error message: y>: operator invalid.
Can someone advise me on this?
Thanks.
> What exactly is the problem?
>
> ______________________________________________
> Kieran McCaul MPH PhD
> WA Centre for Health & Ageing (M573)
> University of Western Australia
> Level 6, Ainslie House
> 48 Murray St
> Perth 6000
> Phone: (08) 9224-2140
> Phone: -61-8-9224-2140
> email: [email protected]
> http://myprofile.cos.com/mccaul
> _______________________________________________
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> [email protected]
> Sent: Sunday, 16 March 2008 3:44 AM
> To: [email protected]
> Subject: st: stset and stsum problem
>
> Dear statlist,
> I have tried to set my data for a survival analysis, but I have a
> problem when use stset and put all the observations censored.
> My dataset is this:
> id firstyearentry yearentry yearexit duration canvi
> 1 3/2001 3/2001 3/2002 12 0
> 1 3/2001 4/2002 9/2002 17 1
> 2 8/2002 8/2002 11/2002 3 0
> 2 8/2002 12/2002 5/2003 9 0
> 3 .....
> ...
>
> The command that I use is:
> stset dur, f(canvi==1) id(id)
> If I put all the observation censored and not with stsum I have this:
> stsum;
>
> failure _d: canvi
> analysis time _t: dur
> id: id
>
> | incidence no. of |------ Survival
> time -----|
> | time at risk rate subjects 25% 50%
> 75%
> ---------+--------------------------------------------------------------
> -------
> total | 10661543 .0002694 34301 1025 .
> .
>
>
> If I take only the observation with failure ==1 I have this:
>
> failure _d: canvi
> analysis time _t: dur
> id: id
>
> | incidence no. of |------ Survival
> time -----|
> | time at risk rate subjects 25% 50%
> 75%
> ---------+--------------------------------------------------------------
> -------
> total | 960671 .0030687 2951 131 283
> 469
>
> Someone can help me to understand where is the error?
> Thanks in advance.
> best,
> catia
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/