Regressions

Below are Stata commands for correlation and regressions.

Correlation

Regression

Visualization using margins

Previous