BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi all

I wanna do a test seeing if my two quantitatives variables are independant or not.
The regression straight equation is alpha+beta*x=y.
The null hypothesis H0 states : Beta equals zero.

How to translate that into SAS ?

I would like to use the PROC REG or PROC GLM.

Thank you
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
In REG or GLM, x is the independent variable and y is the dependent variable. The model tests the hypothesis that the x variable is linearly predictive of the y variable.

This can be looked at as a test of linear independence, but it is not a test of general independence; it's not sensitive to some non-linear relationships in the data.

CORR will look at monotonic relationships (in the Spearman or Kendall's statistics), but it will still miss a "bathtub" relationship.

So, do graphs to look at your data too.

Doc Muhlbaier
Duke
deleted_user
Not applicable
Basically what I have to do is to test if 2 variables are independant or not.
Gonna study your answers.
Thanks Message was edited by: babaorumi

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 2 replies
  • 756 views
  • 0 likes
  • 2 in conversation