Statalist


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

RE: st: survival analysis


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: survival analysis
Date   Thu, 3 Sep 2009 08:56:53 -0700

Also, check the manual.  If you have Stata 11, it's online

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten buis
Sent: Wednesday, September 02, 2009 12:40 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: survival analysis

--- 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/

*
*   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