BookmarkSubscribeRSS Feed
Mariana
Calcite | Level 5

Hello,

I am trying to run a regression between a dependent variableand several other independent variables.

First I have used STEPWISE, which selected two variables in the regression model. But when I verified the regression’s assumptions, I realized that the residual were normally distributed but there was unequal variance.

I have tried to transform the data but I could not use one single transformation for all the variables and the dependent variable has many values of zero and I could not find any transformation for that.

Later I have used LOESS procedure for nonparametric regression, where I have built several models based only on 3 independent variables that mostly correlated with my dependent variable. The model with the smallest AICC was still the one selected by STEPWISE procedure but now I found out that this method also requires normality of the variance. Another problem is that this method only tells me what are the most important variables but doesn’tgive me an equation.

Now I am trying Weighted Least Square method but I don’tfind an example on how to run it with more than one variable. Also, I am not sure this method would be better or if it will work.

Can anybody help me with a piece of advice on what method to try in this situation? And if the Weighted Least Square method is good, is there a code on how to run it for multiple variables?

I will highly appreciate any kind of help!

Thank you,

Mariana

1 REPLY 1
mrlang02
Fluorite | Level 6

Mariana,

I am wondering if you ever found an answer to this problem.  Dealing with the same situation myself.

Thanks,

Meghan

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 1214 views
  • 0 likes
  • 2 in conversation