Hello good people,
Recently, I have started using SAS for analyzing data and I did not have any prior experience regarding using SAS for data analysis. I will really appreciate if anyone please help me to solve the problem below. I want to show the effect of average snow depth on bulk density (with three depths 0-5, 5-10 and 10-20). Basically, I will have to find out that bulk density will increase or decrease for average snow depth. I have also attached the data file here.
data Data;
Input plot $ BD_zero_to_five BD_five_to_ten BD_ten_to_twenty $ Average_snow_depth;
datalines;
1 1.58 2.29 1.59 12
1 1.20 1.81 1.41 12
1 1.28 1.33 1.82 12
1 1.46 1.97 1.39 12
1 1.17 1.54 1.09 12
1 1.28 1.59 1.23 12
1 1.41 1.53 1.67 12
1 1.21 1.37 1.40 12
1 1.54 1.87 1.26 12
1 1.28 1.70 1.30 12
1 1.21 1.65 1.55 12
1 1.33 1.86 1.69 12
2 1.25 1.36 1.15 12
2 1.58 1.86 1.75 12
2 1.36 1.60 1.59 12
2 1.03 1.72 1.43 12
2 1.03 1.55 1.16 12
2 1.04 1.49 1.30 12
2 1.28 1.24 1.17 12
2 1.18 2.10 1.66 12
2 1.38 1.61 1.32 12
2 1.28 1.51 1.33 12
2 1.26 1.53 1.31 12
2 1.44 1.58 1.85 12
;
Is this just a part of your data? Because as it is, Average_snow_depth is a constant value of 12, and no such analysis is possible.
yes, that's a part but the rest of the data for average snow depth is also constant
Without a change in a certain column, there's nothing to analyze. "All roads lead to Rome", so it doesn't matter which one you take, so to say.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.