Averages the likelihood across intra-individual draws.
apollo_avgIntraDraws(P, apollo_control, functionality)
List. Contains the probabilities for each model component, for each inter- and intra-person draw.
List. Contains options for the estimation See apollo_validatecontrol for details.
Character. Can take different values depending on desired output.
For model estimation, returns probabilities of chosen alternatives.
For model predictions, returns probabilities of all alternatives.
Validates input.
Return probabilities with all parameters at zero.
For conditionals, returns probabilities of chosen alternatives.
Checks that the model is well defined.
For debugging, returns probabilities of all alternatives
Average probability over intra-individual draws (shape depends on argument functionality
).
This function performs additional checks on the shape of the probabilities given as arguments.