Learn R Programming

ebTobit (version 1.0.2)

fitted.ebTobit: Fitted Estimates of an ebTobit object

Description

Compute either the posterior mean (default) or posterior L1 mediod which corresponds to the posterior median in one-dimension.

Usage

# S3 method for ebTobit
fitted(object, method = "mean", ...)

Value

matrix containing the posterior estimates for measurements in the fit empirical Bayes model object

Arguments

object

an object inheriting from class ebTobit

method

either "mean", "L1mediod", or "mode" corresponding to the methods: posterior_*.ebTobit()

...

not used