mle {lm.br} | R 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
[Package lm.br version 2.9.7 Index]