Skip to main content
Contents Index
Calc
Dark Mode Prev Up Next Scratch ActiveCode Profile
\(
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 13.9 Technology Detour β Simulating Random Assignment (two-way tables)
Simulation Steps.
Step 1: Simulate a random sample (number of successes for group 1) using the hypergeometric distribution
Step 2: Calculate the number of successes for group 2 (total successes β number of successes group 1)
Step 3: Convert the counts to proportions
Step 4: Calculate the difference in proportions, relative risk etc.
Keep in mind you can use "log" to calculate the natural logs of values. Also recall how you created a Boolean expression in Investigation 3.1 to find the p-value from the simulated results.
You have attempted
of
activities on this page.