Hello! I am working on this problem and I am unsure of how to divide the data into 5 disjoint categories and use the chi-square goodness-of-fit method without continuity correction. The dataset is attached.
Use the chi-square goodness-of-fit method without continuity correction to determine whether the student reading scores are from the normal distribution N(47:8; 8:82). Divide data into 5 disjoint categories: less than or equal to 40 , greater than 40 and less than or equal to 46 , greater than 46 and less than or equal to 48 , greater than 48 and less than or equal to 52 , and greater than 52 . Report the degree of freedom and the observed value of chi-square test statistic, p-value and draw statistical conclusion
based on your findings.
That looks and reads like homework. Very happy to help you out, but it helps if you show what you've tried so far. The categories are defined in the question so that should be relatively straightforward task using IF/THEN statements.
Here's a quick tutorial on recoding variables:
https://stats.idre.ucla.edu/sas/modules/creating-and-recoding-variables-in-sas/
If you're having trouble post your code AND log that would show any errors that you're encountering.
@ala_lee wrote:
Hello! I am working on this problem and I am unsure of how to divide the data into 5 disjoint categories and use the chi-square goodness-of-fit method without continuity correction. The dataset is attached.
Use the chi-square goodness-of-fit method without continuity correction to determine whether the student reading scores are from the normal distribution N(47:8; 8:82). Divide data into 5 disjoint categories: less than or equal to 40 , greater than 40 and less than or equal to 46 , greater than 46 and less than or equal to 48 , greater than 48 and less than or equal to 52 , and greater than 52 . Report the degree of freedom and the observed value of chi-square test statistic, p-value and draw statistical conclusion
based on your findings.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.