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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 647 views
  • 0 likes
  • 2 in conversation