similar to: EM Algorithm help library norm

Displaying 20 results from an estimated 3000 matches similar to: "EM Algorithm help library norm"

2006 Nov 27
0
EM algorithm for truncated multivariate mixture of normals
I couldn't find a direct answer in CRAN to this question, so I'm asking with some trepidation. I have a multivariate dataset (data.frame) with columns that can be expressed as a set of mixed normals (at least I think) and need to impute values that have constraints (truncated mixture of normals where the values cannot be below zero). If there isn't a package that can do this, is there
2007 Sep 26
1
using transcan for imputation, categorical variable
Dear all, I am using transcan to impute missing values (single imputation). I have several dichotomous variables in my dataset, but when I try to impute the missings sometimes values are imputed that were originally not in the dataset. So, a variable with 2 values (severe weight loss or no/limited weight loss) for example coded 0 and 1, shows 3 different values after imputation (0, 1 and 2). I
2006 Mar 24
0
Imputing NAs using transcan(); impute()
Dear all, I'm trying to impute NAs by conditional medians using transcan() in conjunction with impute.transcan(). ... see and run attached example.. Everything works fine, however impute() returns saying Under WINDOWS > x.imputed <- impute(trans) Fehler in assign(nam, v, where = where.out) : unbenutzte(s) Argument(e) (where ...) Zus?tzlich: Warnmeldung: variable X1 does not
2013 Jan 07
1
Amelia algorithm
Dear all. First of all, my english isn't verry good, but I hope I can convey my concern. I've a general question about the Amelia algorithm. I'm no mathematician or statistician, but I had to use R and impute and analyse some data, and Amelia showed results that fitted my expectations. I'll have to defend my choice soon, but I haven't totally grasped what Amelia does. I'm
2004 Aug 26
1
EM norm package (NA/NaN/Inf in foreign function call (arg 2))
Greetings! I am bootstrapping and I am using EM in the norm package to fill in missing data for a financial time series with each step of the loop. For the most part EM works fine for me, but the following error message is guaranteed before I hit the 200th scenario: Iterations of EM: 1...2...3........348...349...Error: NA/NaN/Inf in foreign function call (arg 2) The following code should
2009 Apr 24
1
Multiple Imputation in mice/norm
I'm trying to use either mice or norm to perform multiple imputation to fill in some missing values in my data. The data has some missing values because of a chemical detection limit (so they are left censored). I'd like to use MI because I have several variables that are highly correlated. In SAS's proc MI, there is an option with which you can limit the imputed values that are
2011 Feb 07
1
multiple imputation manually
Hi, I want to impute the missing values in my data set multiple times, and then combine the results (like multiple imputation, but manually) to get a mean of the parameter(s) from the multiple imputations. Does anyone know how to do this? I have the following script: y1 <- rnorm(20,0,3) y2 <- rnorm(20,3,3) y3 <- rnorm(20,3,3) y4 <- rnorm(20,6,3) y <- c(y1,y2,y3,y4) x1 <-
2007 Sep 21
1
A reproducibility puzzle with NORM
Hi Folks, I'm using the 'norm' package (based on Shafer's NORM) on some data. In outline, (X,Y) are bivariate normal, var(X)=0.29, var(Y)=24.4, cov(X,Y)=-0.277, there are some 900 cases, and some 170 values of Y have been set "missing" (NA). The puzzle is that, repeating the multiple imputation starting from the same random seed, I get different answers from the repeats
2004 Aug 14
0
Re: extracting datasets from aregImpute objects
From: <david_foreman at doctors.org.uk> Subject: [R] Re: extracting datasets from aregImpute objects To: <r-help at stat.math.ethz.ch> Message-ID: <1092391719_117440 at drn10msi01> Content-Type: text/plain; charset="us-ascii" I've tried doing this by specifying x=TRUE, which provides me with a single imputation, that has been useful. However, the help file
2010 Aug 10
1
Multiple imputation, especially in rms/Hmisc packages
Hello, I have a general question about combining imputations as well as a question specific to the rms and Hmisc packages. The situation is multiple regression on a data set where multiple imputation has been used to give M imputed data sets. I know how to get the combined estimate of the covariance matrix of the estimated coefficients (average the M covariance matrices from the individual
2005 Oct 24
0
In da.norm Error: NA/NaN/Inf in foreign function call (arg 2)
I am conducting a simulation study generating multivariate normal data, deleting observations to create a data set with missing values and then using multiple imputation via da.norm in Schafer's norm package. >From da.norm, I get the following error message: "Error: NA/NaN/Inf in foreign function call (arg 2)" The frequency of the error message seems to depend on the ratio of n
2011 Jun 23
2
Rms package - problems with fit.mult.impute
Hi! Does anyone know how to do the test for goodness of fit of a logistic model (in rms package) after running fit.mult.impute? I am using the rms and Hmisc packages to do a multiple imputation followed by a logistic regression model using lrm. Everything works fine until I try to run the test for goodness of fit: residuals(type=c("gof")) One needs to specify y=T and x=T in the fit. But
2011 Mar 31
2
fit.mult.impute() in Hmisc
I tried multiple imputation with aregImpute() and fit.mult.impute() in Hmisc 3.8-3 (June 2010) and R-2.12.1. The warning message below suggests that summary(f) of fit.mult.impute() would only use the last imputed data set. Thus, the whole imputation process is ignored. "Not using a Design fitting function; summary(fit) will use standard errors, t, P from last imputation only. Use
2007 Nov 30
0
problem using MICE with option "lda"
Hi I am unable to impute using the MICE command in R when imputing a binary variable using linear discriminant analysis. To illustrate my problem I have created a dataset, which consists of 1 continuous and 1 binary variable. The continuous variable is complete and the binary variable is partially observed. I am able to impute using the MICE command where the imputation methods is logistic
2003 Jul 27
1
multiple imputation with fit.mult.impute in Hmisc
I have always avoided missing data by keeping my distance from the real world. But I have a student who is doing a study of real patients. We're trying to test regression models using multiple imputation. We did the following (roughly): f <- aregImpute(~ [list of 32 variables, separated by + signs], n.impute=20, defaultLinear=T, data=t1) # I read that 20 is better than the default of
2012 Oct 19
0
impute multilevel data in MICE
Dear list, Is there any one use MICE package deal with multilevel missing values here? I have a question about the 2lonly.pmm() and 2lonly.norm(), I get the following error quite often. Here is the code the error, could you give me some advice please? Am I using it in the right way? > ini=mice(bhrm,maxit=0) > pred=ini$pred > pred V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15
2005 Jul 09
1
aregImpute: beginner's question
Hello R-help, Thanks for everyone's very helpful suggestions so far. I am now trying to use aregImpute for my missing data imputation. Here are the code and error messages. Any suggestions would be very much appreciated. Sincerely, Anders Corr ######################################## #Question for R-Help on aregImpute ######################################## #DOWNLOAD DATA (61Kb)
2012 Jul 05
0
Confused about multiple imputation with rms or Hmisc packages
Hello, I'm working on a Cox Proportional Hazards model for a cancer data set that has missing values for the categorical variable "Grade" in less than 10% of the observations. I'm not a statistician, but based on my readings of Frank Harrell's book it seems to be a candidate for using multiple imputation technique(s). I understand the concepts behind imputation, but using
2012 Jun 18
1
Package of EM and MI for IRT in R
Dear all members, I am Phd. candidate student at Chulalongkorn U., Thailand. I am interested in expectation maximization algorithm (EM) and multiple imputation (MI) for imputation missing values(missing at random(MAR) and missing not at random (MNAR)) in IRT (3-PL). So, I want to know about package in R or function of EM and MI for simulate this problem I am looking forward your answer.
2009 Oct 21
0
multiple imputation with mix package
I am running into a problem using 'mix' for multiple imputation (over continuous and categorical variables). For the way I will be using this I would like to create an imputation model on some training data set and then use this model to impute missing values for a different set of individuals (i.e. I need to have a model in place before I receive their information). I expected that all