Exercise: Power simulation and power curves for t-test
================

## Directed reading activities

Plan a replication of the “directed reading activities” study on
<https://jasp-stats.github.io/jasp-data-library/myChapters/chapter_2.html>

1.  Which parameter value represents the minimum relevant effect that
    the test should be able to detect? How large should this effect be?
    Briefly say what it means in the context of the study.

2.  What would be a plausible value for the standard deviation?

3.  Simulate and draw power curves that depend on the effect size and
    $n$. Use at least five different effect sizes and at least four
    different sample sizes. The minimum relevant effect size should be
    among the simulation conditions.

4.  From inspecting the power curves, what $n$ in each group is required
    to detect the minimum relevant effect with at least 80% power?

5.  Create a renderable R script or an R Markdown file that includes

    - a header with title, author, date
    - at least one section head line
    - the homework questions and your answers
    - the simulation code and output
    - the plot of the power curves.

    Render the R or Rmd file to HTML.
