search for: ethnic_sg

Displaying 1 result from an estimated 1 matches for "ethnic_sg".

Did you mean: ethnic_g
2013 Apr 05
2
model.frame: object is not a matrix
...rix My attempt at a work-around did not help: Browse[2]> x <- model.matrix(formula(myform), as.matrix(p$data)) Error in model.frame.default(object, data, xlev = xlev) (from mice.R#601) : 'data' must be a data.frame, not a matrix or an array Browse[2]> formula(myform) ~educ_sg + ethnic_sg + hiv + J10 + A5 + mar_stat + orientation + Born_US ~ educ_sg + ethnic_sg + hiv + J10 + A5 + mar_stat + orientation + Born_US + (DWPAD_ActAvoid + DWPAD_EducConf + DWPAD_PasAvoid + DWPAD_Support) * ethnic_sg * racGayDiscStress + 0 Notice there are many three-way interactions, wh...