Hello!
When testing the normality of the residuals of a multiple regression by OLS, I found that these are not normal. I tried to perform a correction by Box-cox on the dependent through the command bcskew0. However, no conversion is performed.
I tried the general command by: boxcox btdt var_rec var_inv lagbtdt, lrtest , but the error appeared:
btdt contains observations that are not strictly positive
r(411);
[P] error . . . . . . . . . . . . . . . . . . . . . . . . Return code 411
nonpositive values encountered
__________ has negative values
time variable has negative values
For instance, you have used graph with the xlog or ylog options,
requesting log scales, and yet some of the data or the labeling
you specified is negative or zero.
Or perhaps you were using ltable and specified a time variable
that has negative values.
(end of search)
The independent variable is continuous, and in fact, has negative values.
My question is: is it not possible to box-cox variables that have negative values? What would be the problem I am facing with my database?
Help me please!
Related Posts with Transformation Box-Cox
propensity score matching modelThis time I will try to make my request a bit clear. I have watched many tutorial videos about PSM m…
Panel ARDL (PMG, MG, DFE) do fileHello All, I was wondering if you could help me with the do file for Panel ARDL (PMG, MG, DFE) I ne…
combining variables' dataHello every one today i faced a small issue which is I have three questions Q1 Q2Q3 each one branche…
regress rob, regression model with robust std. errorsDear community! I have a model with the violation the assumption about homoscedasticity. So first i…
name of variable above ttest tableDear all Am running a ttest for several variable by(group) using a loop as below Code: foreach …
Subscribe to:
Post Comments (Atom)
0 Response to Transformation Box-Cox
Post a Comment