apollo_avgIntraDraws {apollo} | R Documentation |
Averages across intra-individual draws.
Description
Averages observation-specific likelihood across intra-individual draws.
Usage
apollo_avgIntraDraws(P, apollo_inputs, functionality)
Arguments
P |
List of vectors, matrices or 3-dim arrays. Likelihood of the model components. |
apollo_inputs |
List grouping most common inputs. Created by function apollo_validateInputs. |
functionality |
Character. Setting instructing Apollo what processing to apply to the likelihood function. This is in general controlled by the functions that call
|
Value
Argument P
with (for most functionalities) the original contents averaged over intra-individual draws. Shape depends on argument functionality
.
-
"components"
: ReturnsP
without changes. -
"conditionals"
: ReturnsP
containing the likelihood of the model averaged across intra-individual draws. Drops all components except for"model"
. -
"estimate"
: ReturnsP
containing the likelihood of the model averaged across intra-individual draws. Drops all components except"model"
. -
"gradient"
: ReturnsP
containing the gradient of the likelihood averaged across intra-individual draws. Drops all components except"model"
. -
"output"
: ReturnsP
containing the likelihood of all model components averaged across intra-individual draws. -
"prediction"
: ReturnsP
containing the probabilities of all alternatives for all model components averaged across intra-individual draws. -
"preprocess"
: ReturnsP
without changes. -
"raw"
: ReturnsP
without changes. -
"report"
: ReturnsP
without changes. -
"validate"
: ReturnsP
containing the likelihood of the model averaged across intra-individual draws. Drops all components but"model"
. -
"zero_LL"
: ReturnsP
without changes.