new_ebTobit: Create a new ebTobit object

View source: R/ebTobit.R

new_ebTobitR Documentation

Create a new ebTobit object

Description

Validate the provided elements and populate the object. Current methods require that gr is numeric for that calculation of posterior statistics (mean and mediod).

Usage

new_ebTobit(prior, gr, lik)

Arguments

prior

numeric vector of non-negative weights (sums to one)

gr

numeric matrix of support points

lik

numeric matrix of likelihoods

Value

an EBayesMat object containing at least the prior weights, corresponding grid/support points, and likelihood matrix relating the grid to the observations


ebTobit documentation built on May 29, 2024, 5:06 a.m.