refit {simex} | R Documentation |
Refits the object of class SIMEX or MCSIMEX with a different extrapolation function and returns an object of the same class with the new estimates.
refit(object, fitting.method = "quad", asymptotic = TRUE, jackknife = "quad")
object |
object of class SIMEX or MCSIMEX |
fitting.method |
the new fitting method for for the extrapolation step |
asymptotic |
logical, indicating whether asymptotic variance estimation should be done. (Only possible if done in the original model) |
jackknife |
specifying the extrapolation method for jackknife variance estimation. Can be set to FALSE if it should not be performed (Only possible if done in the original model) |
object of class SIMEX or MCSIMEX
Wolfgang Lederer
# continues example from mcsimex() # refit(simex.model,"line")