Displaying 2 results from an estimated 2 matches for "fac2_1".
2012 Sep 19
2
invalid labels; length 2 should be 1 or 0
Dear list,
I am trying to impute the two level data, I have a question about a warning. Could you give me some suggestions please? Thank you very much.
Here is my code and output of mice package:
> ini <- mice(try, maxit=0)
> pred=ini$pred
> pred
FAC1_1 FAC2_1 FAC3_1 FAC4_1 FAC5_1 FAC6_1 FAC7_1 FAC8_1 FAC9_1 FAC10_1 ClassSize_1 ClassSize_2 ClassSize_3 intercept TeacherID_1 bulg_1 bulg_2
FAC1_1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FAC2_1...
2006 Apr 29
1
help with box-tidwell
Hi everyone
I am using box.tidwell to transform the explanatory variables. However, it appears problematic.
The warning I received as follows.
box.tidwell(Newresponse ~ FAC2_1 + FAC4_1 + FAC5_1 + FAC6_1 + FAC7_1 + KXI + RECODINC)
Warning in log(x) : NaNs produced
Warning in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
extra arguments na.rm are just disregarded.
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :...