开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

YI YU · 2024年05月24日

F 检验

NO.PZ2020010801000025

问题如下:

A model was estimated using daily data from the S&P 500 from 1977 until 2017 which included five day-of-the-week dummies (n = 10,087). The R2R^2 from this regression was 0.000599. Is there evidence that the mean varies with the day of the week?

选项:

解释:

The model estimated is

Yi=β1D1+β2D2+β3D3+β4D4+β5D5+ϵiY_i = \beta_1D_1 + \beta_2D_2 + \beta_3D_3 + \beta_4D_4 + \beta_5D_5 + \epsilon_i,

where Di is a dummy that takes the value 1 if the index of the weekday is i (e.g., Monday = 1, Tuesday = 2, c). The restriction is that

H0:β1=β2=β3=β4=β5H_0:\beta_1 = \beta_2 = \beta_3 = \beta_4 = \beta_5

so there this is no day-of-the-week effect. This model can be equivalently written as

Yi=μ+δ2D2+δ3D3+δ4D4+δ5D5+ϵiY_i = \mu + \delta_2D_2 + \delta_3D_3 + \delta_4D_4 + \delta_5D_5 + \epsilon_i,

therefore, here the null is

H0:δ2=δ3=δ4=δ5H_0:\delta_2 = \delta_3 = \delta_4 = \delta_5.

In the two models, μ=β1\mu = \beta_1, and μ+δi=βi\mu + \delta_i = \beta_i. The second form of the model is a more standard null for an F-stat.

The F-stat of the regression is

(R20)/4(1R2)/(n5)=0.000599/4(10.000599)/(100875)=1.51\frac{(R^2-0)/4}{(1-R^2)/(n-5)}=\frac{0.000599/4}{(1-0.000599)/(10087-5)}=1.51

The distribution is an F4,10082F_{4,10082} and the critical value using a 5% size is 2.37. The test statistic is less than the critical value, therefore, the null that all effects are 0 is not rejected.

请问一下F检验分子不是应该等于(Unrestricted R 2 - Restricted R2)/q 吗。题目说了unrestricted R2但并没有说restricted R2是多少。为什么公式里面直接就把restricted R2 忽略掉了呢

1 个答案

李坏_品职助教 · 2024年05月24日

嗨,爱思考的PZer你好:


本题用的是F检验的下面那个公式:

注意,restriced model是没有任何哑变量的,只剩下常数项:

对于这样一个只包含常数项的模型,没有任何的自变量,所以restricted R^2 = 0.


----------------------------------------------
虽然现在很辛苦,但努力过的感觉真的很好,加油!

  • 1

    回答
  • 0

    关注
  • 156

    浏览
相关问题

NO.PZ2020010801000025 问题如下 A mol westimateusing ily ta from the S P 500 from 1977 until 2017 whiinclufive y-of-the-week mmies (n = 10,087). The R2R^2R2 from this regression w0.000599. Is there evinththe mevaries with the y of the week? The mol estimateis Yi=β1+β2+β3+β4+β5+ϵiY_i = \beta_11 + \beta_22 + \beta_33 + \beta_44 + \beta_55 + \epsilon_iYi​=β1​​+β2​​+β3​​+β4​​+β5​​+ϵi​, where is a mmy thtakes the value 1 if the inx of the weeky is i (e.g., Mony = 1, Tuesy = 2, c). The restriction is thH0:β1=β2=β3=β4=β5H_0:\beta_1 = \beta_2 = \beta_3 = \beta_4 = \beta_5H0​:β1​=β2​=β3​=β4​=β5​ so there this is no y-of-the-week effect. This mol cequivalently written Yi=μ+δ2+δ3+δ4+δ5+ϵiY_i = \mu + \lta_22 + \lta_33 + \lta_44 + \lta_55 + \epsilon_iYi​=μ+δ2​​+δ3​​+δ4​​+δ5​​+ϵi​, therefore, here the null is H0:δ2=δ3=δ4=δ5H_0:\lta_2 = \lta_3 = \lta_4 = \lta_5H0​:δ2​=δ3​=δ4​=δ5​. In the two mols, μ=β1\mu = \beta_1μ=β1​, anμ+δi=βi\mu + \lta_i = \beta_iμ+δi​=βi​. The seconform of the mol is a more stanrnull for F-stat. The F-stof the regression is(R2−0)/4(1−R2)/(n−5)=0.000599/4(1−0.000599)/(10087−5)=1.51\frac{(R^2-0)/4}{(1-R^2)/(n-5)}=\frac{0.000599/4}{(1-0.000599)/(10087-5)}=1.51(1−R2)/(n−5)(R2−0)/4​=(1−0.000599)/(10087−5)0.000599/4​=1.51The stribution is F4,10082F_{4,10082}F4,10082​ anthe criticvalue using a 5% size is 2.37. The test statistic is less ththe criticvalue, therefore, the null thall effects are 0 is not rejecte 请问第二个公式是怎么推导出来的?为什么少了一个regressor

