mle | R Documentation |
Maximum-likelihood estimates of parameters. Estimates are without bias correction except for the variance.
## S4 method for signature 'Cpp_Clmbr'
mle( output ="T" )
output |
"T", "V" or "B" which stand for text, value or both. |
'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".
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.