predict.ebTobit {ebTobit} | R Documentation |
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 class 'ebTobit'
predict(object, L, R = L, s1 = 1, method = "mean", ...)
Arguments
object |
an object inheriting from class |
L |
n x p matrix of lower bounds on observations |
R |
n x p matrix of upper bounds on observations |
s1 |
a single numeric standard deviation or an n x p matrix of standard deviations |
method |
either "mean", "L1mediod", or "mode" corresponding to the
methods: |
... |
not used |
Value
matrix of posterior estimates for new observations under the
provided, pre-fit empirical Bayes model object
[Package ebTobit version 1.0.2 Index]