Quantitative Analysis Flashcards
Sample covariance (cov)
∑(x-xbar)(y-ybar) / n-1
Sample correlation coefficient (r)
Cov(x,y) / (Sx)(Sy)
S = Standard Deviation
Limitations of Correlation Analysis
- Linear relationships (not quadratic)
- Outliers (news vs. noise)
- Not causation
- Spurious (Chance, mixed third variables)
Two-tailed “t-test” with n-2 degrees of freedom to tell if population correlation is 0 or not 0
t = r√n-2 / √1-r^2
Decision rule for two-tailed test
Reject H0 if
- t-stat > +ve tc (Positive critical value)
- t-stat < -ve tc (Negative critical value)
- t-stat > |Tc|
|Tc| = T critical value
Dependent Variable (which axis and description)
- Y-axis
2. Seeking to explain or predict the Y variable
Independent Variable (which axis and description)
- X-axis
2. Used to explain or predict the Y or dependent variable
Regression Model Equation
Yi = b0 + b1Xi+Ei
- i = 1,…,n
- This uses the estimates of Y (includes a carot above the Y and b)
Some of Squared Errors (SSE)
∑(Yi - Yi~ or (b0+b1Xi))^2
Calculation for b1
b1 = Cov(X,Y) / Var (X)
Calculation for b0
b0 = Yaverage - b1(Xaverage)
The midpoint of a regression series
= (Xbar, Ybar)
1. will be plotted on the regression line
Standard Deviation
= ∑√(xi - xbar)^2 / n-1
Steps for calculating correlation coefficient
- calculate sum and mean of each variable
- Calculate cross product of (xi-xbar)(yi-ybar) for each variable (by row)
- Calculate squared deviation for each variable (by row)
Regression Line Equation
Yi~ = b0~+b1~Xi
~ = ‘hat’ or estimate of these variables