Learn R Programming

OBRE (version 0.2-0)

summary.OBREresult: 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 OBREresult
summary(object)

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.

Arguments

object

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

Examples

Run this code
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)})

Run the code above in your browser using DataLab