Profile Likelihood Computation and Confidence Intervals
Function to compute estimated and profile likelihood based confidence
intervals. Computations might be cumbersome!
There is a simple plot-method for the result.
## S3 method for class 'twinSIR'
profile(fitted, profile, alpha = 0.05,
        control = list(fnscale = -1, factr = 10, maxit = 100), ...)| fitted | an object of class  | 
| profile | a list with elements being numeric vectors of length 4.  These vectors must
have the form  
 | 
| alpha | (1-alpha)*100% profile likelihood based confidence
intervals are computed.  If  | 
| control | control object to use in  | 
| ... | unused (argument of the generic). | 
a list with profile log-likelihood evaluations on the grid and highest likelihood
and Wald confidence intervals.  The argument profile is also returned.
The result has class "profile.twinSIR", for which a simple (undocumented)
plot-method is available.
Michael Höhle and Sebastian Meyer
data("hagelloch")
fit <- twinSIR(~ household, data = hagelloch)
gridsize <- if (interactive()) 35 else 5  # for fast tests
prof <- profile(fit, list(c(1, NA, NA, gridsize)))
prof$ci.hl
plot(prof)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.