1 / 29

Univariate Statistics Analyzing One Variable at a Time

Univariate Statistics Analyzing One Variable at a Time. 1. Chi Square 2. Kendall’s W Chi- squareTest 3. T-test for one mean. Chi-Square Goodness of Fit. When to use: number of variables analyzed ________ scaling of variable _________ Basic idea:

kizzy
Download Presentation

Univariate Statistics Analyzing One Variable at a Time

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. Univariate StatisticsAnalyzing One Variable at a Time 1. Chi Square 2. Kendall’s W Chi-squareTest 3. T-test for one mean

  2. Chi-Square Goodness of Fit When to use: number of variables analyzed ________ scaling of variable _________ Basic idea: could the numbers you get (the observed value) come from a population which has the pattern I expect? (the expected value) Does the observed pattern of frequencies correspond to the expected pattern

  3. The Chi Square Goodness of Fit Hypotheses • Ho: This sample could have come from a population that has this pattern:________________________________________________________________________________________________ • Ha: There is a different pattern in the sample than expected.

  4. Chi-Square Goodness of Fit Chi-square calculated= sum of (Observedi -Expected i ) 2 Expected i degrees of freedom = number of resp. cat. -1 Alpha Value Critical Value

  5. Now Graph chi-square calculated chi-square critical

  6. Chi-Square Goodness of Fit What type of frozen dairy treat do you like best? 1. hard scoop ice cream 2. soft serve ice cream 3. chocolate covered ice cream bars Ho: Ha: Chi-square Calculated: Degrees of Freedom: Chi-square Critical: Graph

  7. Chi-square Goodness of Fit Rules If the p-value is less than the alpha value, then _______ Ho; conclude the pattern in the data is NOT what you expected or wanted. If the p-value is greater than the alpha value, then _______ Ho; conclude, the pattern IS what you expected or wanted.

  8. Do It Yourself Using SPSS -- What is the pattern for the favorite brand of soda? Ho: Ha:

  9. Do It Yourself Using SPSS --(cont.) Degrees of Freedom: Chi-square Calculated: Chi-square Critical: Graph Conclusion:

  10. Another Example What is the pattern for the number of people who drink a soda with breakfast? Ho: Ha:

  11. Kendall’s W Chi-SquareTest • When to use: • number of variables ________ • scaling of variable ________ • Basic idea: compare the observed value (________________) with the values you would expect if NO PREFERENCE was shown in the data

  12. The Kendall’s W Chi-square Test Hypotheses • Ho: There is no ranking in the data--there is no preference. • Ha: There is ranking in the data--there is preference, specifically, ______________________. • Chi-Square calculated: • sum of (Observedi -Expectedi)2Expectedi

  13. Kendall’s W Chi-Square test First, multiply the rank-order data for each variable Variable 1 score = 1 (___) + 2 (___) +3 (___) ... Variable 2 score = 1 (___) + 2 (___) +3 (___) ... Variable 3 score = 1 (___) + 2 (___) +3 (___) ... Compute expected value Add up the total scores and divide by the number of variables

  14. Example Ranking of movies: Pirates of the Caribbean, Shrek, Wall-E (n=20) Pirates Shrek Wall-E 1 10 7 3 2 4 8 8 3 6 5 9 Pirates = 1 (___) + 2 (___) +3 (___) = Shrek = 1 (___) + 2 (___) +3 (___) = Wall-E = 1 (___) + 2 (___) +3 (___) = Expected value:

  15. Kendall’s W Chi-Square Test Degrees of freedom Alpha level Accept or reject Ho:

  16. Rules If the p-value is greater than alpha, then _______ Ho, conclude that there no preference in the data. If the p value is less than alpha, then ___________ Ho. EXAMINE THE DATA TO DETERMINE PREFERENCE. (It may not be what you hypothesized!)

  17. Do This With the Soda Rankings Ho: Ha: Rank calculations Expected value

  18. Do This With the Soda Rankings (continued) Graph: Conclusion: reject or do not reject Ho Managerial implication

  19. T-test for One Mean When to use: number of variables __________ scaling of variables __________ Basic idea Look at the confidence intervals. Any numbers in the same confidence intervals are considered the same. Key question--If my sample mean (xbar) is ___, can my population mean (mu) be ___?

  20. Example Ho and Ha Ho: × = µ Ha: × ≠ µ (two-tailed test) Ho: X ≥ µ Ha: X < µ (one-tailed test – lower tail) Ho: X ≤ µ Ha: X > µ (one-tailed test – upper tail)

  21. Hypotheses for T-test for One Mean Interested in the average number of sodas drunk per day to determine whether to install a new vending machine. Ho: The opposite of Ha: The population mean is equal or (less than/greater than) the number hypothesized. Ha: What you need to be actionable. The population mean is (less than/ greater than/ not equal to…) _____. Note: it is easier to write Ha first.

  22. Calculations T calculated = x – µ Sx Where: X = sample mean µ = hypothesized population mean Sx =standard error

  23. More T Calculations Degrees of freedom= n-1 Alpha level= T-critical value =

  24. Now Graph t-calculated and t-critical value on a normal curve

  25. Rules for T-test for One Mean If the calculated t-value is in the hump, ________ Ho. Conclude that your Ha is not correct. If the calculated t-value is in the tail then _____ Ho.

  26. Practice Once Ho: Ha: The populations purchase intention for a gumball machine is >4. X-Bar: 4.5 SE= 0.15, n=60 T-calculated Degrees of freedom T-table Graph Conclusion: Reject or Do not Reject Ho Managerial implication:

  27. Let’s go back to the previous example • Interested in the average number of sodas drunk per day to determine whether to install a new vending machine. • Ho: • Ha: • T-calculated • Degrees of freedom • T-table • Graph • Conclusion: Reject or Do not Reject Ho • Managerial implication

  28. Now Use SPSS Ho: Ha: The average population rating for Coke when consumers know it is Coke is >6. T-calculated Degrees of freedom T-table Graph Conclusion: Reject or Do not Reject Ho Managerial implication:

  29. Now Use SPSS • Ho: • Ha: The average population rating for Coke when consumers do not know it is Coke is < 5. • T-calculated • Degrees of freedom • T-table • Graph • Conclusion: Reject or Do not Reject Ho • Managerial implication:

More Related