-
Notifications
You must be signed in to change notification settings - Fork 80
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
CI for slope #26
Comments
Hmm, are you thinking CIs on E(Y|X) or on B1? If the latter, yes, it's no problem to set up the bootstrap. I've added that to the README as the final use case to build out. In terms of the parameterization of
For the permutation test on the slope, the former strikes me as a more apt description of the null since permutation implies that the slope is 0 and that the intercept is y_bar - a bit stronger hypothesis than simply that the slope is 0. It's a similar argument to whether the null in the diff in means case should be "independence" or that the means are equivalent. I think the former is more appropriate there since, under permutation, all sorts of summary stats are equivalent, not just the means. Does this make sense? |
I hadn't thought about (or noticed) the null being |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
@andrewpbray
I'm doing CIs for the linear model case. Can that option also be implemented in
infer
?Also, I don't know if you were asking for advice for the linear model hypothesize function, But I prefer "slope=0". That way, the ideas are easier to generalize to multivariate models. I'm also not opposed to having both options be possible as hypothesize arguments.
The text was updated successfully, but these errors were encountered: