1 / 66

Homework Assignment

Homework Assignment. 10.17, 10.19, 10.23, 10.29, 10.32 Due in Class Dec 1. Last Time: Finished Contingency Tables Reviewed Basics on Linear Regression. Suppose I sample n many people:. How many observations do I expect to get in cell (i,j)?

elvina
Télécharger la présentation

Homework Assignment

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. Homework Assignment 10.17, 10.19, 10.23, 10.29, 10.32 Due in Class Dec 1

  2. Last Time:Finished Contingency TablesReviewed Basics on Linear Regression

  3. Suppose I sample n many people: • How many observations do I expect to get in cell (i,j)? • If the Null Hypothesis holds, i.e., if the columns and rows are independent, then I expect the number of observations in cell (i,j) to be How to compare?? Both are unknown!

  4. Suppose I sample n many people: How to compare?? Both are unknown!

  5. Suppose I sample n many people:

  6. Finding a p-value for a Chi-Square Statistic (one-tailed) Table F (T-20)

  7. Example: Development in 1st grade

  8. Example: Development in 1st grade

  9. FIXED

  10. Slight Change of Notation Homogeneity of parallel samples

  11. Example 255 32 FIXED Equivalent Equations

  12. More Generally: The rest is the same as in previous scenario, i.e., we get the same Chi-square again.

  13. Special Case: 2x2 Tables

  14. The Square of a Standard Normal Random Variableis a Chi-Square Random Variablewith 1 degree of freedom.

  15. Today:From descriptive to inference statistics…Estimation and Hypothesis Testingfor Linear Regression

  16. Statistical Inference (for a single variable) Estimation: (Confidence Intervals) Point estimate critical value Std. dev. of point estimate ± · For instance: Confidence Interval for the mean: ± ·

  17. Statistical Inference (for a single variable) Hypothesis Testing:

  18. Example 20 kindergarteners 1pt 2pts 3pts “Popularity Score” = Average Score

  19. Example 20 kindergarteners “Social Competence Score”

  20. Example 20 kindergarteners “Popularity Score” “Social Competence Score”

  21. Statistical Inference (for two variables) Example: Children X: Popularity, Y: Social competence Goal: Explain (linear) relationship between X and Y

  22. Statistical Inference (for two variables)

  23. Y 1 X

  24. Simple (linear) regression Explain the (linear) relationship (if it exists) between random variable X and random variable Y.

  25. Four assumptions about the error term 4 For different values of X, the error terms are uncorrelated 1 3 2 The error term is a normally distributed random variable No matter what value X takes, the error has a mean of zero

  26. First Assumption:Error has a Normal Distribution Error

  27. Second assumption: Average error is zero for each value of X 1 X

  28. 3rd assumption: Error has same standard deviation for each value of X Y Error X

  29. Y X

  30. Y X

  31. We will sample data to estimate the parameters. This leads to point estimates, confidence intervals and hypothesis testing for each parameter, in addition to a general test of the model as a whole.

  32. Estimation of Intercept and Slope:(just a change of notation)

  33. Estimated Regression Line

  34. Parameter Estimates: Degrees of freedom loose 1 df for X loose 1 df for Y

  35. Recall: Point Estimates (Sample Statistics) are Random Variables

  36. Recall: Point Estimates (Sample Statistics) are Random Variables Sampling Distributions

  37. Recall: Point Estimates (Sample Statistics) are Random Variables Don’t Know! Hypothesis Testing

  38. Remember the general rule for Confidence Intervals: Point estimate critical value Std. dev. of point estimate ± ·

  39. Confidence Intervals for Intercept and Slope Point estimate critical value Std. dev. of point estimate ± ·

  40. 95% Confidence Intervals for Intercept and Slope

  41. 95% Confidence Intervals for Intercept and Slope

  42. Hypothesis Test on Slope If p-value of the standardized statistic <  then reject H0 and conclude that there is indeed a linear relationship

  43. Hypothesis Test on Slope

  44. Computer Output(Note: Different programs differ in style and content!) p-value < .001

  45. Analysis of Variancefor Regression How much y differs from mean How much predicted y differs from mean residual / error Involves only data

More Related