| 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": ReturnsPwithout changes. -
"conditionals": ReturnsPcontaining the likelihood of the model averaged across intra-individual draws. Drops all components except for"model". -
"estimate": ReturnsPcontaining the likelihood of the model averaged across intra-individual draws. Drops all components except"model". -
"gradient": ReturnsPcontaining the gradient of the likelihood averaged across intra-individual draws. Drops all components except"model". -
"output": ReturnsPcontaining the likelihood of all model components averaged across intra-individual draws. -
"prediction": ReturnsPcontaining the probabilities of all alternatives for all model components averaged across intra-individual draws. -
"preprocess": ReturnsPwithout changes. -
"raw": ReturnsPwithout changes. -
"report": ReturnsPwithout changes. -
"validate": ReturnsPcontaining the likelihood of the model averaged across intra-individual draws. Drops all components but"model". -
"zero_LL": ReturnsPwithout changes.