1 / 44

Statistical inference: confidence intervals and hypothesis testing

Statistical inference: confidence intervals and hypothesis testing. Objective. The objective of this session is Inference statistic Sampling theory Estimate and confidence intervals Hypothesis testing. Statistical analysis. Descriptive

lorin
Download Presentation

Statistical inference: confidence intervals and hypothesis testing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Statistical inference: confidence intervals and hypothesis testing

  2. Objective The objective of this session is • Inference statistic • Sampling theory • Estimate and confidence intervals • Hypothesis testing

  3. Statistical analysis • Descriptive calculate various type of descriptive statistics in order to summarize certain quality of the data • Inferential use information gained fromthe descriptive statistics of sample datato generalize to the characteristics of the whole population

  4. Inferential statistic application 2 broad areas • Estimation • create confidence intervals to estimate the true population parameter • Hypothesis testing • test the hypotheses that the population parameter has a specified range

  5. Population & Sample mean: standard deviation:

  6. Sampling theory • When working withthe samples of datawe have to rely onsampling theoryto give us theprobability distributionpertaining to the particular sample statistics • This probability distribution is known as “the sampling distribution”

  7. Sampling distributions • Assume there is a population … • Population size N=4 • Random variable, X,is age of individuals • Values of X: 18, 20,22, 24 measured inyears C B D A

  8. Sampling distributions Summary measures for thePopulation Distribution P(X) .3 .2 .1 0 A B C D (18) (20) (22) (24) Population mean Distribution

  9. Sampling distributions Summary measures of sampling distribution

  10. Properties of summary measures Sampling distribution of thesample arithmetic mean Sampling distribution of thestandard deviation of the sample means

  11. Estimation and confidence intervals • Estimation of thepopulation parameters: • point estimates • confidence intervalsorinterval estimators • Confidence intervals for: • Means • Variance Large or Small samples ???

  12. Confidence intervals for means large samples (n >= 30) • apply Z-distribution Probability distribution confidence interval

  13. Confidence intervals for means large samples (n >= 30) • From the normally distributed variable, 95% of the observations will be plus or minus 1.96 standard deviations of the mean

  14. Confidence intervals for means large samples (n >= 30) • The confident interval is given as Probability distribution 2.5% in tail 95% confidence interval 2.5% in tail -1.96 SE +1.96 SE

  15. Confidence intervals for means large samples (n >= 30) Probability distribution 2.5% in tail 95% confidence interval 2.5% in tail -1.96 SE +1.96 SE

  16. Confidence intervals for means large samples (n >= 30) • Thus, we can state that: “the sample mean will lie within an interval plus or minus 1.95 standard errors of the population mean 95% of the time”

  17. Confidence intervals for means large samples (n >= 30) Example we have data on 60 monthly observations of the returns to the SET 100 index. The sample mean monthly return is 1.125% with a standard deviation of 2.5%. What is the 95% confidence interval mean ???

  18. Confidence intervals for means large samples (n >= 30) Example (cont’d) • Standard error is calculated as • the confidence interval would be • The probability statement would be

  19. Confidence intervals for means large samples (n >= 30) Example (cont’d) • The probability statement would be • How does the analyst use this information ???

  20. Confidence intervals for means What about small samples (n < 30) • apply t-distribution Probability distribution

  21. Confidence intervals for means What about small sample ??? (n < 30) • Apply t-distribution • The confidence intervalbecomes • Theprobability statementpertaining to this confidence interval is

  22. Confidence intervals for means Example • From 20 observations, the sample mean is calculated as 4.5%. The sample standard deviation is 5%. At the 95% level of confidence: the confidence intervalis … the probability statementis …

  23. Confidence intervals for variances • Apply a distribution • Theconfidence intervalis given as • The probability statementpertaining to this confidence interval is

  24. Confidence intervals for variances Example • From a sample of 30 monthly observations the variance of the FTSE 100 index is 0.0225. With n-1 = 29 degrees of freedom (leaving 2.5% level of significant in each tail) the confidence interval is … the probability statement is …

  25. Hypothesis testing 2 Broad approaches • Classical approach • P-valueapproach • is an assumption about the value of a population parameter of the probability distribution under consideration

  26. Hypothesis testing • When testing, 2 hypotheses are established • the null hypothesis • the alternative hypothesis • The exact formulation of the hypothesis depends upon what we are trying to establish • e.g. we wish to know whether or not a population parameter, , has a value of

  27. Hypothesis testing • How aboutwe wish to know whether or not a population parameter, , is greater than a given figure , the hypothesis would then be … • Andif we wish to know whether or not a population parameter is greater than a given figure , the hypothesis would then be …

  28. The standardized test statistic • In hypothesis testing we have to standardizing the test statistic so that the meaningful comparison can be made with the • Standard normal (z-distribution) • t-distribution • distribution • The hypothesis test may be • One-tailed test • Two-tailed test MEAN VARIANCE

  29. Hypothesis test of the population mean Two-tailed test of the mean • Set up the hypotheses as • Decide on the level of significance for the test (10, 5, 1% level etc.) and establish 5, 2.5, 0.5% ineach tail • Set the value of in thenull hypothesis • Identify the appropriatecritical valueof z (or t) from the tables (reflect the percentages in the tails according to the level of significance chosen)

  30. Hypothesis test of the population mean Two-tailed test of the mean • Applying the followingdecision rule: Accept H0if Reject H0 if otherwise

  31. Hypothesis test of the population mean Example • Consider a test ofwhether or notthe mean of a portfolio manager’s monthly returns of 2.3% is statistically significantly different from the industry average of 2.4%. (from 36 observations with a standard deviation of 1.7%)

  32. Hypothesis test of the population mean Example • An analyst claims that the average annual rate of return generated by a technical stock selection service is 15% and recommends that his firm use the services as an input for its research product. The analyst’s supervisor is skeptical of this claim and decides to test its accuracy by randomly selecting 16 stocks covered by the service and computing the rate of return that would have been earned by following the service’s recommendations with regards to them over the previous 10-year period. The result of this sample are as follows: • The average annual rate of return produced by following the service’s advice on the 16 sample stocks over the past 10 years was 11% • The standard deviation in these sample results was 9% Determine whether or not the analyst’s claim should be accepted or rejected at the 5% level of significant ???

  33. Hypothesis test of the population mean One-tailed test of the mean (Right-tailed tests) • Set up the hypotheses as • Applying the followingdecision rule: Accept H0if Reject H0 if

  34. Hypothesis test of the population mean Example • If we wish to test that the mean monthly return on the FTSE 100 index for a given period ismore than1.2. From 60 observations we calculate the mean as 1.25% and the standard deviation as 2.5%.

  35. Hypothesis test of the population mean Example • We wish to test that the mean monthly return on the S&P500 index isless than1.30%. Assume also that the mean return from 75 observations is 1.18%, with a standard deviation of 2.2%.

  36. Hypothesis test of the population mean Two-tailed test Applying the followingdecision rule: Accept H0if Reject H0 if otherwise One-tailed test Applying the followingdecision rule: Accept H0if Reject H0 if Left or right tailed test ??? How ‘bout the other ???

  37. Hypothesis testing of the variance Two-tailed test • The standardized test statistic for the population variance is • This standardized test statistic has a distribution

  38. Hypothesis testing of the variance Example • If we wish to test the variance of share B isbelow25. The sample variance is 23 and the number of observation is 40

  39. The p-value method of hypothesis testing • The p-value is the lowest level of significance at which the null hypothesis is rejected • If the p-value ≥ the level of significance (α) accept null hypothesis • If the p-value < the level of significance (α) reject null hypothesis

  40. Calculation the p-value • If we wish to find an investment give at least 13.2%. Assume that the mean annualized monthly return of a given bond index is 14.4% and the sample standard deviation of those return is 2.915%, there were 30 observations an the returns are normally distributed.

  41. Calculation the p-value • The test statistic is: • With degree of freedom = 29 a t-value of 2.045 leaves 2.5% in the tail a t-value of 2.462 leaves 1% in the tail

  42. Calculation the p-value • Calculate p-value from interpolation • P-value = 0.025 – (0.50 x (0.025 – 0.01) = 0.0175 = 1.75% • P-value (1.75%) < α (5%), thus reject null hypothesis

  43. Conclusion • Meaning of statistical inference • Sampling theory • Application of statistical inference • Confidence intervals • Estimation • Hypothesis testing • Two-tailed • One-tailed Z-distribution t-distribution X2-distribution means variance

  44. Conclusion

More Related