On Mon, Apr 27, 2009 at 2:01 PM, Todd Whitehead
<
toddpwhitehead@gmail.com> wrote:
> Hi,
>
> I'm using Amelia in R to impute missing values for my data, but I'm having a
> problem. When I include a bounds= argument, I get an error message as
> follows:
>
> "Error in matrix(NA, nrow = AMn.ss, ncol = AMp) :
> non-numeric matrix extent"
>
> Here is what my code looks like:
>
> imput.bound<-matrix(c(1,2,3,4,5,6,7,8,9,10,
> -50,-50,-50,-50,-50,-50,-50,-50,-50,-50, 20,20,20,20,20,20,20,20,20,20),
> nrow = 10, ncol=3, byrow=FALSE,)
> blod<-amelia(data=nonmiss, m=5, p2s=1, idvars="childid", bounds=imput.bound,
> max.resample=100)
>
> Does anybody see what I'm doing wrong? I tried looking through the
> reference guide, "Amelia II: A Program for Missing Data", but I couldn't
> find any info on this particular error message. Any advice you could offer
> would really be appreciated.
>
> Thanks,
> Todd