SMPA 2151 Lecture Notes - Lecture 10: Dependent And Independent Variables

35 views2 pages

Document Summary

We"ve used regression so far to talk mostly about associations and relationships between variables. We can also use regressions to estimate the effects of an experiment -- meaning we can move beyond associations and relationships. We can use regressions to show the effect that x has on y. If we have multiple treatments, we can compare the effectiveness of each treatment. Each treatment is represented with a binary variable, indicating whether people saw/were exposed to that treatment or not. We can then do this with as many treatments as we have. We then regress our dependent variable of interest on the treatment variables. The r code would look like this: modelname

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions