Skip to Content
Nonparametric Methods in Statistics with SAS Applications
book

Nonparametric Methods in Statistics with SAS Applications

by Olga Korosteleva
August 2013
Intermediate to advanced
195 pages
5h 45m
English
Chapman and Hall/CRC
Content preview from Nonparametric Methods in Statistics with SAS Applications
42 HYPOTHESES TESTING FOR SEVERAL SAMPLES
The critical value from Table A.5 for k = 3, n = 10, and
α
= 0.05 is 6.2. For
α
= 0.01,
it is 9.6. Thus, the null hypothesis H
0
:
θ
A
=
θ
B
=
θ
C
is rejected even at the 0.01 level
of significance and the conclusion is that tasted beer brands differ in preference rat-
ings.
To conduct the Friedman rank test in SAS, we use the code
data beer;
input taster brand $ rating @@;
datalines;
1 A 4 1 B 5 1 C 8 2 A 3 2 B 7 2 C 6 3 A 2 3 B 8 3 C 8
4 A 5 4 B 7 4 C 9 5 A 1 5 B 3 5 C 6 6 A 4 6 B 4 6 C 6
7 A 3 7 B 6 7 C 8 8 A 2 8 B 5 8 C 5 9 A 2 9 B 7 9 C 9
10 A 6 10 B 4 10 C 5
;
proc sort data=beer;
by taster;
run;
proc rank data=beer out=ranked;
var rating;
by taster;
ranks rank;
run;
proc freq data=ranked;
table taster*brand*rank/noprint cmh;
run; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Pharmaceutical Statistics Using SAS

Pharmaceutical Statistics Using SAS

Ph. D. Alex Dmitrienko, Ph. D. Christy Chuang-Stein, Sr. Ralph B. D'Agostino

Publisher Resources

ISBN: 9781466580633