summary.OBREresult: Function that summarize the results contained in an...

View source: R/summary.OBREresult.R

summary.OBREresultR Documentation

Function that summarize the results contained in an OBREresult object.

Description

The function shows the estimated parameters, the OBRE tuning parameter, the proportion of data weighted and the relative efficiency with respect to MLE of an OBREresult object.

Usage

## S3 method for class 'OBREresult'
summary(object)

Arguments

object

The OBREresult object (output of OBRE function) that has to be plotted.

Value

The summary an OBREresult obect with the estimated parameters, the OBRE tuning parameter, the proportion of data weighted and the relative efficiency with respect to MLE.

Examples

try({# Generates the Normal distribution input for OBRE
distrForOBRE <- densityExpressions(strDistribution = "normal")
# Generates input data
simData = c(rnorm(100, 12, 1), rnorm(10, 10, 10))
# Estimates OBREresult object
estOBRE <- OBRE(nvData = simData, strDistribution = distrForOBRE, nCParOBRE = 3)
# Summary of the results
summary(estOBRE)})


OBRE documentation built on July 9, 2023, 5:53 p.m.