refit {simex}R Documentation

Changing the fitting method

Description

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.

Usage

refit(object, fitting.method = "quad", asymptotic = TRUE, jackknife = "quad")

Arguments

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)

Value

object of class SIMEX or MCSIMEX

Author(s)

Wolfgang Lederer

See Also

simex,mcsimex

Examples

 # continues example from mcsimex()
 # refit(simex.model,"line")

[Package simex version 1.2 Index]