Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: limiting observations within a program


From   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: Re: limiting observations within a program
Date   Fri, 3 Oct 2008 01:57:18 -0400

Michael McCulloch <[email protected]>:
Have you tried looking at one call to your program?

  set tr on
  msmcox_stageALL_includeIPTWd

Note that [`iweight=wt_stab_ALL'] does not use the weights while
[iw=`wt_stab_ALL'] does.

What are those weights supposed to do for you?  Shouldn't the weights
be decreasing in the estimated probability of treatment for obs who
get treatment, and increasing in the estimated probability of
treatment for obs who don't get treatment?

On Thu, Oct 2, 2008 at 8:46 PM, Michael McCulloch <[email protected]> wrote:
> Thanks for confirming `X', and also for pointing out the nifty
> abbreviations!
> Now, if I could only figure out why adding the -if- statement to my -stcox-
> command:
>        stcox tcm if `wt_stab_ALL'!=.
>
> or dropping the very with missing weight with:
>        drop if `wt_stab_ALL' ==.
>
> will cause the bootstrapping of my program to give the error message:
>
> "varlist required
> an error occurred when bootstrap executed msmcox_stageALL_includeIPTWd
> r(100);"
>
>  Michael
>
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index