I am using Proc GLM and the MEANS with the LSD option. When I look at the output it does not show the LSD number (like all of the examples that I have looked at and followed). Does anyone know how to fix this?
Once I corrected the data error on line 20 of your posted code (double period), I got all the LSD tests. I'm using SAS 9.3.
PG
There are some circumstances that don't produce an LSD, check the manual for them. If that does not resolve it, post your code for additional thoughts from the group.
Doc Muhlbaier
Duke
data geno;
input temp $ rep time palmitic stearic oleic linoleic linolenic;
cards;
L 1 15 172.8 76.7 122.9 431.4 196.1
L 1 25 . . . . .
L 1 35 133.8 32.5 174.6 618.3 40.8
L 1 45 112.5 33.5 212.7 546.7 94.6
L 1 55 113.5 33.9 203.3 546.1 103.3
L 1 65 111.2 29.7 161.8 612.9 84.3
L 2 15 . . . . .
L 2 25 178.6 55.2 129.5 505.6 131.2
L 2 35 122.7 32.3 171.4 639.0 34.7
L 2 45 119.7 29.4 169.2 648.7 32.9
L 2 55 112.4 29.6 172.7 658.6 26.7
L 2 65 109.6 28.9 164.9 671.8 24.7
L 3 15 . . . . .
L 3 25 167.0 50.4 143.4 538.6 100.6
L 3 35 140.9 35.3 177.9 597.8 48.1
L 3 45 114.9 31.6 145.0 583.7 124.8
L 3 55 109.4 27..6 146.9 590.9 125.1
L 3 65 111.7 27.8 154.5 681.0 25.2
N 1 15 . . . . .
N 1 25 . . . . .
N 1 35 122.0 37.0 195.3 618.2 27.3
N 1 45 116.3 39.5 189.7 629.2 25.3
N 1 55 114.9 34.5 160.6 663.0 27.0
N 1 65 . . . . .
N 2 15 166.0 76.5 105.4 461.7 190.4
N 2 25 . . . . .
N 2 35 110.8 27.6 231.1 607.8 22.7
N 2 45 113.0 27.9 247.2 589.1 22.8
N 2 55 107.1 26.9 201.1 642.4 22.4
N 2 65 . . . . .
N 3 15 169.6 48.9 56.5 580.6 144.3
N 3 25 179.5 57.5 52.4 537.8 172.8
N 3 35 122.8 35.3 182.9 632.0 27.1
N 3 45 114.1 33.6 187.3 640.5 24.4
N 3 55 114.0 31.1 186.8 645.0 23.1
N 3 65 115.1 28.8 190.0 643.9 22.2
H 1 15 . . . . .
H 1 25 158.9 48.1 176.9 556.4 59.8
H 1 35 147.3 10.5 256.7 521.4 34.0
H 1 45 114.5 33.7 284.2 523.6 44.1
H 1 55 128.3 36.2 166.5 646.4 22.6
H 1 65 . . . . .
H 2 15 164.4 106.3 121.7 460.3 147.3
H 2 25 161.3 72.9 179.7 485.3 100.7
H 2 35 . . . . .
H 2 45 . . . . .
H 2 55 . . . . .
H 2 65 . . . . .
H 3 15 . . . . .
H 3 25 . . . . .
H 3 35 137.5 41.7 445.8 348.4 26.7
H 3 45 122.8 27.5 283.3 547.4 19.0
H 3 55 120.8 29.8 257.4 572.0 20.1
H 3 65 123.3 26.0 270.8 561.9 17.9
;
run;
title "palmitic";
proc glm data=geno;
class temp time;
model palmitic = temp time temp*time;
means temp time temp*time/lsd;
run;
quit;
Once I corrected the data error on line 20 of your posted code (double period), I got all the LSD tests. I'm using SAS 9.3.
PG
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.