proc sort; by condition;
proc univariate plot;
by cond;
-------------------------------- COND=false -------------------------------- Univariate Procedure Variable=LENIENCY Moments N 34 Sum Wgts 34 Mean 5.367647 Sum 182.5 Std Dev 1.827023 Variance 3.338012 Skewness 0.082842 Kurtosis -0.98709 USS 1089.75 CSS 110.1544 CV 34.03769 Std Mean 0.313332 T:Mean=0 17.13087 Pr>|T| 0.0001 Num ^= 0 34 Num > 0 34 M(Sign) 17 Pr>=|M| 0.0001 Sgn Rank 297.5 Pr>=|S| 0.0001 Stem Leaf # Boxplot 9 0 1 | 8 0000 4 | 7 05 2 | 6 000005555 9 +-----+ 5 00555 5 *--+--* 4 0055 4 | | 3 0000555 7 +-----+ 2 55 2 | ----+----+----+----+ -------------------------------- COND=felt --------------------------------- Univariate Procedure Variable=LENIENCY Moments N 34 Sum Wgts 34 Mean 4.911765 Sum 167 Std Dev 1.680866 Variance 2.825312 Skewness 0.686136 Kurtosis -0.13069 USS 913.5 CSS 93.23529 CV 34.22123 Std Mean 0.288266 T:Mean=0 17.03899 Pr>|T| 0.0001 Num ^= 0 34 Num > 0 34 M(Sign) 17 Pr>=|M| 0.0001 Sgn Rank 297.5 Pr>=|S| 0.0001 Stem Leaf # Boxplot 9 0 1 | 8 5 1 | 7 0005 4 | 6 055 3 +-----+ 5 00000055 8 | | 4 005555 6 *--+--* 3 000555555 9 +-----+ 2 55 2 | ----+----+----+----+ ------------------------------ COND=miserable ------------------------------ Univariate Procedure Variable=LENIENCY Moments N 34 Sum Wgts 34 Mean 4.911765 Sum 167 Std Dev 1.453682 Variance 2.113191 Skewness 0.720394 Kurtosis 0.036055 USS 890 CSS 69.73529 CV 29.59592 Std Mean 0.249304 T:Mean=0 19.70188 Pr>|T| 0.0001 Num ^= 0 34 Num > 0 34 M(Sign) 17 Pr>=|M| 0.0001 Sgn Rank 297.5 Pr>=|S| 0.0001 Stem Leaf # Boxplot 8 000 3 0 7 5 1 | 6 005 3 | 5 0000555555 10 +-----+ 4 0000000555 10 *--+--* 3 005555 6 | 2 5 1 | ----+----+----+----+ ------------------------------- COND=neutral ------------------------------- Univariate Procedure Variable=LENIENCY Moments N 34 Sum Wgts 34 Mean 4.117647 Sum 140 Std Dev 1.52285 Variance 2.319073 Skewness 0.548689 Kurtosis -0.26987 USS 653 CSS 76.52941 CV 36.98351 Std Mean 0.261167 T:Mean=0 15.76636 Pr>|T| 0.0001 Num ^= 0 34 Num > 0 34 M(Sign) 17 Pr>=|M| 0.0001 Sgn Rank 297.5 Pr>=|S| 0.0001 Stem Leaf # Boxplot 8 0 1 | 7 | 6 000055 6 | 5 05 2 +-----+ 4 00000555555 11 *--+--* 3 000055 6 +-----+ 2 00055555 8 | ----+----+----+----+ Univariate Procedure Schematic Plots Variable=LENIENCY 10 + | | | | | | 8 + | | 0 | | | | | | | +-----+ | | | 6 + | | +-----+ | | | *--+--* | | +-----+ +-----+ | | | *--+--* *--+--* | | 4 + | | | | +-----+ *--+--* | +-----+ +-----+ | +-----+ | | | | | 2 + | ------------+-----------+-----------+-----------+----------- COND false felt miserabl neutral classes cond;
model leniency=cond;
means cond/dunnett('neutral');
contrast 'smiling versus control' cond 1 1 1 -3;
contrast 'false versus felt' cond 1 -1 0 0;
contrast 'false versus miserable' cond 1 0 -1 0;
contrast 'felt versus miserable' cond 0 1 -1 0;
run;
General Linear Models Procedure Class Level Information Class Levels Values COND 4 false felt miserable neutral Number of observations in data set = 136 General Linear Models Procedure Dependent Variable: LENIENCY Sum of Mean Source DF Squares Square F Value Pr > F Model 3 27.5349265 9.1783088 3.46 0.0182 Error 132 349.6544118 2.6488971 Corrected Total 135 377.1893382 R-Square C.V. Root MSE LENIENCY Mean 0.073000 33.71605 1.62754 4.82721 General Linear Models Procedure Dependent Variable: LENIENCY Source DF Type I SS Mean Square F Value Pr > F COND 3 27.5349265 9.1783088 3.46 0.0182 Source DF Type III SS Mean Square F Value Pr > F COND 3 27.5349265 9.1783088 3.46 0.0182 Dependent Variable: LENIENCY Contrast DF Contrast SS Mean Square F Value Pr > F smiling versus contr 1 22.8241422 22.8241422 8.62 0.0039 false versus felt 1 3.5330882 3.5330882 1.33 0.2502 false versus miserab 1 3.5330882 3.5330882 1.33 0.2502 felt versus miserabl 1 0.0000000 0.0000000 0.00 1.0000