Home Work 1

22nd March 2026

This is our second homework assignment for this season where you will address the following questions and submit your GitHub link containing either a Jupyter Notebook or a Python file

Question 1:

A researcher sets α = 0.01 instead of 0.05 for a medical study. How does this affect Type I error? Type II error? Power? Explain the trade-off in plain language.

Question 2:

Simulate 500 one-sample t-tests where H₀ is actually true (μ = μ₀). What fraction of tests falsely reject H₀ at α = 0.05? What does this confirm about Type I error?

———————————————— Happy Learning —————————————————–