Displaying 20 results from an estimated 700 matches similar to: "multiple imputation with mix package"
2005 Feb 16
1
problem with da.mix
Hello,
We use the mix package and we have a problem with the DA function. We aren't
sure, but it's maybbe a memory problem.
We have done:
> Ent<--read.table("C:/.../File.txt")
> attach(Ent)
> Ent
V1 V2 V3 V4 ... V16 V17
1 1 1 2 6 18 18
2 1 1 1 NA 14 17
3 1 1 2 1 16 14
....
199 2 1 NA 7 19 18
200
2000 Dec 19
1
translation from the old-S
In ancient times, circa 1980, S data directories were called swork and sdata
not .Data, and "New-S" as described in the already medieval "Blue Book"
discusses a function DBCONVERT that converted swork data into .Data data.
It is embarrassing to admit it, but I still have data archives from a BTL
machine called alice in the swork format and would like to convert a dataset
to
2005 Aug 21
1
Warning when using 'prelim.mix' from the package 'mix'
'sodexquan' is an data frame of numeric variables with some missing values.
I would like to approximate these missing values using some algorithm.
I thereby chose the mix package.
But when trying to run the 'prelim.mix' function (aka the function that will
prepare the data for further calculations), R says:
prelim.mix(truc,0)
Error in as.integer.default(list(c(32, 52, 32, 27, 34,
2005 Feb 11
2
pb with package mix
hello,
We've got a problem with the mix package in order to impute the missing data.
After importing the data, the prelim function does not work (only the stlouis
data works).
We have done :
>library(mix)
>Manq <- read.table("C:/.../file.txt")
>attach(Manq)
>save(Manq,file="C:/../R/rw2001/library/mix/data/Manq.rda")
>data(Manq)
>Manq
V1 V2 V3 V4
1
2004 Dec 16
1
help with multiple imputation using imp.mix
I am desperately trying to impute missing data using 'imp.mix' but always
run into this yucky error message to which I cannot find the solution. It's
the first time I am using mix and I'm trying really hard to understand, but
there's just this one step I don't get...perhaps someone knows the answer?
Thanks!
Jens
My code runs:
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
2005 Oct 04
0
The error message in package Mix
Hi all,
When using package MIX, I often get the error: NA/NaN/Inf in foreign
function call (arg 1).
For example,
> s<-prelim.mix(Y,6)
Error in prelim.mix(Y, 6) : NA/NaN/Inf in foreign function call (arg 1)
or when I ran:
MI<-vector("list",5) #<--vector of complete data after MI
fit.model.mi<-vector("list",5)
rngseed(1234567) #<-- set random number
2007 Jan 12
1
R editor vs. Tinn-R
Have you used Tinn-R and what landmines await the inexperienced?
I could not understand why a script that used to work stopped working.
Look at these two scenarios
I opened an excel spreadsheet and copied several cells to the clipboard
Then Scenario 1
Executed from Tinn-R
> prelim<-read.delim("clipboard")
> str(prelim)
'data.frame': 0 obs. of 1 variable:
$
2005 Jan 28
1
R-Help : running MIX package
Hello all. I am inexperienced with R and am clumsily trying to work through it for specific multiple imputations Id like to run for my thesis.In running the MIX package, I keep getting an error message regarding the use of the prelim.mix command.
Error in as.integer.default(list(alcohol = c(1, 1, 1, 1, 1, 1, 1, 1, 1, :
(list) object cannot be coerced to integer
I cannot find the
2005 Feb 24
1
problem (bug?) with prelim.norm (package norm)
dear list members,
there seems to be a problem with the prelim.norm function (package norm)
as number of items in the dataset increases.
the output of prelim.norm() is a list with different summary statistics,
one of them is the missingness indicator matrix "r". it lists all
patterns of missing data and a count of how often each pattern occured
in the dataset. as the number of items and
2015 Aug 12
3
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
Hi all,
An early implementation of extending debug ranges and providing multiple
location support is done here: http://reviews.llvm.org/D11933
Design document:
https://docs.google.com/document/d/1noDVWTvTWBdYdweICPBwvwyt8QvX4KHl7j3XKNSg1nE/edit?usp=sharing
On Jun 24, 2015, at 12:12 PM, Alexey Samsonov <vonosmas at gmail.com> wrote:
Hi Adrian,
You might want to take a look at abandoned
2007 Apr 25
1
prelim.norm() function not working
R-experts:
I am trying to reproduce some of Paul Allison's results in his little
green book on missing data (Sage 2002). The dataset for which I am
having problems, "usnews", can be found at:
http://www.ats.ucla.edu/stat/books/md/default.htm. I am working on a
Windows machine with R 2.5 installed, all packages up-to-date.
The problem has to do with the prelim.norm() function of the
2007 Jul 12
1
mix package causes R to crash
Dear Professor Schaefer
I am experiencing a technical difficulty with your mix package.
I would appreciate it if you could help me with this problem.
When I run the following code, R 2.5.1 and R 2.6.0 crashes.
It's been tested on at least 2 windows machine and it is consistent.
Execution code it's self was coped from the help file of imp.mix.
Only thing I supplied was a fake dataset.
2003 Apr 29
1
Shafer's MIX: Query on code
Thanks to Fernando Tusell and especially to Brian Ripley for
their work on 'mix', leading to an apparently good package
mow available on CRAN.
Going through the R code for the function prelim.mix, I am
wondering why the following method of calculation is used
at one point:
umd <- as.integer(round(exp(cumsum(log(d)))))
(d is a vector containing, in effect, the numbers of levels of
2004 Apr 05
1
normalized regression output
Hi: I would like to write a function that takes as its input a formula
and outputs normalized coefficients ( coef(x)*sdv(x)/sdv(y) ). now, a
formula is an object, and I cannot see how to extract the variables for
obtaining sdv's. the intent is to write something like
my.print.lm( formula ) {
model <- lm(formula);
coefs <- (t(summary.lm(model)))[1,];
tvals <-
2010 Jun 16
1
Too many columns with prelim.norm
Hi everyone,
I'm trying to use prelim.norm with a "big" matrix (36 columns by 10000 or so rows). I found that prelim.norm has a built-in limit of 30 columns, but I'd still really like to use it for my data. Does anyone know of a different way to do the same thing? Or, would it be easier to try to modify the source code? Thanks!
Josh
2013 Mar 06
6
Ggplot2: Moving legend, change fill and removal of space between plots when using grid.arrange() possible use of facet_grid?
Hi,
# For publications, I am not allowed to repeat the axes. I have tried to
remove the axes using:
# yaxt="n", but it did not work. I have not understood how to do this in
ggplot2. Can you help me?
# I also do not want loads of space between the graphs (see below script
with Dummy Data).
# If I could make it look like the examples on the (nice) examples page:
#
2015 Jun 23
4
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
Here is a proposal for improving DbgValueHistoryCalculator and the
overall quality of debug locations.
Focus: This is about lowering the DBG_VALUE machine instructions to
DWARF location lists.
Non-focus: This is not about (typical -O0) variables that permanently
reside at a frame index and are described with dbg.declare intrinsics
in the IR. These variables are stored in the MMI side-table and
2006 Aug 09
3
Pb with ssl_disable in 1.0RC6
Hi,
I have a problem after upgrading dovecot 1.0rc1 to 1.0rc6.
I don't use SSL at all so I have 'ssl_disable = yes' in my configuration. This works
fine in 1.0rc1 but dovecot 1.0rc6 failed to start with the following error
message "dovecot: Login process died too early - shutting down".
Setting 'ssl_disable = no' resolves the problem but now dovecot announce TLS
2008 Apr 18
2
dovecot 1.1.rc4 -> 1.0.10 : Recent counter wrong
Hi,
I have tested dovecot 1.1.rc4. I seems to works fine with my configuration.
I have also tested the downgrade from 1.1rc4 to 1.0.10. It seems to work fine
too expect the following messages.
Apr 15 14:46:44 dev dovecot: IMAP(lolo at gretel.com): Fixing header counts in index /data/mail/gretel.com/l/o/lolo//dovecot.index: Recent counter wrong
Apr 15 14:46:49 dev dovecot: IMAP(lolo at