Presentation is loading. Please wait.

Presentation is loading. Please wait.

Welcome to Econ 420 Applied Regression Analysis Study Guide Week Eight.

Similar presentations


Presentation on theme: "Welcome to Econ 420 Applied Regression Analysis Study Guide Week Eight."— Presentation transcript:

1 Welcome to Econ 420 Applied Regression Analysis Study Guide Week Eight

2 Answer Key Assignment 6 (20 points) 1.Suppose the theory suggests that advertising for sun blocks is more effective in summer than any other time of the year –Formulate the model Sales = B0 + B1 (Season) + B2 (Advertising) + error –What type of a data set will you use: time series or cross sectional? Time series –Set up a hypothesis to test the theory –The hypothesis of one sided t-test of significance on the coefficient of Season is like: H0: B1 ≤ 0 HA: B1 > 0 If we reject H0, then we have found significant evidence that advertising for sun blocks is more effective in summer than any other time of the year.

3 2. Suppose we estimate a regression equation that sets the crime rate as a function of a state’s per capita income and the number of police officers in each state per 10,000 population. The estimated coefficient of per capita income happens to be positive. We suspect that the estimated coefficient of per capita income is biased positively because we have an omitted variable. Which of the following omitted variables is more likely to have caused the bias in our estimated coefficient of income and why? –Number of college educated individuals per 1000 population –Percentage of population living in poverty –State’s unemployment rate –Percentage of population who lives in urban areas.

4 Answer Direction of bias in B percapita income = B omitted * r included, omitted Since B percapita income >0 Then there are two possibilities (+) = (-) * (-), or (+) = (+) * (+) 1.Number of college educated individuals per 1000 population can’t be it because it is positively correlated with percapita income but it is expected to affect the crime rate negatively –Percentage of population living in poverty cant’ be it because it is negatively correlated with percapita income but it is expected to affect the crime rate positively. –State’s unemployment rate can’t be it because it is negatively correlated with percapita income but it is expected to affect the crime rate positively. –Percentage of population who lives in urban areas can be it because it is positively correlated with percapita income and it is expected to affect the crime rate positively.

5 Interaction Variables Suppose that the theory suggests that advertising is more effective for new products than for old products. Sales = B o + B 1 (adv) + B 2 (adv * age) + error Where (adv * age) is an interaction variable

6 Partial derivate of sales with respect to advertising is –d sales /d adv = B 1 + B 2 * age –Which mean that the advertising affects sales depends on the age –To find evidence for theory we should find that B 2 is negative How do we set up our hypotheses to test the theory?

7 Designing your own F test Your model: Y = B o + B 1 X 1 + B 2 X 2 + B 3 X 3 + B 4 X4 + e H o : B 2 = B 4 = 0 H A : at least one is not zero

8 Designing your own F test 1.Estimate the model with X 1 through X 4 in it (This is your unrestricted model.)  find RSS 2.Estimate the model with only X 1 and X 3 in it (This is you restricted model)  find RSS Which RSS you expect to be higher? Why?

9 Designing your own F test 3. Find the critical F –Degrees of freedom for numerator = q = number of restrictions –Degrees of freedom for denominator =n-k-1 (k is the number of independent variables in the unrestricted model) 4.Find F stat = (RSS restricted – RSS unrestricted )/ q divided by RSS unresrticted / n-k-1 5. If F stat > F critical  reject H o

10

11 Chow Test Suppose you want to study the relationship between hours of study and grades and you have two samples 1.100 MC students 2.50 Washington State College You want to see if it is a good idea to combine the two samples

12 Chow Test Estimate (1) GPA = B o + B 1 Study + B 2 SAT + B 3 Sleep +e (for MC, sample n 1 = 100) (2) GPA = B o + B 1 Study + B 2 SAT + B 3 Sleep +e (for WS, sample n 2 = 50) (3) GPA = B o + B 1 Study + B 2 SAT + B 3 Sleep +e (for MC & WS, sample n 1 + n 2 = 150)

13 Hypotheses H O : There is no significant difference between Bs from equation 1 and Bs from equation 2 H A : H o is not true Same F test as before –RSS restricted is the RSS from equation 3 –q = number of restrictions = 4 (k +1 in equation 1 or 2) –RSS unrestricted = RSS 1 +RSS 2 –n- k-1 = n 1 + n 2 – 2 (k+1)= 150-8

14 Non-linear models The theory suggest that as Q (quantity of out put) increases, TR (producer’s total revenue) first goes up and then goes down.

15 fig TR Quantity TR TR curve

16 Would this equation capture the theoretical shape of TR curve? TR = B 0 + B 1 Q + error d TR/d Q = B 1 No, B 1 can be either positive or negative but not both.

17 How about this model? TR = B 0 + B 1 Q 2 + error d TR /d Q = 2B 1 Q No, Q is either 0 or positive. So, depending on B1, the slope is either positive or negative but not both

18 How about this one? TR = B 0 + B 1 Q + B 2 Q 2 + e dTR/d Q = B 1 + 2 B 2 Q When Q is zero  slope is B 1 –So we expect B 1 to be positive We expect B 2 to be negative –At high levels of Q, the negative component of the slope (2B 2 Q) will greater that the positive component of the slope (B 1 ) How do you set up the null and alternative hypotheses?

19 Double log Models Suppose your goal is to estimate the price elasticity of demand (E) E =% change in Q d divided by % change in Price ln Q d = B 0 + B 1 ln P + e d ln Q d / d ln P = B 1 = E

20 Semi Log Models Suppose you want to estimate the percentage growth in a plant as a result of 1 more teaspoon of fertilizer ln Size= B 0 + B 1 Fertilizer dlnSize/ d Fertilizer = B 1

21 Assignment 7 (40 points) Due: Before 10 PM on Friday October 19 1.#4, page 112 2.#5, page 112 3.Use the data set dvd4 and EViews to test the hypothesis that at high levels of income people are less sensitive to the price of dvd than at low levels of income. Use 5 percent level of significance. #13, page 113


Download ppt "Welcome to Econ 420 Applied Regression Analysis Study Guide Week Eight."

Similar presentations


Ads by Google