BookmarkSubscribeRSS Feed
Ra6
Calcite | Level 5 Ra6
Calcite | Level 5

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
;

3 REPLIES 3
PaigeMiller
Diamond | Level 26

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.

--
Paige Miller
Ra6
Calcite | Level 5 Ra6
Calcite | Level 5

yes, that's  a part but the rest of the data for average snow depth is also constant 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1316 views
  • 0 likes
  • 3 in conversation