
Lab 5
            Duke University 
 STA 199 Spring 2025
          
2025-03-17


# A tibble: 2 × 5
  term        estimate std.error statistic  p.value
  <chr>          <dbl>     <dbl>     <dbl>    <dbl>
1 (Intercept)    37.3      1.88      19.9  8.24e-19
2 wt             -5.34     0.559     -9.56 1.29e-10\[ \widehat{mpg}=37.3 - 5.34\times weight. \]
Interpretations

You can use the fitted model to generate predictions for yet-to-be-observed subjects:
This is a hotly debated question in economics and public policy;
ECON 101 logic says that it might: if you make something more expensive (employing people), people do less of it.
What do the actual data say?
In 1992, NJ raised minimum wage. PA did not;
Fast-food restaurants along the NJ/PA border are probably very similar. Maybe the only difference is the change in wage policy;
So PA is like control and NJ is like the treatment;
If we compare employment before and after the policy change, maybe we can give the observed differences a causal interpretation. The increase in minimum wage caused employment to go up, down, or stay the same;
This is called a natural experiment. It’s a kind of observational study where you get very lucky and “nature” does the experimental control for you.
