Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One Way Graph Calculations #22

Open
matthewgalloway opened this issue Jan 17, 2024 · 0 comments
Open

One Way Graph Calculations #22

matthewgalloway opened this issue Jan 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@matthewgalloway
Copy link
Collaborator

  • 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

@matthewgalloway matthewgalloway added the enhancement New feature or request label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant