-
Notifications
You must be signed in to change notification settings - Fork 0
Description
-
One-Way Graph Calculation:
-
Graph Visualization:
Three variables are plotted
Observed Average: This line is the empirical average of the observed data
Calculation is the average per group
Fitted Average: This is the average prediction for a group done by a model
Will require fitting an ML model and then calculating the average of the predictions by group
Model Prediction at Base Levels:
This line represents the predictions of the model when all variables are set to their base levels. The base level is typically the reference category against which other categories are compared in categorical variables, or a specific value (often zero) in continuous variables.
Calculation: You use the model to predict outcomes assuming that all variables are at their base levels. This line is constant if the variable plotted is the only one in the model. If there are other variables in the model, this line will show the prediction adjusted for the base levels of those other variables.
Model prediction at base levels