Hi Statalist,
I'm hoping to calculate the intraclass correlation (with confidence intervals) from a three level accelerated failure time model using mestreg and the lognormal distribution option.
I found this blog post from Stata to be very useful: https://www.stata.com/stata-news/new...-correlations/
But it only specifies how to calculate the individual level variance component for the Weibull distribution, where the level 1 variance =(pi / (6+p^2)) and p is the ancillary parameter of the Weibull AFT model
I am not sure how to calculate the equivalent individual level variance component for the lognormal AFT model, and couldn't work it out from the referenced Rodríguez, G. 2010. Parametric Survival Models. http://data.princeton.edu/pop509/ParametricSurvival.pdf.
Code and output from Stata 17 on a Mac:
mestreg i.var1 c.var2 i.var3 ||level3var: ||level2var:, distribution(lognormal) time tr
----------------------------------------------------------------------------------------------
_t | Time ratio Std. err. z P>|z| [95% conf. interval]
-----------------------------+----------------------------------------------------------------
var1 etc...
//
|
_cons | 500 100 16.67 0.000 250 900
-----------------------------+----------------------------------------------------------------
/logs | .9123 .712 1.0
-----------------------------+----------------------------------------------------------------
level3var |
var(_cons)| .012 .03 .00001 1.40
-----------------------------+----------------------------------------------------------------
level3var>level2var |
var(_cons)| .7654 .30 .20 1.9
----------------------------------------------------------------------------------------------
I presumed the "/logs" output refers to the level 1 variance component, and denominator for ICC calculations would therefore be 0.9123 + 0.012 + 0.7654. Is this correct? If so, can anyone provide more information on calculating the 95% confidence intervals for the resulting ICCs.
Many thanks in advance,
Ben
Related Posts with Calculating intra-class correlation from multilevel parametric survival model
 Interpreting "estat vce, corr output" posetimation of menbreg with random slopes and interceptHi,
I'm looking to get some assistance understanding the output of a postestimation command, estat … Interpreting "estat vce, corr output" posetimation of menbreg with random slopes and interceptHi,
I'm looking to get some assistance understanding the output of a postestimation command, estat …
 Seemingly unrelated bivariate probit: backs up during iterationsHi everyone,
I am trying to run the biprobit regression, using the following syntax:
biprobit (dep… Seemingly unrelated bivariate probit: backs up during iterationsHi everyone,
I am trying to run the biprobit regression, using the following syntax:
biprobit (dep…
 Fractional polynomials and nonlinear least-squares estimationIs there a fundamental reason why fractional polynomials (either -fp- or -mfp-) are not allowed when… Fractional polynomials and nonlinear least-squares estimationIs there a fundamental reason why fractional polynomials (either -fp- or -mfp-) are not allowed when…
 non parametric regression discontinuity with interaction termi am writing to ask if is it possible to do a non parametric regression discontinuity with an intera… non parametric regression discontinuity with interaction termi am writing to ask if is it possible to do a non parametric regression discontinuity with an intera…
 Last observation of daily data for each monthDate IV
3/1/2000 27.81
3/2/2000 24.46
3/3/2000 22.65
3/6/2000 22.38
3/7/2000 26.36
3/8/2000 27.42
3/… Last observation of daily data for each monthDate IV
3/1/2000 27.81
3/2/2000 24.46
3/3/2000 22.65
3/6/2000 22.38
3/7/2000 26.36
3/8/2000 27.42
3/…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating intra-class correlation from multilevel parametric survival model
Post a Comment