AmeliaView() - Logfile includes not working call of amelia
LutzDE opened this issue · comments
AmeliaView includes a logfile, which is very helpful if you don't know the syntax of statements.
In the case of using the bounds parameter, the generated "call of amelia" is not working.
Set a few bounds and call amelia to get a logfile.
Logfile output:
amelia(x = getAmelia("amelia.data"), m = 5, idvars = "country",
ts = "year", cs = NULL, priors = NULL, lags = "infl",
empri = 0, intercs = FALSE, leads = "population", splinetime = NULL,
logs = NULL, sqrts = NULL, lgstc = NULL, ords = NULL, noms = NULL,
bounds = c(3, 5, 5, 10, 10, 20), max.resample = 1000, tolerance = 1e-04)
Working in R it generates the following error:
Error in bounds[, 1] : incorrect number of dimensions
I think, the correct output is:
amelia(x = africa, m = 5, idvars = "country",
ts = NULL, cs = NULL, priors = NULL, lags = NULL, empri = 0,
intercs = FALSE, leads = NULL, splinetime = NULL, logs = NULL,
sqrts = NULL, lgstc = NULL, ords = "year", noms = NULL,
bounds = rbind(c(3,5,10),c(5,10,20))
, max.resample = 1000, tolerance = 1e-04)