View source: R/apollo_choiceAnalysis.R
apollo_choiceAnalysis | R Documentation |
Compares market shares across subsamples in dataset, and conducts statistical tests.
apollo_choiceAnalysis(choiceAnalysis_settings, apollo_control, database)
choiceAnalysis_settings |
List. Contains settings for this function. User input is required for all settings except those with a default or marked as optional.
|
apollo_control |
List. Options controlling the running of the code. See apollo_validateInputs. |
database |
data.frame. Data used by model. |
Saves the output to a csv file in the working/output directory.
Silently returns a matrix containing the mean value for each explanator for those cases where an alternative is chosen and where it is not chosen,
as well as the t-test comparing those means (H0: equivalence).
The table is also written to a file called modelName_choiceAnalysis.csv
and printed to screen.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.