data harvest;
input Treatment Replicate
Tuber_Length Tuber_Diameter Fresh_Weight_Leaves
Leaf Area Plant Height Fresh Below Fresh Above
Dry_Below Dry_Above;
datalines;
1 1 14.5 3.71 191.0 683 44.5 114.0 59.0 5.89 5.60
1 2 11.3 3.53 149.9 757 45.1 93.5 68.4 5.94 5.78
1 3 15.6 3.66 167.0 832 45.6 96.5 79.6 5.97 5.80
2 1 11.9 3.28 136.1 1402 48.8 125.0 85.1 8.25 8.51
2 2 13.2 3.85 186.5 1476 50.6 119.0 91.3 8.05 8.59
2 3 17.9 4.90 298.6 1552 50.6 122.0 80.7 8.45 8.57
3 1 12.6 4.21 203.7 948 49.8 115.0 128.0 7.87 10.10
3 2 16.8 3.91 237.4 1023 50.9 114.0 113.2 7.68 10.60
3 3 15.4 4.23 260.5 1098 50.8 114.5 115.8 7.82 10.80
4 1 16.9 4.09 210.5 1774 50.2 151.0 121.0 10.71 9.80
4 2 16.7 4.23 284.1 1649 51.4 168.0 72.3 10.79 9.16
4 3 15.4 4.82 263.5 1624 51.4 169.5 76.7 10.55 9.61
5 1 12.5 3.88 148.5 687 50.3 116.0 76.0 7.25 9.70
5 2 17.0 4.30 234.1 762 50.7 119.0 83.2 7.29 7.00
5 3 14.4 4.40 215.1 836 50.5 120.3 83.3 7.41 7.10
6 1 14.5 3.94 210.1 1028 50.2 113.0 97.0 6.60 9.10
6 2 14.6 4.23 222.1 1103 51.1 111.5 89.4 6.66 8.90
6 3 14.8 4.01 195.2 1178 51.1 120.0 89.6 6.65 9.21
;
run;
/* Descriptive statistics */
proc means data=harvest mean std stderr min max cv;
class Treatment;
var Tuber_Length Tuber_Diameter Fresh_Weight_Leaves
Leaf Area Plant Height Fresh Below Fresh Above
Dry_Below Dry_Above;
run;
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.