| plot.profile_tls_profile | R Documentation |
plot() for a "profile_tls_profile" object draws the likelihood-ratio
deviance curve against the natural-scale parameter. A dotted horizontal line
marks the profile-t cutoff qt(1 - alpha/2, df)^2; a solid vertical line marks the
point estimate; dashed vertical lines mark the interval endpoints when they
are finite. The wording is deliberately "confidence" – this
is a likelihood curve, never a posterior. A non-closing side is
annotated rather than drawn as a closed bound.
## S3 method for class 'profile_tls_profile'
plot(x, ...)
x |
A |
... |
Reserved; must be empty. |
This plot diagnoses one parameter's likelihood profile. Use
plot_confidence_eye() to summarize the resulting confidence interval across
one or more headline parameters.
A ggplot object (invisibly when printed for its side effect).
d <- simulate_tls(family = "binomial", times = c(30, 60, 120, 240, 480),
CTmax = 36, z = 4, tref = 60, seed = 1)
fit <- fit_tls(d, y = survived, n = total, time = duration, temp = temp,
family = "binomial", tref = 60)
plot(profile(fit, "CTmax"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.