ci_circmle: ci_circmle

Description Usage Arguments Value Examples

View source: R/ci_circmle.r

Description

Calculate the 95% confidence interval for estimated model parameters

Usage

1
ci_circmle(circmle, model)

Arguments

circmle

A list consisting of the output from function 'circ_mle'

model

character string indicating the model to be used to estimate parameter uncertainty. Must be one of c("M2A", "M2B", "M2C", "M3A", "M3B", "M4A", "M4B", "M5A", "M5B"). Default = the $bestmodel from the circmle object.

Value

A data frame with a column for the parameter name, the maximum likelihood estimate (MLE), standard error (SE), and 95% confidence interval (CI) for each estimated model parameter.

Examples

1
2
3
testdata = circular::rvonmises(100, mu = circular::circular(pi), kappa = 3)
fit <- circ_mle(testdata)
ci_circmle(fit)

CircMLE documentation built on Sept. 2, 2020, 1:07 a.m.