Simulation-Based Inference
Explore how to perform simulation-based hypothesis testing for a regression slope using R's infer package. Understand null hypothesis assumptions, generate permuted samples to create null distributions, and interpret p-values to assess relationships between variables in regression analysis.
We'll cover the following...
We'll cover the following...
Hypothesis test for a slope
Let’s now conduct a hypothesis test of infer package, which follows the hypothesis testing paradigm in the diagram below.
Let’s first think about what it means for