Comments (3)
Thanks for the issue and kind words!
For a light wrapper around chisq.test()
that takes in tidy data, see the chisq_test()
function:
library(infer)
chisq_test(gss, college ~ finrela)
#> # A tibble: 1 × 3
#> statistic chisq_df p_value
#> <dbl> <int> <dbl>
#> 1 30.7 5 0.0000108
Created on 2023-04-26 with reprex v2.0.2
For randomization-based expected counts, see #462 (comment). :)
from infer.
Thanks Simon. I had found that functionality. Can you please reread the 2nd to last sentence of my issue? I am looking for the fisher's exact p-value and more importantly the expected sample size. Can my students get those values using {infer}
? I don't want to send them off to use the {stats}
functions?
from infer.
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.
from infer.
Related Issues (20)
- Residuals and expected cell counts for chi-square tests HOT 7
- issues with p-value shading HOT 1
- Variance/SD hypotesis test HOT 2
- deprecated use of `...` in `dplyr::across()` HOT 1
- hyperlink help-files in error messages HOT 1
- Tidy Chi-Squared Tests: support data that is already a contingency table HOT 3
- Grab other model attributes from `fit()` HOT 1
- `t_test` errors with variables with spaces in them HOT 2
- Upkeep for infer HOT 4
- `usethis::use_testthat(3)` and upgrade to 3e, testthat 3e vignette HOT 1
- ggplot 3.4.0 `size` aesthetic deprecation HOT 1
- vdiffr 1.0.0 `path` argument deprecation HOT 1
- `rep_slice_sample()` doesn't work with integer sampling weights HOT 6
- transition `*_glue()` machinery to cli HOT 1
- rep_col_shuffle()? HOT 3
- Permutation test for paired data HOT 12
- `specify()` not capable of tidyverse programming HOT 7
- prop_test() wrapper incorrectly computing the confidence interval for differences in percents. HOT 5
- Contrast matrices are not preserved HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infer.