Maximum-likelihood estimates of parameters. Estimates are without bias correction except for the variance.
Usage
# S4 method for Cpp_Clmbr
mle( output ="T" )
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".
Arguments
output
"T", "V" or "B" which stand for text, value or both.
# 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:10sc <- lm.br(y~x)
sc$mle()
estimates <- sc$mle( 'v' )
estimates