Create section for linear regression chapter consisting of:
Simulate a Y = a+bX + U where X is uniformly distributed (say sample size 500, or variable) and U is normally distributed with mean 0 and some variance. We run the model with the relevant plots again and the summary, but this time we adapt each variable (maybe on a slider?) to show its effect on significance (so p-value) and R^2. In particular it should make clear that significance depends on ratio of b to variance of U.
Create section for linear regression chapter consisting of:
Simulate a Y = a+bX + U where X is uniformly distributed (say sample size 500, or variable) and U is normally distributed with mean 0 and some variance. We run the model with the relevant plots again and the summary, but this time we adapt each variable (maybe on a slider?) to show its effect on significance (so p-value) and R^2. In particular it should make clear that significance depends on ratio of b to variance of U.