You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
None
<html lang="en">
<head>
</head>
</html>
Example 3: Bootstrap intuition - Mean vs Median¶
Students tasks
Task A : Descriptive stats (Population=500,000)¶
- Compute and report: mean, median, SD, IQR, five-number
- Plot (histogram and boxplot)
- Identify outlier using the 1.5IQR rule
Task B: Sampling variability¶
- using the provided population, run repeated samplings for n=30, 50,100
- Plot the sampling distribution (3 histograms)
- Make a table with the empirical standard error (SD) vs n size
Task C: Bootstrap mean vs median¶
- Bootstrap (resample with replacement from data) the mean and median (B=5000) for dataset with outliers (*)
- Plot both bootstrap distributions
- Compute 95% percentils CIs for the mean and median
- Repeat after removing the the outliers and compare:
- Which statistics changes more (mean or median)?
- Which bootstrap distribution is wider, and why?
- Texto