BookmarkSubscribeRSS Feed
ala_lee
Calcite | Level 5

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-fi t 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.

 

3 REPLIES 3
Reeza
Super User

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-fi t 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.

 


 

justin7465
Calcite | Level 5
Hi I have this same question, can I ask you about it?
Reeza
Super User
Post it as a new question in the forum and someone will answer it 🙂
If you post it here, only people who originally responded to this thread two years ago will see it.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1478 views
  • 0 likes
  • 3 in conversation