set_data: Takes raw data and sets up data object for use by ash
Description
Takes raw data and sets up data object for use by ash
Usage
set_data(betahat, sebetahat, lik = NULL, alpha = 0)
Arguments
betahat
vector of betahats
sebetahat
vector of standard errors
lik
a likelihood (see eg normal_lik())
alpha
specifies value of alpha to use (model is for betahat/sebetahat^alpha | sebetahat)
Value
data object (list)
Details
The data object stores both the data, and details of the model to be used for the data.
For example, in the generalized version of ash the cdf and pdf of the likelihood are
stored here.