Learn R Programming

MLEce (version 2.1.0)

summary.MLEce: Summarizing effective closed-form estimation function

Description

summary method for a class "MLEce".

Usage

# S3 method for MLEce
summary(object, ...)

# S3 method for summary.MLEce print(x, digits = max(3, getOption("digits") - 3), ...)

Value

summary presents information about effective closed-form estimators calculated by MLEce containing the following components.

Distribution

the distribution assigned to fit the data to.

Quantile

a numeric vector describing the data set with min, 1st quantile, median, 3rd quantile, and max values.

Correlation

correlation coefficient between two vectors of the data

Estimation

estimated values of parameters, standard error and confidence intervals are given.

Arguments

object

an object of class "MLEce" made by the function MLEce.

...

not used, but exists because of the compatibility.

x

an object of class "summary.MLEce".

digits

a numeric number of significant digits.

Examples

Run this code
#bivariate gamma distribution
data(flood)
est_res1 <- MLEce(flood, "BiGam")
summary(est_res1)
#bivariate Weibull distribution
datt = rBiWei(n=50, c(2,3,3,4,0.4))
est_res2 <-MLEce(datt, "BiWei")
summary(est_res2)
#Dirichilet distribution
data(fossil_pollen) 
fossil_data <- fossil_pollen/rowSums(fossil_pollen)
eps <- 1e-10
fossil_data <- (fossil_data +eps)/(1+2*eps)
est_res3 <- MLEce(fossil_data, "Dirichlet")
summary(est_res3)

Run the code above in your browser using DataLab