AP30
  • Member for 6 years, 2 months
  • Last seen this week
Multiple Imputation (mice) with interaction terms in model
2 votes

You can impute interaction terms using MICE. You must first impute the components, and then use passive imputation to derive the interaction term directly from its components. This preserves the ...

View answer
Generating weibull survival times using the built in rweibull function vs manually defining the hazard (using the gems package in R)
Accepted answer
1 votes

I contacted the authors of the package who responded very quickly. The problem was that when generating the data, the default number of sampler steps in the numerical approximation procedure was not ...

View answer
Which probabilites are to be supplied to rcorr.cens and improveProb in package Hmisc?
1 votes

rcorr.cens can take either survival probabilities or event probabilities (better known as risks). The resulting c index will = (1 - c index), when the survival/risks are used. I do not know about ...

View answer
Correlation analysis timeline
1 votes

To stick a long the lines you are currently trying to implement, could you look at the correlation between oil production after t amount of time with the water injection, where t is a vector of time ...

View answer
Unable to calculate the shape and scale parameters of weibull distribution from data simulated through either gems or simsurv in R
0 votes

The issue when using simsurv is that the scale is actually defined like this: scale_sm = 1/(scale_rw^shape_sm), where _sm refers to the shape/scale according to simsurv, and _rw refers to the shape/...

View answer
Validity of non independent observations in Poisson regression when modelling incidence rates
Accepted answer
0 votes

Found this source, see paragraph 1 on page 4. Although the subject is about pooled logistic regression, as opposed to a poisson model, I believe the argument is the same. "While there may be concern ...

View answer