Milan---

Recommend you make sure you have the very latest version of Amelia (v. 1.2-10)...

I also was having trouble...
The imputation would run, compute all the parameters, and then print,

"Error in matrix(NA, nrow = AMn.ss, ncol = AMp) :
  non-numeric matrix extent"

...But I found out I was one iteration behind on the Amelia updates...

The newest version (1.2-10) fixed this problem (...and also runs much faster!...)

Wayne


-----Original Message-----
From: owner-amelia_at_lists_gking_harvard_edu@mail.hmdc.harvard.edu [mailto:owner-amelia_at_lists_gking_harvard_edu@mail.hmdc.harvard.edu] On Behalf Of Matt Blackwell
Sent: Wednesday, July 15, 2009 09:42
To: Milan Svolik
Cc: amelia@lists.gking.harvard.edu
Subject: Re: [amelia] CSTS data with boundary priors

Hi Milan,

Are you receiving an error message from Amelia? Or are the imputation
falling outside of the specified bounds?

In addition to the bounds argument, there is another way to specify
two-sided bounds using transformations. If you can transform your
variable into a (0,1) variable (that is, a proportion between the two
bounds), then you can pass this transformed variable to the logistic
argument (lgstc), which will force Amelia to always impute it between
0 and 1. After you get the output back from Amelia, you can put it
back on to the original scale with code like this:

for (i in 1:a.out$m) {
  a.out$imputations[[i]]$myvar <- scale*a.out$imputations[[i]]$myvar + offset
}

Filling in the scale and offset values according to the transformation
to a (0,1) variable. This might be of help to someone trying to
implement bounds.

In any case, please give us a bit more detail on your problem and we
can try to run it down.

Thanks,
matt.

On Wed, Jul 15, 2009 at 9:13 AM, Milan Svolik<msvolik@gmail.com> wrote:

> Dear Amelia users/authors:
>
> I was able to impute CSTS data with logical bounds before the latest update
> to Amelia. I was wondering whether anyone else experienced similar problems
> with the latest update (maybe I am just doing something wrong...)
>
> Thanks for any help, best,
>
> Milan
>
> ---
> Milan Svolik
> Assistant Professor
> Department of Political Science
> University of Illinois at Urbana-Champaign
> https://netfiles.uiuc.edu/msvolik/www/
> -
> Amelia mailing list served by Harvard-MIT Data Center
> [Un]Subscribe/View Archive: http://lists.gking.harvard.edu/?info=amelia
> More info about Amelia: http://gking.harvard.edu/amelia
>
>
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.gking.harvard.edu/?info=amelia
More info about Amelia: http://gking.harvard.edu/amelia