Programming the statistical procedures from SAS

Random Data Selection

Reply
Contributor
Posts: 21

Random Data Selection

Hello Community Members,

 

This question has to do not only with SAS but also with hypothesis testing.  If I have a randomly generated frequency table, how can I test that the numbers ( that correspond to frequencies) in that table are in fact random? How can I use SAS to help?

 

Any advice is appreciated.

Thank you.

Grand Advisor
Posts: 9,452

Re: Random Data Selection

Since it is about Hypothesis, you should post it at Statistical Forum (another position at this site). Maybe you could use PROC FREQ + Chisq Test to test whether there are association between row variable and column variable. proc freq ; table a*b/chisq; run;
Contributor
Posts: 21

Re: Random Data Selection

Thank you!
Grand Advisor
Posts: 16,893

Re: Random Data Selection

I agree with @Ksharp 

 

I've moved your question to the stats forum. 

Also, chi square is the correct test to check the distribution of a frequency. 

But it partly depends on your data. Using a histogram may also be appropriate. If your simulating data look into Rick Wicklins book on simulating data in SAS. 

Contributor
Posts: 21

Re: Random Data Selection

Thank you for your help.
Contributor
Posts: 21

Re: Random Data Selection

I have trouble finding statistical forum though.
Thank you greatly.
Trusted Advisor
Posts: 1,114

Re: Random Data Selection


light wrote:
I have trouble finding statistical forum though.


Dark blue button "Find a Community" --> Analytics (click plus sign) --> SAS Statistical Procedures

SAS Super FREQ
Posts: 3,307

Re: Random Data Selection

Contributor
Posts: 21

Re: Random Data Selection

Thank you Smiley Happy
Ask a Question
Discussion stats
  • 8 replies
  • 295 views
  • 4 likes
  • 5 in conversation