View source: R/apollo_fitsTest.R
apollo_fitsTest | R Documentation |
Given the estimates of a model, it compares the log-likelihood at the observation level across categories of observations.
apollo_fitsTest(model, apollo_probabilities, apollo_inputs, fitsTest_settings)
model |
Model object. Estimated model object as returned by function apollo_estimate. |
apollo_probabilities |
Function. Returns probabilities of the model to be estimated. Must receive three arguments:
|
apollo_inputs |
List grouping most common inputs. Created by function apollo_validateInputs. |
fitsTest_settings |
List. Contains settings for this function. User input is required for all settings except those with a default or marked as optional.
|
Prints a table comparing the average log-likelihood at the observation level for each category.
Matrix with average log-likelihood at observation level per category (invisibly).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.