Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: survival analysis


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: survival analysis
Date   Wed, 2 Sep 2009 19:40:20 +0000 (GMT)

--- On Wed, 2/9/09, Johannes Schoder wrote:
> I should estimate a parametric survival model (I am using
> the streg command). However, I since I am using grouped data
> I have to weight my estimates. Does anyone knows how a
> weighted least squares regression works with streg?

streg indepvars [fweight=weightvar], dist(distributionname)

See -help weights- 

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index