mle: Maximum Likelihood Estimates

Description Usage Examples

Description

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

Usage

1
2
## S4 method for signature 'Cpp_Clmbr'
mle()

Examples

1
2
3
4
5
#  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()

Example output

Loading required package: Rcpp
 lm.br  version 2.9.3,  '?lm.br' starts help
maximum-likelihood estimates of parameters:
             theta =     6.44115     ( x-coordinate of changepoint )
             alpha =     82.5226     ( y-coordinate of changepoint )
              beta =     8.07143     ( slope of first line )
        beta-prime =      -17.97     ( slope of second line )
          variance =     28.9903

lm.br documentation built on May 2, 2019, 9:59 a.m.

Related to mle in lm.br...