mle: Maximum Likelihood Estimates

mleR Documentation

Maximum Likelihood Estimates

Description

Maximum-likelihood estimates of parameters. Estimates are without bias correction except for the variance.

Usage

## S4 method for signature 'Cpp_Clmbr'
mle( output ="T" )

Arguments

output

"T", "V" or "B" which stand for text, value or both.

Value

'mle' prints-out the maximum-likelihood estimates but does not return a value if 'output' is "T". 'mle' returns a numeric vector of maximum-likelihood estimates if 'output' is "V" or "B".

Examples

#  Data for Patient B from Smith and Cook (1980)
y <- c(37.3, 47.1, 51.5, 67.6, 75.9, 73.3, 69.4, 61.5, 31.8, 19.4)
x <- 1:10
sc <- lm.br(y~x)
sc$mle()
estimates <- sc$mle( 'v' )
estimates

lm.br documentation built on March 19, 2024, 3:08 a.m.

Related to mle in lm.br...