View source: R/apollo_weighting.R
apollo_weighting | R Documentation |
Applies weights to individual observations in likelihood function.
apollo_weighting(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. Setting instructing Apollo what processing to apply to the likelihood function. This is in general controlled by the functions that call
|
The likelihood (i.e. probability in the case of choice models) of the model in the appropriate form for the given functionality, multiplied by individual-specific weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.