mle-utils: Utility Methods for S3 class triangle_mle

summary.triangle_mleR Documentation

Utility Methods for S3 class triangle_mle

Description

Utility Methods for S3 class triangle_mle

Usage

## S3 method for class 'triangle_mle'
summary(object, ...)

## S3 method for class 'triangle_mle'
print(x, ...)

## S3 method for class 'triangle_mle'
coef(object, ...)

## S3 method for class 'triangle_mle'
logLik(object, ...)

## S3 method for class 'triangle_mle'
AIC(object, ..., k = 2)

## S3 method for class 'triangle_mle'
BIC(object, ...)

## S3 method for class 'triangle_mle'
vcov(object, ...)

## S3 method for class 'triangle_mle'
profile(fitted, ...)

## S3 method for class 'triangle_mle'
confint(object, parm, level = 0.95, ...)

Arguments

object

class triangle_mle from a call to triangle_mle()

...

not used except for print (other arguments passed to printCoefmat)

x

the triangle_mle object

k

the penalty per parameter to be used; the default k = 2

fitted

an object of class triangle_mle

parm

parameters to be given confidence intervals passed to stats4::confint

level

confidence interval level passed to stats4::confint

Value

an object of class summary.mle

print.triangle_mle: x invisibly

coef.triangle_mle: a vector of coefficients

logLik.triangle_mle: an object of class logLik

AIC.triangle_mle: the AIC

BIC.triangle_mle: the BIC

vcov.triangle_mle: the variance co-variance matrix

profile.triangle_mle: an object of class profile.mle

confint.triangle_mle: a matrix of parameter confidence intervals

Examples

set.seed(1234)
x <- rtriangle(100, 0, 1, 0.5)
mle1 <- triangle_mle(x)
summary(mle1)
print(mle1)
coef(mle1)
logLik(mle1)
AIC(mle1)
BIC(mle1)
vcov(mle1)
## Not run: 
  prof <- profile(mle1)
  stats4::plot(prof)
  confint(mle1, 1:3, level = 0.95)

## End(Not run)

bertcarnell/triangle documentation built on July 4, 2025, 12:41 a.m.