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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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