Hi Drew,
You should be able to exclude variables from the regression by putting them
into the "idvars" argument. Hope that helps!
Cheers,
Matt
~~~~~~~~~~~
Matthew Blackwell
Assistant Professor of Government
Harvard University
url:
http://www.mattblackwell.org
On Thu, Apr 20, 2017 at 6:01 AM, Drew Altschul <d.m.altschul(a)sms.ed.ac.uk>
wrote:
Hello,
I have a dataset with a very large number of columns (>10000) and fewer
rows, but still a lot (>4000). I want to impute some data with Amelia for
use in Zelig. I know what variables I am interested in using in the
regressions, but there are a number of missing values, so I was hoping I
could leverage the rest of the dataset to come up with imputations for the
variables of interest.
Hence, I only want to impute missing values in a few columns of my
dataset, rather than spending loads of time imputing all the other values
which I don't need and getting error 34 trying to do this. Problem is that
I can't figure out how to exclude columns from being imputed without
excluding them from the entire analysis.
I guessed this would be straight-forward, but I searched and searched and
came up with nothing, so if anyone can help me sort this out, I would very
much appreciate it.
Thanks,
Drew
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
Amelia mailing list served by HUIT
[Un]Subscribe/View Archive:
http://lists.gking.harvard.edu/?info=amelia
More info about Amelia:
http://gking.harvard.edu/amelia
Amelia mailing list
Amelia(a)lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/amelia