mean and std dev.

Data bahulu; input Att$ bhu; cards; A 8 A 6 A 8 A 6 A 8 B 6 B 8 B 5 B 8 B 7 ; proc means mean std; by Att; run;

t-test Data bahulu; input brand $ like; cards; A 8 A 6 A 8 A 6 A 8 B 6 B 8 B 5 B 8 B 7 ; proc ttest data=bahulu; class brand; var like; title 'Testing the Equality of Means for Two Cereal Bahulu'; run;

run. title 'Anova Table for Bahulu'. mean Att/ duncan.s for Two Cereal Bahulu'. proc means mean std. by Att. proc anova. proc anova.tukey's Data bahulu. . run. by Att. title 'Anova Table for Bahulu'. A 8 A 6 A 8 A 6 A 8 B 6 B 8 B 5 B 8 B 7 C 2 C 1 C 3 C 2 C 1 . cards. cards. proc means mean std. 1way anova . class Att. class Att. input Att$ bhu. input Att$ bhu. mean Att/ turkey. model bhu=Att.duncan Data bahulu. run. model bhu=Att. run. A A A A A B B B B B C C C C C . 1way anova .

proc means mean std. mean Att/ turkey. 8 6 8 6 8 6 8 5 8 7 2 1 3 2 1 proc anova. .1way anova .tukey's Data bahulu. model bhu=Att. input Att$ bhu. title 'Anova Table for Bahulu'.

A 4 A 4 A 3 A 4 A 4 A 4 A 3 A 4 A 3 A 3 A 2 A 1 A 4 A 4 A 3 A 2 A 4 A 3 A 4 A 4 B 3 B 2 B 3 B 4 B 4 B 3 B 5 B 3 B 3 B 3 B 3 B 2 B 4 B 1 B 2 B 4 B 5 B 2 B 3 B 3 . proc ttest data=peanut. A 4 A 4 A 3 A 4 A 4 A 4 A 3 A 4 A 3 A 3 A 2 A 1 A 4 A 4 A 3 A 2 A 4 A 3 A 4 A 4 B 3 B 2 B 3 B 4 B 4 B 3 B 5 B 3 B 3 B 3 B 3 B 2 B 4 B 1 B 2 B 4 B 5 B 2 B 3 B 3 . run. cards.Data peanut butter. cards. var like. . by Att. class brand. input Att$ pbt. Data peanut. proc means mean std. input brand $ like.

title 'Testing the Equality of Means for Two Peanut Butter'. run. .

cards.Data peanut. input Att$ pbt. A A A A A A A A A A A A A A A A A A A A B B B B B B B B B B B B B B B B B B B B C C C C . A A A A A A A A A A A A A A A A A A A A B B B B B B B B B B B B B B B B B B B B C C C C 4 4 3 4 4 4 3 4 3 3 2 1 4 4 3 2 4 3 4 4 3 2 3 4 4 3 5 3 3 3 3 2 4 1 2 4 5 2 3 3 5 3 4 1 Data peanut. cards. input Att$ pbt.

class Att. run. proc anova. by Att. C 3 C 4 C 4 C 3 C 0 C 1 C 2 C 3 C 4 C 4 C 4 C 0 C 2 C 0 C 2 C 0 . C C C C C C C C C C C C C C C C . title 'Anova Table for Peanut Butt run. mean Att/ duncan. model pbt=Att. class Att. model pbt=Att. run. proc means mean std. title 'Anova Table for Peanut Butter'. proc anova.s for Two Peanut Butter'. run. mean Att/ turkey. . by Att. proc means mean std.

4 4 3 4 4 4 3 4 3 3 2 1 4 4 3 2 4 3 4 4 3 2 3 4 4 3 5 3 3 3 3 2 4 1 2 4 5 2 3 3 5 3 4 1 .Data peanut. input Att$ pbt.

mean Att/ turkey. proc means mean std. model pbt=Att. .3 4 4 3 0 1 2 3 4 4 4 0 2 0 2 0 proc anova. title 'Anova Table for Peanut Butter'.

cards.Data YlwNdl. input Att$ ynd. A 3 A 8 A 6 A 3 A 8 A 4 A 6 A 4 A 8 A 7 A 6 A 7 A 2 A 8 A 6 A 7 A 6 A 5 A 5 A 3 A 5 A 5 A 6 A 5 A 8 A 8 A 5 A 4 A 7 A 7 A 7 A 4 A 4 A 6 A 4 A 7 A 7 A 4 A 4 A 8 A 8 A 6 A 7 A 5 A 5 A 8 A 5 .

A A A B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 8 4 6 8 4 7 7 7 6 7 5 4 6 8 7 9 8 8 5 7 8 8 8 4 4 7 5 6 7 7 4 8 4 7 6 2 6 4 7 2 8 5 7 7 4 3 4 9 9 9 .

B B B C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C 6 7 7 5 9 6 4 7 8 6 5 7 5 7 6 5 7 6 6 6 7 9 6 5 6 5 7 8 7 8 6 6 6 8 4 8 7 5 8 5 5 4 9 7 7 8 7 6 7 6 .

C C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D 8 7 5 2 6 7 3 9 6 8 4 7 5 8 8 7 4 7 6 5 2 7 4 7 5 5 5 9 5 7 7 6 6 8 3 3 4 8 7 7 5 5 4 7 5 8 6 7 7 8 .

proc anova. class Att. mean Att/ duncan. . title 'Anova Table for Overall Acceptability'. proc means mean std. run. model ynd=Att. run. by Att.D 6 D 5 D 5 .

Sign up to vote on this title
UsefulNot useful