SOCI 109 Lecture Notes - Lecture 7: Linear Regression, Stata, Random Variable

21 views2 pages
4 Jun 2020
School
Department
Course

Document Summary

1 n 1 x x ( sx y y ( sy. Spurious connections: a third variable may be accounting for the relationship. 0 - no correlation, -1 - negative correlation, 1 - positive correlation. In algebra, you might have learned this as y=mx+b (slope intercept formula) where b is the y intercept and m is the slope. As for regression: y is the dependent variable, x is the explanatory variable; a is the y intercept and b= the correlation coefficient * the sample std dev of y-values over the sample std dev of x-values. Calculates the best fitting line for the data by minimizing the space between the values on the y axis. Median does not get affected by the outlier. Excel: =round(norminv(rand(), sheet2 , sheet2 ),3) = give me a random variable on sheet 2 in these cells. Stata- ***everything is in lowercase unless you are relabeling*** Label define race 1 black 2 white 3 asian 4 aboriginal.

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