Averages individual-specific likelihood across inter-individual draws.
apollo_avgInterDraws(P, apollo_inputs, functionality)
List of vectors, matrices or 3-dim arrays. Likelihood of the model components.
List grouping most common inputs. Created by function apollo_validateInputs.
Character. Description of the desired output from apollo_probabilities
. Can take the values: "estimate", "prediction", "validate", "zero_LL", "conditionals", "output", "raw".
Likelihood averaged over inter-individual draws (shape depends on argument functionality
).
"estimate": Returns the likelihood of the model averaged across inter-individual draws.
"prediction": Returns the likelihood of all alternatives and all model components across inter-individual draws.
"validate": Returns P without changes.
"zero_LL": Returns P without changes.
"conditionals": Returns P without changes.
"output": Returns the same as "estimate", but also prints a summary of the estimation data.
"raw": Returns P without changes.