Re: st: Re: limiting observations within a program

Michael McCulloch <mm@pinest.org>:
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 <mm@pinest.org> 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/