Learn R Programming

lava (version 1.9.3)

estimate.array: Estimate parameters and influence function.

Description

Estimate parameters for the sample mean, variance, and quantiles

Usage

# S3 method for array
estimate(x, type = "mean", probs = 0.5, ...)

Value

Object of class estimate (see estimate.default).

Arguments

x

numeric matrix

type

target parameter ("mean", "variance", "quantile"). The type of quantile (see stats::quantile) can be chosen with "quantile1", "quantile2", ...

probs

numeric vector of probabilities (for type="quantile")

...

Additional arguments to lower level functions (i.e., stats::density.default when type="quantile")