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

how to show summary stats (R squared, p value, F stat) from causal estimate #1229

Closed
dododobetter opened this issue Jul 18, 2024 · 3 comments
Labels
question Further information is requested stale

Comments

@dododobetter
Copy link

Ask your question
After we use linear regression to produce a causal model, currently the output only shows the coefficient, how do we see the other summary stats (i.e. p-value, R squared, F stat, etc.)?

@dododobetter dododobetter added the question Further information is requested label Jul 18, 2024
@amit-sharma
Copy link
Member

You can access the statsmodel estimator object from a CausalEstimate object.

sm_est = estimate.estimator.model
sm_est.summary()

and then use summary() method to get the stats.

Copy link

github-actions bot commented Aug 7, 2024

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the stale label Aug 7, 2024
Copy link

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants