Error in amcheck(x = x, m = m, idvars = numopts$idvars, priors = priors, :
It then lists about half of my variables as being "perfectly collinear". This is improbable at best. Besides trimming my dataset starting with all problematic variables, then slowly adding them back in, are there any other potential solutions?
Thanks!
Sara Anderson
Original code:
amelia(x = getAmelia("amelia.data"), m = 5, idvars = c("studentid", "bg_id"), ts = NULL, cs = NULL, priors = NULL, lags = NULL, empri = 0,
intercs = FALSE, leads = NULL, splinetime = NULL, logs = NULL,
sqrts = NULL, lgstc = NULL, ords = NULL, noms = c("gifted_14",
"ell_14", "sped_14", "mom_conf", "peer_1d", "peer_2d", "grade_14",
"district", "female", "ps", "lastyrpk", "lastyrhs", "lwfather",
"internet", "race2", "tpslunch0607", "daycare_oh3", "preschool3",
"headstart3", "centerbased3", "foreignborn", "english", "momeduc",
"sus_13d", "marital_r"), bounds = c(1, 2, 3, 6, 7, 11, 14,
42, 43, 0, 0, 0, 0, 0, 0, 0, 400, 400, 4, 4, 4, 990, 990,
4, 2, 990, 990), max.resample = 1000, tolerance = 1e-04)