empiricalParameters {TruncExpFam}R Documentation

Calculate empirical parameters

Description

Returns the empirical parameter estimate for a distribution

Usage

empiricalParameters(y, ...)

Arguments

y

output of rtrunc

...

other arguments passed to methods

Value

A vector of parameter estimates for the input sample

Examples

# Normal distribution
sampNorm <- rtrunc(50, mean = 5, sd = 2)
empiricalParameters(sampNorm)

# Poisson distribution
sampPois <- rtrunc(10, lambda = 100, family = "Poisson")
empiricalParameters(sampPois)

[Package TruncExpFam version 1.1.1 Index]