2024-05-21 15:27 3 · 回答

NO.PZ2020010801000025问题如下A mol westimateusing ily ta from the S P 500 from 1977 until 2017 whiinclufive y-of-the-week mmies (n = 10,087). The R2R^2R2 from this regression w0.000599. Is there evinththe mevaries with the y of the week?The mol estimateis Yi=β1+β2+β3+β4+β5+ϵiY_i = \beta_11 + \beta_22 + \beta_33 + \beta_44 + \beta_55 + \epsilon_iYi​=β1​​+β2​​+β3​​+β4​​+β5​​+ϵi​, where is a mmy thtakes the value 1 if the inx of the weeky is i (e.g., Mony = 1, Tuesy = 2, c). The restriction is thH0:β1=β2=β3=β4=β5H_0:\beta_1 = \beta_2 = \beta_3 = \beta_4 = \beta_5H0​:β1​=β2​=β3​=β4​=β5​ so there this is no y-of-the-week effect. This mol cequivalently written Yi=μ+δ2+δ3+δ4+δ5+ϵiY_i = \mu + \lta_22 + \lta_33 + \lta_44 + \lta_55 + \epsilon_iYi​=μ+δ2​​+δ3​​+δ4​​+δ5​​+ϵi​, therefore, here the null is H0:δ2=δ3=δ4=δ5H_0:\lta_2 = \lta_3 = \lta_4 = \lta_5H0​:δ2​=δ3​=δ4​=δ5​. In the two mols, μ=β1\mu = \beta_1μ=β1​, anμ+δi=βi\mu + \lta_i = \beta_iμ+δi​=βi​. The seconform of the mol is a more stanrnull for F-stat. The F-stof the regression is(R2−0)/4(1−R2)/(n−5)=0.000599/4(1−0.000599)/(10087−5)=1.51\frac{(R^2-0)/4}{(1-R^2)/(n-5)}=\frac{0.000599/4}{(1-0.000599)/(10087-5)}=1.51(1−R2)/(n−5)(R2−0)/4​=(1−0.000599)/(10087−5)0.000599/4​=1.51The stribution is F4,10082F_{4,10082}F4,10082​ anthe criticvalue using a 5% size is 2.37. The test statistic is less ththe criticvalue, therefore, the null thall effects are 0 is not rejecte在unrestricte设中没有常量,有5个variables,那么在最后一问中n-ku-1为什么不是n-5-1而是n-5呢?

2023-09-05 17:44 1 · 回答

NO.PZ2020010801000025 问题如下 A mol westimateusing ily ta from the S P 500 from 1977 until 2017 whiinclufive y-of-the-week mmies (n = 10,087). The R2R^2R2 from this regression w0.000599. Is there evinththe mevaries with the y of the week? The mol estimateis Yi=β1+β2+β3+β4+β5+ϵiY_i = \beta_11 + \beta_22 + \beta_33 + \beta_44 + \beta_55 + \epsilon_iYi​=β1​​+β2​​+β3​​+β4​​+β5​​+ϵi​, where is a mmy thtakes the value 1 if the inx of the weeky is i (e.g., Mony = 1, Tuesy = 2, c). The restriction is thH0:β1=β2=β3=β4=β5H_0:\beta_1 = \beta_2 = \beta_3 = \beta_4 = \beta_5H0​:β1​=β2​=β3​=β4​=β5​ so there this is no y-of-the-week effect. This mol cequivalently written Yi=μ+δ2+δ3+δ4+δ5+ϵiY_i = \mu + \lta_22 + \lta_33 + \lta_44 + \lta_55 + \epsilon_iYi​=μ+δ2​​+δ3​​+δ4​​+δ5​​+ϵi​, therefore, here the null is H0:δ2=δ3=δ4=δ5H_0:\lta_2 = \lta_3 = \lta_4 = \lta_5H0​:δ2​=δ3​=δ4​=δ5​. In the two mols, μ=β1\mu = \beta_1μ=β1​, anμ+δi=βi\mu + \lta_i = \beta_iμ+δi​=βi​. The seconform of the mol is a more stanrnull for F-stat. The F-stof the regression is(R2−0)/4(1−R2)/(n−5)=0.000599/4(1−0.000599)/(10087−5)=1.51\frac{(R^2-0)/4}{(1-R^2)/(n-5)}=\frac{0.000599/4}{(1-0.000599)/(10087-5)}=1.51(1−R2)/(n−5)(R2−0)/4​=(1−0.000599)/(10087−5)0.000599/4​=1.51The stribution is F4,10082F_{4,10082}F4,10082​ anthe criticvalue using a 5% size is 2.37. The test statistic is less ththe criticvalue, therefore, the null thall effects are 0 is not rejecte Means 和R Square 是个什么关系?该题目的解题思路是什么? 这两者如何关联上?考了哪几个知识点?非常感谢

2023-02-05 02:23 1 · 回答

NO.PZ2020010801000025问题如下A mol westimateusing ily ta from the S P 500 from 1977 until 2017 whiinclufive y-of-the-week mmies (n = 10,087). The R2R^2R2 from this regression w0.000599. Is there evinththe mevaries with the y of the week? The mol estimateis Yi=β1+β2+β3+β4+β5+ϵiY_i = \beta_11 + \beta_22 + \beta_33 + \beta_44 + \beta_55 + \epsilon_iYi​=β1​​+β2​​+β3​​+β4​​+β5​​+ϵi​, where is a mmy thtakes the value 1 if the inx of the weeky is i (e.g., Mony = 1, Tuesy = 2, c). The restriction is thH0:β1=β2=β3=β4=β5H_0:\beta_1 = \beta_2 = \beta_3 = \beta_4 = \beta_5H0​:β1​=β2​=β3​=β4​=β5​ so there this is no y-of-the-week effect. This mol cequivalently written Yi=μ+δ2+δ3+δ4+δ5+ϵiY_i = \mu + \lta_22 + \lta_33 + \lta_44 + \lta_55 + \epsilon_iYi​=μ+δ2​​+δ3​​+δ4​​+δ5​​+ϵi​, therefore, here the null is H0:δ2=δ3=δ4=δ5H_0:\lta_2 = \lta_3 = \lta_4 = \lta_5H0​:δ2​=δ3​=δ4​=δ5​. In the two mols, μ=β1\mu = \beta_1μ=β1​, anμ+δi=βi\mu + \lta_i = \beta_iμ+δi​=βi​. The seconform of the mol is a more stanrnull for F-stat. The F-stof the regression is(R2−0)/4(1−R2)/(n−5)=0.000599/4(1−0.000599)/(10087−5)=1.51\frac{(R^2-0)/4}{(1-R^2)/(n-5)}=\frac{0.000599/4}{(1-0.000599)/(10087-5)}=1.51(1−R2)/(n−5)(R2−0)/4​=(1−0.000599)/(10087−5)0.000599/4​=1.51The stribution is F4,10082F_{4,10082}F4,10082​ anthe criticvalue using a 5% size is 2.37. The test statistic is less ththe criticvalue, therefore, the null thall effects are 0 is not rejecte这种难度和类型的题考试会考吗

2022-03-21 15:55 1 · 回答