As an example, consider trivariable data as follows:
X1 x2 x3
x
X
x
, say, 3 variables with the 3rd variable having missing data.
-----Original Message-----
From: Spencer Graves [mailto:spencer.graves@PDF.COM]
Sent: 22 April 2003 21:38
To: Ken Nip
Cc: 's-news@lists.biostat.wustl.edu'
Subject: Re: [S] Multiple Imputations within a loop
1. Have you considered "try"?
2. If you provide a simple example that illustrates the problem, it is
easier for others to help.
spencer graves
Ken Nip wrote:
> The data set that I am looking at consists of thousands
> of n.samples-by-p.variables multivariate data sets containing missing
> data. For each data set I would like to impute missing data using DA
> method, so I've decided to explore and use a loop. Unfortunately, I am
> having not much of a success with DA within a large 'for' loop. I am
> having convergence problem for the starting values (created by either
> bootstrap or parallel chains) at some point within the loop. I have
> checked that it wasn't the case when I manually run DA on the data sets
> which caused the non-convergence. I wonder whether I shouldn't use DA
> within a loop at all or is there something else I should be made aware
> off. Has anyone came across with a similar problem before? Any
> recommendations would be great.
>
> Thanks in advance.
>
> Ken Nip
>
>
> ********************************************************************
> The information transmitted by this email is private and confidential
> and is intended for the use of the intended recipients specified
> therein. If you are neither an intended recipient nor an employee
> or agent responsible for delivery to an intended recipient,
> you should be aware that any dissemination, distribution
> or copying of this communication is strictly prohibited.
> If you received this communication in error, please
> notify us immediately.
> ********************************************************************
|