RegressIt
  • Home
  • Students
  • Instructors
  • Practitioners
  • R users
    • R interface
    • Excel to R
    • R to Excel
    • Random sets
    • k-fold cross-validation
    • Separate sets
    • How to install R
  • Free Download
    • RegressItPC
    • RegressItMac
    • RegressItLogistic
    • Get started with analysis
    • Data
    • Videos
    • Terms of use
  • Features
    • Overview
    • Ribbon interface
    • Descriptive data analysis
    • Linear regression
    • Logistic regression >
      • Logistic
      • Titanic example
      • GLOW example
    • Variable transformations
    • Model summary worksheet
    • Forecasting
    • Audit trail navigation
    • Analysis Toolpak problems
  • Support
    • Tech Support
    • Advice
    • Links
  • About
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:
Picture
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:
Picture
A separate model comparison table, showing error statistics only, is automatically produced on a separate worksheet at the last step:
Picture
The output for this analysis that was produced in the RStudio console is pictured below:
Picture
Picture