Statistics and Statistical Programming (Fall 2020)/pset7

From CommunityData


Programming challenges

Import and update data

Summarize and visualize data

Calculate covariance and correlation

Fit and summarize a linear model

Assess the model fit

Calculate confidence interval for a coefficient

Calculate an out-of-sample prediction interval

Statistical questions

Interpret the results

Disambiguate: correlation vs. covariance vs. OLS estimate

Identify threats to validity of estimates

Interpret prediction

Brainstorm confounds & alternative explanations

Revisit (vaguely stated) theory