Hello ,
How could i find dependency/importance/weightage between Dependent variables in SAS?
Example:
Var1 Var2 Result
1 2 5
3 2 7
in the above example weigtage of var2 is higher because the formala is result=var1+2var2
Thanks,
Mushy
Your question is not clear, but if you are asking how to assess the relative importance of predictor (independent) variables in a model on a response (dependent) variable, then see this note.
The first step for you question is summary statistic by exploring scatter plot.
proc sgscatter data=sashelp.heart(obs=100);
matrix height weight Diastolic Systolic/ellipse diagonal=(histogram);
run;
@Mushy wrote:
How could i find dependency/importance/weightage between Dependent variables in SAS?
Example:
Var1 Var2 Result
1 2 5
3 2 7
in the above example weigtage of var2 is higher because the formala is result=var1+2var2
I find this confusing sequence of statements. I am not sure what you want.
You start by asking about correlation between independent and dependent variables in the subject line, and then only talk about dependent variables "How could i find dependency/importance/weightage between Dependent variables in SAS?"
You state the fact "in the above example weigtage of var2 is higher because the formala is result=var1+2var2" but this isn't a question; what is the relevance of this?
Your question is not clear, but if you are asking how to assess the relative importance of predictor (independent) variables in a model on a response (dependent) variable, then see this note.
@StatDave @Ksharp @PaigeMiller Thanks for the response. Your posts helped me to explore the statistics graph and used different procs for dependency check.
I'm not sure what your may be thinking about asking with correlation but if I build a data set with your formula for some data and run a regression:
data examine; do x1= 1 to 25; do x2 = -5 to 5; result = x1 + 2*x2; output; end; end; run; proc reg data=examine; model result=x1 x2; run;
The coefficient for X2 is that "weight"
Parameter Estimates | |||||
---|---|---|---|---|---|
Variable | DF | Parameter Estimate |
Standard Error |
t Value | Pr > |t| |
Intercept | 1 | 0 | 0 | . | . |
x1 | 1 | 1.00000 | 0 | Infty | <.0001 |
x2 | 1 | 2.00000 | 0 | Infty | <.0001 |
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.