diff --git a/404.html b/404.html index dabdd8fa..9c9a3de5 100644 --- a/404.html +++ b/404.html @@ -14,8 +14,8 @@ - - + + @@ -33,7 +33,7 @@ infer - 1.0.6 + 1.0.7
To calculate the p-value using the true \(F\) distribution, we can use the
Alternatively, using the Thus, if the true mean number of hours worked per week was really 40,
our approximation of the probability that we would see a test statistic
-as or more extreme than 41.382 is approximately 0.042. Analogously to the steps shown above, the package supplies a wrapper
function, Thus, if there were really no relationship between the number of
hours worked a week and whether one has a college degree, the
probability that we would see a statistic as or more extreme than 1.5384
-is approximately 0.272. Note that, similarly to the steps shown above, the package supplies a
wrapper function, For questions and discussions about tidymodels packages, modeling, and machine learning, please post on Posit Community. If you think you have encountered a bug, please submit an issue. Either way, learn how to create and share a reprex (a minimal, reproducible example), to clearly communicate about your code. Check out further details on contributing guidelines for tidymodels packages and how to get help. For questions and discussions about tidymodels packages, modeling, and machine learning, please post on Posit Community. If you think you have encountered a bug, please submit an issue. Either way, learn how to create and share a reprex (a minimal, reproducible example), to clearly communicate about your code. Check out further details on contributing guidelines for tidymodels packages and how to get help. As an example, we’ll run an analysis of variance on Calculating the observed statistic, Note that the formula and non-formula interfaces (i.e. Other resources are available in the package vignettes! See CRAN release: 2024-03-25 The aliases Addresses ggplot2 warnings when shading p-values for test statistics that are outside of the range of the generated distribution (#528). Fixed bug in CRAN release: 2024-01-31 Updated infrastructure for errors, warnings, and messages (#513). Most of these changes will not be visible to users, though: Setting the seed to the same value again and rerunning the same code
will produce the same result. Please keep this in mind when writing infer code that utilizes
resampling with pf
function from base R. This function allows us to situate
the test statistic we calculated previously in the \(F\) distribution with the appropriate
diff --git a/articles/anova_files/figure-html/plot-f-1.png b/articles/anova_files/figure-html/plot-f-1.png
index cf822e5c..add02862 100644
Binary files a/articles/anova_files/figure-html/plot-f-1.png and b/articles/anova_files/figure-html/plot-f-1.png differ
diff --git a/articles/anova_files/figure-html/visualize-f-1.png b/articles/anova_files/figure-html/visualize-f-1.png
index 890651ce..551af45e 100644
Binary files a/articles/anova_files/figure-html/visualize-f-1.png and b/articles/anova_files/figure-html/visualize-f-1.png differ
diff --git a/articles/anova_files/figure-html/visualize-f-theor-1.png b/articles/anova_files/figure-html/visualize-f-theor-1.png
index 00143aaa..b744b4f6 100644
Binary files a/articles/anova_files/figure-html/visualize-f-theor-1.png and b/articles/anova_files/figure-html/visualize-f-theor-1.png differ
diff --git a/articles/anova_files/figure-html/visualize-indep-both-1.png b/articles/anova_files/figure-html/visualize-indep-both-1.png
index 859792c1..b3358980 100644
Binary files a/articles/anova_files/figure-html/visualize-indep-both-1.png and b/articles/anova_files/figure-html/visualize-indep-both-1.png differ
diff --git a/articles/chi_squared.html b/articles/chi_squared.html
index bed62f6b..afd55808 100644
--- a/articles/chi_squared.html
+++ b/articles/chi_squared.html
@@ -15,8 +15,8 @@
-
-
+
+
@@ -35,7 +35,7 @@
infer
- 1.0.6
+ 1.0.7
One numerical variable (mean)## # A tibble: 1 × 1
## p_value
## <dbl>
-## 1 0.05
+## 1 0.048
One numerical variable (standardized mean \(t\))
@@ -228,7 +228,7 @@
One numerical variable (stan
+## 1 0.032
## # A tibble: 1 × 1
## p_value
## <dbl>
-## 1 0.038
t_test
wrapper:
+## 1 0.012
gss %>%
@@ -274,7 +274,7 @@
One numerical variable (median)## # A tibble: 1 × 1
## p_value
## <dbl>
-## 1 0.006
One numerical variable (paired)
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-100-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-100-1.png
index 86e4f1a9..bbbdc5f7 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-100-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-100-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-101-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-101-1.png
index 00143aaa..b744b4f6 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-101-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-101-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-102-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-102-1.png
index 49474008..6a3e38ce 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-102-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-102-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-107-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-107-1.png
index bde5ee3d..a567db07 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-107-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-107-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-11-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-11-1.png
index e03e7339..9264b77e 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-11-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-11-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-112-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-112-1.png
index 49d68cb8..b75c304a 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-112-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-112-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-117-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-117-1.png
index d236886c..f0e95dfe 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-117-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-117-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-12-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-12-1.png
index 27e972d2..5741af54 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-12-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-12-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-123-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-123-1.png
index e1d6da50..452a4cc2 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-123-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-123-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-124-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-124-1.png
index dc904bd3..aa6876cf 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-124-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-124-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-126-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-126-1.png
index 42610ea3..0431b187 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-126-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-126-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-13-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-13-1.png
index 223f51b3..d14bb58e 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-13-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-13-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-131-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-131-1.png
index a2cb8b5c..918d67f8 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-131-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-131-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-132-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-132-1.png
index 1db3c2d1..4ad245b7 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-132-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-132-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-137-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-137-1.png
index 42ee2e2c..25b4fea4 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-137-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-137-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-138-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-138-1.png
index d0c827ec..0e0ea9da 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-138-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-138-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-140-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-140-1.png
index a700674e..9faedddf 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-140-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-140-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-145-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-145-1.png
index 19aeea4c..e7a072b3 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-145-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-145-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-146-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-146-1.png
index cfd37f0c..03f5a8a5 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-146-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-146-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-148-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-148-1.png
index a8387868..a34a89ec 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-148-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-148-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-153-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-153-1.png
index 04101cae..0db03dfc 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-153-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-153-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-154-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-154-1.png
index 8b1e5ca1..9e284a1f 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-154-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-154-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-159-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-159-1.png
index c6a43ab5..7de0e10c 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-159-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-159-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-160-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-160-1.png
index e631fe2a..34b93ec3 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-160-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-160-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-165-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-165-1.png
index 38684f1c..7954087c 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-165-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-165-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-166-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-166-1.png
index ef8c0015..62a8d278 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-166-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-166-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-168-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-168-1.png
index ea85ae45..db85b3c4 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-168-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-168-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-173-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-173-1.png
index 4cc05a01..23b7df44 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-173-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-173-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-174-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-174-1.png
index 095d4625..1be8c525 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-174-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-174-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-179-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-179-1.png
index 26a781fd..535d495a 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-179-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-179-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-180-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-180-1.png
index 0016ce3e..9dd225c0 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-180-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-180-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-185-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-185-1.png
index d1d21b9a..be3424f8 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-185-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-185-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-186-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-186-1.png
index 9feaa2e6..19662f05 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-186-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-186-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-19-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-19-1.png
index 0ce451ad..0bb8e901 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-19-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-19-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-190-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-190-1.png
index 679a8987..1a50d4ec 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-190-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-190-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-25-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-25-1.png
index b3d3004a..3cf29704 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-25-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-25-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-30-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-30-1.png
index dd7088b7..f89e69bc 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-30-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-30-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-36-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-36-1.png
index 0e4c7009..62cbaaff 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-36-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-36-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-41-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-41-1.png
index 1c435cd3..f722c493 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-41-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-41-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-46-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-46-1.png
index 31a52338..88f3d1b7 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-46-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-46-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-5-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-5-1.png
index 3ad6242e..5b6d424d 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-5-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-5-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-50-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-50-1.png
index 11d995d9..14b7e418 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-50-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-50-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-56-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-56-1.png
index 7aaf0796..b9ed9be4 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-56-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-56-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-57-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-57-1.png
index d4621629..59d326f3 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-57-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-57-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-58-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-58-1.png
index 5a98c90e..f4e37c46 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-58-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-58-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-64-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-64-1.png
index 40a1e675..91343811 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-64-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-64-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-65-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-65-1.png
index 9ae4120a..800ad928 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-65-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-65-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-66-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-66-1.png
index 9ae4120a..800ad928 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-66-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-66-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-73-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-73-1.png
index afcf2648..5b41952b 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-73-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-73-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-74-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-74-1.png
index e6d665da..78464d57 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-74-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-74-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-75-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-75-1.png
index 4346fb64..5b5ec8a2 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-75-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-75-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-81-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-81-1.png
index ed7b25eb..25c60be8 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-81-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-81-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-87-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-87-1.png
index 61439592..2bf1337b 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-87-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-87-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-88-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-88-1.png
index 948dd82f..05cb432e 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-88-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-88-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-89-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-89-1.png
index 3477f5dd..43b5e641 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-89-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-89-1.png differ
diff --git a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-94-1.png b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-94-1.png
index c7f29727..16beece2 100644
Binary files a/articles/observed_stat_examples_files/figure-html/unnamed-chunk-94-1.png and b/articles/observed_stat_examples_files/figure-html/unnamed-chunk-94-1.png differ
diff --git a/articles/paired.html b/articles/paired.html
index 88fd9a17..8bb16981 100644
--- a/articles/paired.html
+++ b/articles/paired.html
@@ -15,8 +15,8 @@
-
-
+
+
@@ -35,7 +35,7 @@
infer
- 1.0.6
+ 1.0.7
1-Sample t-Test
## # A tibble: 1 × 1
## p_value
## <dbl>
-## 1 0.042
+## 1 0.036
t_test
, to carry out 1-sample \(t\)-tests on tidy data. Rather than using
randomization, the wrappers carry out the theory-based \(t\)-test. The syntax looks like this:2-Sample t-Test
## # A tibble: 1 × 1
## p_value
## <dbl>
-## 1 0.272
+## 1 0.268
t_test
, to carry out 2-sample \(t\)-tests on tidy data. The syntax looks
like this:Contributingcontributing and conduct guidelines. By participating in this project you agree to abide by its terms.
-
Examples
@@ -143,18 +143,18 @@
Examples
# take a glimpse at it
str(gss)
## tibble [500 × 11] (S3: tbl_df/tbl/data.frame)
-## $ year : num [1:500] 2014 1994 1998 1996 1994 ...
-## $ age : num [1:500] 36 34 24 42 31 32 48 36 30 33 ...
-## $ sex : Factor w/ 2 levels "male","female": 1 2 1 1 1 2 2 2 2 2 ...
-## $ college: Factor w/ 2 levels "no degree","degree": 2 1 2 1 2 1 1 2 2 1 ...
-## $ partyid: Factor w/ 5 levels "dem","ind","rep",..: 2 3 2 2 3 3 1 2 3 1 ...
-## $ hompop : num [1:500] 3 4 1 4 2 4 2 1 5 2 ...
-## $ hours : num [1:500] 50 31 40 40 40 53 32 20 40 40 ...
-## $ income : Ord.factor w/ 12 levels "lt $1000"<"$1000 to 2999"<..: 12 11 12 12 12 12 12 12 12 10 ...
-## $ class : Factor w/ 6 levels "lower class",..: 3 2 2 2 3 3 2 3 3 2 ...
-## $ finrela: Factor w/ 6 levels "far below average",..: 2 2 2 4 4 3 2 4 3 1 ...
-## $ weight : num [1:500] 0.896 1.083 0.55 1.086 1.083 ...
## tibble [500 × 11] (S3: tbl_df/tbl/data.frame)
+## $ year : num [1:500] 2014 1994 1998 1996 1994 ...
+## $ age : num [1:500] 36 34 24 42 31 32 48 36 30 33 ...
+## $ sex : Factor w/ 2 levels "male","female": 1 2 1 1 1 2 2 2 2 2 ...
+## $ college: Factor w/ 2 levels "no degree","degree": 2 1 2 1 2 1 1 2 2 1 ...
+## $ partyid: Factor w/ 5 levels "dem","ind","rep",..: 2 3 2 2 3 3 1 2 3 1 ...
+## $ hompop : num [1:500] 3 4 1 4 2 4 2 1 5 2 ...
+## $ hours : num [1:500] 50 31 40 40 40 53 32 20 40 40 ...
+## $ income : Ord.factor w/ 12 levels "lt $1000"<"$1000 to 2999"<..: 12 11 12 12 12 12 12 12 12 10 ...
+## $ class : Factor w/ 6 levels "lower class",..: 3 2 2 2 3 3 2 3 3 2 ...
+## $ finrela: Factor w/ 6 levels "far below average",..: 2 2 2 4 4 3 2 4 3 1 ...
+## $ weight : num [1:500] 0.896 1.083 0.55 1.086 1.083 ...
age
and partyid
, testing whether the age of a respondent is independent of their political party affiliation.## # A tibble: 1 × 1
-## p_value
-## <dbl>
-## 1 0.06
age ~ partyid
vs. response = age, explanatory = partyid
) work for all implemented inference procedures in infer
. Use whatever is more natural for you. If you will be doing modeling using functions like lm()
and glm()
, though, we recommend you begin to use the formula y ~ x
notation as soon as possible.vignette("observed_stat_examples")
for more examples like the one above, and vignette("infer")
for discussion of the underlying principles of the package design.infer v1.0.6
+infer 1.0.7
p_value()
and conf_int()
, first deprecated 6 years ago, now return an error (#530).shade_p_value()
and shade_confidence_interval()
where fill = NULL
was ignored when it was documented as preventing any shading (#525).infer v1.0.6
Examples "above average" = 1/6,
"far above average" = 1/6,
"DK" = 1/6))
-#> Warning: The chisq_stat() wrapper has been deprecated in favor of the more general observe(). Please use that function instead.
#> X-squared
#> 487.984
diff --git a/reference/chisq_test.html b/reference/chisq_test.html
index d0ff4507..6a5d363c 100644
--- a/reference/chisq_test.html
+++ b/reference/chisq_test.html
@@ -1,6 +1,6 @@
Reproducibility hypothesize(null = "independence") %>%
generate(reps = 5, type = "permute") %>%
calculate("diff in means", order = c("degree", "no degree"))
## Response: age (numeric)
-## Explanatory: college (factor)
-## Null Hypothesis: independence
-## # A tibble: 5 x 2
-## replicate stat
-## <int> <dbl>
-## 1 1 -0.531
-## 2 2 -2.35
-## 3 3 0.764
-## 4 4 0.280
-## 5 5 0.350
## Response: age (numeric)
+## Explanatory: college (factor)
+## Null Hypothesis: independence
+## # A tibble: 5 x 2
+## replicate stat
+## <int> <dbl>
+## 1 1 -0.531
+## 2 2 -2.35
+## 3 3 0.764
+## 4 4 0.280
+## 5 5 0.350
# set the seed
@@ -206,17 +206,17 @@
Reproducibility hypothesize(null = "independence") %>%
generate(reps = 5, type = "permute") %>%
calculate("diff in means", order = c("degree", "no degree"))
## Response: age (numeric)
-## Explanatory: college (factor)
-## Null Hypothesis: independence
-## # A tibble: 5 x 2
-## replicate stat
-## <int> <dbl>
-## 1 1 -0.531
-## 2 2 -2.35
-## 3 3 0.764
-## 4 4 0.280
-## 5 5 0.350
## Response: age (numeric)
+## Explanatory: college (factor)
+## Null Hypothesis: independence
+## # A tibble: 5 x 2
+## replicate stat
+## <int> <dbl>
+## 1 1 -0.531
+## 2 2 -2.35
+## 3 3 0.764
+## 4 4 0.280
+## 5 5 0.350
generate()
.