Skip to content

Significance and R-squared through simulation #45

Description

@smarlene

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    linear regressionIssue relating to linear regression chapter

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions