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

Feature request - 95% CI for slopes in graphs #94

Closed
Trebicky opened this issue Sep 17, 2019 · 1 comment
Closed

Feature request - 95% CI for slopes in graphs #94

Trebicky opened this issue Sep 17, 2019 · 1 comment

Comments

@Trebicky
Copy link

Hi,
I really like GAMLj and its features and I am always happy to use it. But there is one feature, in regards to graphs plotting, that would be a great asset.

When plotting graphs, there is an option to display CIs, however, there are no CIs plotted for slopes... Would it be possible to plot CI bands (in the same fashion as one would see in case of plotting regression line and it CI in scatter plots) for slopes too? It would make it very easy to interpret the resulting models.

So far I am using homebrewed R script to draw them, which is a bit too much clumsy solution. Please, see an example of what I mean below.

Dots indicate the mean, error bars represent the 95% CI of the mean values, semi-transparent bow-tie areas indicate the 95% CI of the fixed effect of the difference.
Slope CI

@mcfanda
Copy link
Collaborator

mcfanda commented Sep 18, 2019

Hi, thanks for the suggestion. I'm not sure, however, if this feature would really help. In gamlj plots you get the CI of the predicted values, thus you get the confidence bands for continuous IV and the CI for the categorical ones. How would you interpret the semi-transparent bow-tie areas you plotted? They do not seem to share the the plot metric? In particular, what does it mean that the area is null in the middle of the plot?

@mcfanda mcfanda closed this as completed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants