ci_circmle {CircMLE}R Documentation

ci_circmle

Description

Calculate the 95% confidence interval for estimated model parameters

Usage

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

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

[Package CircMLE version 0.3.0 Index]