Learn R Programming

betaMC (version 1.3.3)

summary.mc: Summary Method for an Object of Class mc

Description

Summary Method for an Object of Class mc

Usage

# S3 method for mc
summary(object, digits = 4, ...)

Value

Returns a list with the following elements:

mean

Mean of the sampling distribution of \(\boldsymbol{\hat{\theta}}\).

var

Variance of the sampling distribution of \(\boldsymbol{\hat{\theta}}\).

bias

Monte Carlo simulation bias.

rmse

Monte Carlo simulation root mean square error.

location

Location parameter used in the Monte Carlo simulation.

scale

Scale parameter used in the Monte Carlo simulation.

Arguments

object

Object of Class mc, that is, the output of the MC() function.

digits

Digits to print.

...

additional arguments.

Author

Ivan Jacob Agaloos Pesigan

Examples

Run this code
# Fit the regression model
object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
mc <- MC(object, R = 100)
summary(mc)

Run the code above in your browser using DataLab