apollo_avgIntraDraws {apollo} | R Documentation |
Averages observation-specific likelihood across intra-individual draws.
apollo_avgIntraDraws(P, apollo_inputs, functionality)
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. Description of the desired output from |
Likelihood averaged over intra-individual draws (shape depends on argument functionality
).
"estimate": Returns the likelihood of the model averaged across intra-individual draws.
"prediction": Returns the likelihood of all alternatives and all model components across intra-individual draws.
"validate": Returns P without changes.
"zero_LL": Returns P without changes.
"conditionals": Returns P without changes.
"output": Returns the same than "estimate", but also prints a summary of estimation data.
"raw": Returns P without changes.