2

Likely more context is needed to provide insight into the proposed analysis, but the general approach can be laid out: The task is to use time varying covariates to estimate the hazard ratio for death comparing groups differing by a "slope" of pharmacokinetic trend in the inflammatory marker. The Cox-model is a regression model that estimates ...


2

From the estimation perspective, pweights is internally used the same way as any other weight. in OLS: $$ min_{\beta} = \sum{(y-\beta X)^2 * w} $$ The only difference with other methods is during the estimation of standard errors. When you use pweights, is like requesting robust standard errors. (sandwich formula). For further details on how exactly weights ...


Only top voted, non community-wiki answers of a minimum length are eligible