Cross Validated Asked by CBGodbole on January 1, 2022
I am performing multiple linear regression to predict a score (dependent variable) from multiple categorical variables. My dependent variable has skewed distribution with a large number of zero values but no negative values.
Can I use Box-Cox transformation in this scenario?
I tried to run it in R, but got the error message –
"Error in boxcox.default(linreg1) : response variable must be positive"
Box-Cox transformation works fine with zeros. Hope you are using boxcox.fit() in package named geoR.
However, you can solve your problem of skewness with other transformations like:
Also, I don't understand why you are doing transformation of the dependent variable. I agree with @dave for the assumption of normality in regression.
Answered by Vivek on January 1, 2022
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP