-
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
success argument in prop_test() #347
Comments
It seems to be the same functionality as added in #344. Am I missing something here? |
Sorry, I didn't have the |
@echasnovski @simonpcouch Should we also update the example to include the new # one-sample proportion test for hypothesized null
# proportion of college completion of .2
prop_test(gss,
college ~ NULL,
success = "degree",
p = .2) |
I know that |
This also would help null_distn_theoretical <- gss %>%
specify(college ~ sex, success = "no degree") %>%
hypothesize(null = "independence") %>%
calculate(stat = "z", order = c("female", "male")) |
I'm on board for both of your suggestions, I think! Working on finals at the moment, so will need a few days, but glad to spend some time with this. |
Of course! No rush |
Closing in favor of #353. :-) |
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. |
Reviewing https://infer.tidymodels.org/reference/prop_test.html, it strikes me that {infer} should probably have a
success
argument forprop_test()
if testing a point estimate in much the same way thatorder
exists in the two sample case. In thegss
data below, the unique values ofcollege
are"degree"
or"no degree"
and it seems that"degree"
is specified as asuccess
here (maybe internally toprop.test()
?), but to a beginner that wouldn't necessarily be apparent.The text was updated successfully, but these errors were encountered: