Usage
## S3 method for class 'samediff':
profile(fitted, which = 1:2, max = 2, numpts = 100,
max.delta = 10, max.tau = 10, ...)
## S3 method for class 'profile.samediff':
plot(x, which = 1:nc, level = c(0.99, 0.95),
fig = TRUE, ...)
## S3 method for class 'samediff':
confint(object, parm = c("tau", "delta"), level = 0.95, max = c(10, 10)
, ...)Arguments
x
a profile.samediff object
which
numeric: which parameters to profile or plot; either "1" or "2"
or "1:2" to mean "tau", "delta" or both respectively.
parm
the parameter(s) to compute the confidence interval for
max
for profile: control parameter to specify how many units beyond the MLE,
the profiling should proceed. For confint: control parameter,
that can control the convergence for especially very large delta
numpts
control parameter: At how many points should the profile
likelihood be evaluated?
max.delta
control parameter: The maximum point at which to
evaluate the profile likelihood for delta
max.tau
same as max.delta for "tau".
level
for plot: At which levels to include horizontal lines to indicate
confidence levels in plots of the normalized profile
likelihoods. For confint: at which level to compute the
confidence interval.
fig
logical: Should the normalized profile likelihoods be plotted?