2
$\begingroup$

I have a model with variables (financial ratios) and some of them are in percentages, some in days and some just ratios (negative and positive). I ran an ANOVA and the results were not so good. When I applied the Shapiro test, 24 out of the 26 variables were not normally distributed. So I log-transformed every variable and the results went exactly as I wanted. But firstly I do not know if this is mathematically correct and secondly how I could justify this transformation.

$\endgroup$
9
  • $\begingroup$ ANOVA is essentially a generalisation of the t-test, so this answer may be of interest to you. I don't think that the Shapiro-Wilk test is a good choice for a test for normality here either; see this answer. $\endgroup$
    – MånsT
    Commented Jul 4, 2012 at 6:57
  • $\begingroup$ What kind of variable is the response variable? Did you look at the distribution of it first? Do you actually have continuous predictors in an ANOVA? Are you saying you transformed the predictor variables or response variable or both? Or, are you saying you really have a MANOVA? It sounds more like you have multiple regression than ANOVA $\endgroup$
    – John
    Commented Jul 4, 2012 at 12:56
  • 1
    $\begingroup$ Mathematics can't be used to justify a transformation and statistics doesn't justify it eitheer. Statistics may show that after transformation you have a good fit but the grounds for justification should be subject matter based. Shapiro-Wilk is good test for normality but whether to take the non-normality seriously, depends on the sample size. It can detect small departures if the sample size is several hundred to 1000. Look at QQ plots to see if kurtosis or skewness are high. $\endgroup$ Commented Jul 4, 2012 at 14:51
  • 1
    $\begingroup$ @Michael This may be a fundamental disagreement or perhaps merely reflects different assumptions about the purpose of data analysis. "We now regard re-expression [e.g., taking logs] as a tool, something to let us do a better job of grasping data. ... We have begun to realize that taking a firm hand with the data, before we display it or make detailed calculations, is often either the best or the only thing to do."--John Tukey (emphasis in the original), writing about transforming data (EDA, section 3H). $\endgroup$
    – whuber
    Commented Jul 4, 2012 at 18:34
  • 2
    $\begingroup$ @whuber My comment has nothing to do with the purpose of data analysis and is probably not a fundamental disagreement either. It really only has to do with the word justified. If you want to say that a good fit is valid justification for the purpose of data analysis I won't disagree. If you you mean justified in the sense that goodness of fit implies that it is a valid description of an underlying process I would vehemently disagree. That is the sense that I took the OPs term "mathematically" justified. So when I say that it cannot be justified statistically either $\endgroup$ Commented Jul 4, 2012 at 19:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.