版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、Chapter 5What Is Hypothesis Testing?Hypothesis testing and statistical inference allow us to answer questions about the real world from a sample.It is used in a variety of settings:FDA product testingTesting theories of Keynes and FriedmanIts almost impossible to prove a theory is “correct” with hyp
2、othesis testing.All that can be done with hypothesis testing is to state that a particular sample conforms to a particular hypothesis.What Is Hypothesis Testing? (continued)The first step in hypothesis testing is to state the hypotheses to be tested.This should be done before equation is estimated.T
3、he hypothesis test is broken into two hypotheses:null hypothesis, denoted “H0:”, typically is a statement of the values not expected.alternative hypothesis denoted “HA:”, typically is a statement of the values expected.What Is Hypothesis Testing? (continued)Example: If you expect a positive coeffici
4、entNull hypothesis: H0: 0(the values you do not expect)Alternative hypothesis: HA: 0(the values you expect)Example: If you expect a negative coefficientNull hypothesis: H0: 0Alternative hypothesis: HA: 0Case 1: Assume true is NOT positive but researchers estimate leads to the rejection of the null h
5、ypothesis: This is a Type I ErrorCase 2 Assume true is positive but researchers estimate leads to not rejecting the null hypothesis: This is a Type II ErrorWhat Is Hypothesis Testing? (continued)A decision rule is a method of deciding whether to reject a null hypothesis.Typically a decision rule inv
6、olves comparing a sample statistic with a critical value.A decision rule should be formulated before regression estimates are obtained.Divide the range of possible values of into two regions:1. “Acceptance” region2. Rejection regionWhat Is Hypothesis Testing? (continued)A critical value divides “acc
7、eptance” and rejection regions.For a two-tailed test, two critical values are selected.Rejection region measures probability of a Type I Error if the null is true.Unfortunately, decreasing the chance of a Type I Error means increasing the chance of a Type II Error.Figures 5.1 and 5.2 graph “acceptan
8、ce” and rejection regions for a one-sided test and two-sided tests, respectively.What Is Hypothesis Testing? (continued)What Is Hypothesis Testing? (continued)The t-TestThe t-test is used to test hypotheses about individual slope coefficients.It is the appropriate test when:1. The stochastic error t
9、erm is normally distributed.2. Variance of the distribution must be estimated.Since these are usually the case, the use of the t-test for hypothesis testing has e standard in econometrics.The t-Test (continued)We can calculate t-values for each estimated coefficient of a typical multiple regression
10、equation:t-statistic for the kth coefficient:Where: = the estimated regression coef. for the kth variable= the border value coef. for the kth variable= the estimated standard error of The t-Test (continued)Since most regression hypotheses test whether a particular regression coefficient is significa
11、ntly different from 0, is typically 0.Thus, the most-used form of the t-statistic es: which simplifies to:The t-Test (continued)Example: Consider Woodys restaurant from Section 3.2Testing H0: P 0, the t-statistic is:The t-Test (continued)Whether to reject or not to reject a null hypothesis is based
12、comparing calculated t-value to a critical t-value.Critical t-value is the value that distinguishes the “acceptance” region from the rejection region.The critical t-value, tc, is selected from a t-table based on:1. Whether the test is one-sided or two-sided2. Level of Type I Error specified3. Degree
13、s of freedomThe t-Test (continued)Once a critical t-value (tc) has been selected and calculated t-value (tk) obtained, apply the following decision rule:Reject H0 if |tk| tc and if tk has the sign implied by HA. Do not reject H0 otherwise.The t-Test (continued)This decision rule is used for:1. One-s
14、ided hypotheses around zero:H0: k 0H0: k 0HA: k 0HA: k SHA: k 0There are 29 degrees of freedom (N K - 1, or 33 3 - 1) so appropriate tc at 5-percent significance: 1.699.Decision rule: Reject H0 if |tP| 1.699 and if tP is positiveRecall tP = +4.88 Since |4.88| 1.699 and 4.88 is positive, reject H0.Th
15、e t-Test (continued)The level of significance indicates the probability of observing an estimated t-value greater than the critical value if the null hypothesis were correct.It measures probability of a Type I Error implied by a particular critical t-value.How should you choose a level of significan
16、ce?Most beginning econometricians assume the lower the level of significance the better.The t-Test (continued)Unfortunately, a low level of significance dramatically increases the probability of a Type II Error.Using a 5-percent level of significance is mended unless you know something unusual about
17、 the relative costs of making Type I or Type II Errors.If you can reject the null at the 5-percent level of significance, it is common to summarize and say:“The coefficient is statistically significant at the 5-percent level.”The t-Test (continued)The p-value, or marginal significance level, is an a
18、lternative to the t-test.A p-value for a t-score is the probability of observing a t-score that size or larger (in absolute terms) if the null hypothesis were true.Standard regression software packages calculate p-values automatically for every coefficient.Be careful! Virtually every package reports
19、 p-values for two-sided hypotheses.The t-Test (continued)How do you use a p-value to run a t-test?Apply p-value decision rule:Reject H0 if p-value 0HA: 2 0HA: 3 1.943 and if 2.1 is positive. For 2: Reject H0 if |2.8| 1.943 and if 2.8 is negative. For 3: Reject H0 if |-0.1| 1.943 and if -0.1 is negat
20、ive.Figure 5.4 illustrates all three es. Examples of t-Tests (continued)Examples of t-Tests (continued)Two-sided tests fall into two categories:1. Two-sided tests of whether an estimate coefficient is significantly different than zero, and2. Two-sided tests of whether an estimated coefficient is sig
21、nificantly different from a specific value.Examples of t-Tests (continued)Example: Two-sided t-test whether an estimated coefficient is statistically different than zero: Woodys restaurant locationStep 1: Set up null and alternative hypothesisH0: I = 0HA: I 0Examples of t-Tests (continued)Step 2: Ch
22、oose a level of significance and therefore a critical t-value.5-percent significance leveldegrees of freedom = 29 Step 3: Run regression and obtain an estimated t-value. Examples of t-Tests (continued)Step 4: Apply the decision rule by comparing the calculated t-value with the critical t-value in or
23、der to reject or not reject the null hypothesis. For I: Reject H0 if |2.37| 2.045In this case, you reject the null hypothesis that I equals zero because 2.37 is greater than 2.045. Examples of t-Tests (continued)For a two-sided t-test with a specific nonzero coefficient value, the null and alternati
24、ve hypotheses e:H0: HA: The estimated t-value is:The decision rule remains the same.Limitations of the t-TestsOne problem with the t-test is that it is easy to misuse.Three limitations:1. The t-test does not test theoretical validityCoefficients are statistically significant.The catch is that P is t
25、he consumer price index and C is the cumulative amount of rainfall in the United Kingdom!Limitations of the t-Tests (continued)2. The t-test does not test importance.With a t-score of 10.0, X1s is more statistically significant than X2.That means is there is more evidence X1s coefficient is positive
26、does not mean more important. Limitations of the t-Tests (continued)3. The t-test is not intended for tests of the entire population.The t-test helps make inferences about the true value of a parameter from a sample of the population.A unbiased coefficient calculated from entire population, already
27、measures the population value.A significant t-test adds nothing to this knowledge. If the sample size is large enough to approach the population, then the standard error will approach zero and the t-score will e:Confidence IntervalsConfidence intervals are a third way to do hypothesis testing.A conf
28、idence interval is a range of values that will contain the true value of a certain percentage of the time.The confidence interval formula:confidence interval = tc is the two-sided critical value of the t-statistic for the chose significance level.Confidence Intervals (continued)Example: Woodys resta
29、urant site locationA 90 percent confidence interval for I:Theres a 90 percent chance true I falls between 0.365 and 2.211.Confidence Intervals (continued)If testing:H0: I = 0HA: I 0We can reject null hypothesis at the 10-percent level because 0 is not in the confidence interval.If testing:H0: I = 1H
30、A: I 1We cannot reject null hypothesis at the 10-percent level because 1 is in the confidence interval.Confidence Intervals (continued)Confidence intervals are also very useful in telling how precise a coefficient estimate is.Example: Contractor Grace and value of a bathroomThe F-TestThe F-test is a
31、 formal hypothesis test designed to deal with a null hypothesis that contains multiple hypotheses or a single hypothesis about a group of coefficients.The way an F-test works is fairly ingenious:1. Translate the null hypothesis into constraints that will be placed on the equation.2. Estimate the con
32、strained equation with OLS and compare the fit of the constrained equation with the fit of the unconstrained equation.The F-Test (continued)The fits of the equations are compared with the general F-statistic:where: RSS= residual sum of squares from the unconstrained equation RSSM = residual sum of squares from the constrained equation M = number of constraints (N-K-1) = degrees of freedom in the unconstrained equation.The F-Test (continued)Decision rule is reject the null hypothesis if calculated F-value (F) is greater than the critical F-v
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 大米授權(quán)合同范本
- 2024年綠碳化硅項(xiàng)目可行性研究報(bào)告
- 短視頻平臺主播兼職協(xié)議
- 商業(yè)咨詢公司合伙人入伙協(xié)議書
- 電動草坪修剪機(jī)產(chǎn)業(yè)規(guī)劃專項(xiàng)研究報(bào)告
- 獸醫(yī)用臍帶夾市場洞察報(bào)告
- 小型遙控?cái)z影無人機(jī)產(chǎn)品入市調(diào)查研究報(bào)告
- 校地合作戰(zhàn)略協(xié)議書
- 攪拌車租賃合同樣本示例
- 技術(shù)交流合同文本
- 傳感器課程設(shè)計(jì)基于的溫度測量系統(tǒng)
- 重慶市樹黃桷樹介紹課件
- 蘇武傳 省賽獲獎-完整版課件
- 裂解汽油加氫第一章工藝技術(shù)規(guī)程
- 《圓的面積》優(yōu)秀課件
- saleae邏輯分析儀使用手冊-分析紅外、iic uart通信
- T-SDDA 0002-2021 住宅裝飾裝修工程質(zhì)量驗(yàn)收標(biāo)準(zhǔn)
- 湖北省 公路工程試驗(yàn)檢測設(shè)備期間核查規(guī)范DB42∕T 1544-2020
- 用理正巖土計(jì)算邊坡穩(wěn)定性
- GB 18613-2020 電動機(jī)能效限定值及能效等級
- 全套高中生物思維導(dǎo)圖word清晰打印版
評論
0/150
提交評論