Separate sets
Yet another option is to fit the same model to disjoint subsets of the sample, with or without testing in the complementary sets. In the AutoMPG example, this feature could be used to fit different models to cars from different countries:
Yet another option is to fit the same model to disjoint subsets of the sample, with or without testing in the complementary sets. In the AutoMPG example, this feature could be used to fit different models to cars from different countries:
The selected output for this analysis is shown below. When the pause-between-models option is chosen, the complete outputs of the separate models can be exported to Excel as they are fitted, and the model summaries table in the Excel file will show side by side comparisons of their error statistics and coefficients:
A separate model comparison table, showing error statistics only, is automatically produced on a separate worksheet at the last step:
The output for this analysis that was produced in the RStudio console is pictured below: