Displaying 7 results from an estimated 7 matches similar to: "imputationlist, update, and recode"
2008 May 28
1
manipulating multiply imputed data sets
Hi folks,
I have five imputed data sets and would like to apply the same
recoding routines to each. I could do this sort of thing pretty
easily in Stata using MIM, but I've decided to go cold turkey on other
stats packages as a incentive for learning more about R. Most of the
recoding is for nominal variables, like race, religion, urbanicity,
and the like. So, for example, to recode race
2007 May 31
0
Using MIcombine for coxph fits
R-helpers:
I am using R 2.5 on Windows XP, packages all up to date. I have run
into an issue with the MIcombine function of the mitools package that I
hoped some of you might be able to help with. I will work through a
reproducible example to demonstrate the issue.
First, make a dataset from the pbc dataset in the survival package
---------------
# Make a dataset
library(survival)
d <-
2007 Jun 07
1
MITOOLS: Error in eval(expr, envir, enclos) : invalid 'envir' argument
R-users & helpers:
I am using Amelia, mitools and cmprsk to fit cumulative incidence curves
to multiply imputed datasets. The error message that I get
"Error in eval(expr, envir, enclos) : invalid 'envir' argument"
occurs when I try to fit models to the 50 imputed datasets using the
"with.imputationList" function of mitools. The problem seems to occur
2007 Aug 14
0
Panel data and imputed datasets
Hi all,
I am hardly an expert, so I expect that this code is not the easiest/
most efficient way of getting where I want. Any suggestions in that
direction would also be helpful.
I am working on panel analysis with five imputed datasets, generated
by Amelia. To do panel analysis, it seemed that the plm package was
the best, providing a convenient wrapper for fixed and random effects
2007 Mar 02
1
Mitools and lmer
Hey there
I am estimating a multilevel model using lmer. I have 5 imputed datasets so
I am using mitools to pool the estimates from the 5
>
> datasets. Everything seems to work until I try to use
> MIcombine to produced pooled estimates. Does anyone have any suggestions? The betas and the standard errors were extracted with no problem so everything seems to work smoothly up until
2007 Aug 15
0
mitools and plm packages
Hi all,
I am trying to use the functions in the plm package with multiply
imputed datasets. I had tried to combine the datasets using the
imputationList() function of mitools. plm, however, requires a data
argument, and I don't know where to point it to. I'd appreciate any
help people might have.
A (possible) fuller description of the problem and code is in a
previous
2006 Feb 03
1
Using string vectors as for loop arguments
Is there a mechanism to interate through a vector of strings? Say I
have a data frame of 50 variables (VAR1 to VAR50), each with 100
measurements along with some coding factors (EXP and DOSE). I want to
calculate the mean of a subset of each of VAR1 to VAR 50 (selecting
by EXP and DOSE). Rather than just copy/pasting the same code 50
times, I thought of using a for loop to go through a