search for: amelia

Displaying 20 results from an estimated 107 matches for "amelia".

2010 Dec 22
3
Help with Amelia
Hi I have used the amelia command from the Amelia R package. this gives me a number of imputed datasets. This may be a silly question, but i am not a statistician, but I am not sure how to combine these results to obtain the imputed dataset to usse for further statistical analysis. I have looked through the amelia and...
2012 Oct 30
1
Amelia imputation - column grouping
Hi everybody, I am quite new to data imputation, but I would like to use the R package ' Amelia II: A Program for Missing Data '. However, its unclear to me how the input for amelia should look like: I have a data frame consisting of numerous coulmns, which represent different experimental conditions, whereby each column has 3 replicates. I want amelia to perform an imputation across th...
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 particularly interested in a simple as...
2011 Jul 14
1
Amelia_Multiple_Imputation_with_observational_priors_noms
..., 3] : NAs are not allowed in subscripted assignments This occurs only when I am using observational priors and some number of nominal variables, it does not occur when I change to specifying the variables as ordinal, or if I do not use priors. Using a doctored version of the example from the Amelia User Guide this is what I came up with: library(Amelia) library(MatchIt) library(Zelig) library(foreign) data(freetrade) a.out = amelia(freetrade, m=5, ts = "year", cs = "country") newtrade = which(is.na(freetrade), arr.ind = TRUE) newtrade newtradeMean = c(30,29...
2012 Feb 21
0
Running Amelia with parallel processors in Windows
Hi, I want to impute a data set multiple times with Amelia, but the data set is large so it takes a long time. As a result, I'm trying to run the multiple imputation with parallel processors in Windows, but am having trouble. Here is a quick example: ###### library(foreach) library(doSNOW) registerDoSNOW(makeCluster(4, type = "SOCK")) getD...
2012 Dec 11
1
Debian packaging and openblas related crash when profiling in R
...hich is encouraging. Now here's the problem I see. Using Rprof causes R to crash, but only when openblas stuff is in the picture. I wondered what you think? Here's the code to reproduce this: datM <- read.csv("http://pj.freefaculty.org/scraps/profile/missingDat.csv") library(Amelia) set.seed(12345) Rprof("Amelia-1.out") impA <- amelia(datM, m = 5, idvars="group") Rprof(NULL) summaryRprof("Amelia-1.out") Here's the crashed session > datM <- read.csv("http://pj.freefaculty.org/scraps/profile/missingDat.csv") > library(A...
2012 May 19
2
how to predict/forecast missing values in time series ?
....1958634 0.8132233 0.4630722 4.9167998 0.8890464 1.3189847 0.7373181 1.1070461 1.2279813 0.8890464 0.3588158 1.4424190 0.8132233 0.4297043 1.3578511 4.9167998 1.2272616 0.8426226 1.4424190 1.6132899 NA in which NA are missing values,i want to predict/forecast it,i search on internet,i found that Amelia packages can impute missing values; i used but it giving error,how can i resolve it library(Amelia) t<-read.table("C:\\Users\\exam\\Desktop\\missing_ts.txt") > a.out <- amelia(t) Amelia Error Code: 42 There is only 1 column of data. Cannot impute > amelia(x=as.matrix(1:1...
2024 Jan 06
0
Amelia. Imputation of time-series data
Colleagues, I have started working with Amelia, with the aim of imputing missing data for time-series data. Although I have succeeded in getting Amelia to perform the imputation, I have not found any documentation describing how Amelia imputes time-series data. I have read the basic Amelia documentation, but it does not address how time-serie...
2011 Jul 22
0
Using package amelia
Hello I do not think I have fully grasped how to use Amelia to deal with missing data. For instance, suppose I have a data.frame variable with 4 columns (year, mon, ssn, dev) = (year, month, measurements, standard deviation of the measurement). Of course, there are some random missing values on columns 3 and 4. The measurements are an almost periodic...
2012 Apr 25
2
Accessing a list
...e the following problem- I want to access a list whose elements are imp1, imp2, imp3 etc I tried theusing the paste comand in a for loop see the last for loop below. But I keep calling it df but df = imp1 (for the first run). Any ideas on how I can access the elements of the list? Isaac require(Amelia) library(Amelia) data.use <- read.csv("multiplecarol.CSV", header=T) names(data.use) = c("year", "dischargex1", "y", "pressurex2" , "windx3") ts <- c (c(1:12), c(1:12), c(1:12), c(1:12), c(1:12), c(1:12), c(1:12), c(1:6) ) length(ts...
2011 Sep 18
2
Add png image outside plot borders
...logo.circle.svg) before the text. I've found that I can plot a .png image inside the plot boundaries using rasterImage() but I can't figure out how to do it outside the boundaries. Any help would be great. If you know unicode or Adobe Symbol encoding for the CC logo, that might work too. ~Amelia McNamara Statistics PhD student, UCLA
2010 Dec 10
3
Adding numbers in Outputs
two OutputsHello! I am Amelia from Auckland and work for a bank. I am new to R and I have started my venture with R just a couple of weeks back and this is my first mail to R-forum. I need following assistance Suppose my R code generates following outputs as > X [[1]] [1] 40 [[2]] [1] 80    160 [[3]] [1] 160   80  400...
2012 Dec 12
3
R-2.15.2 changes in computation speed. Numerical precision?
...example scripts. Better algorithms can avoid some of that slowdown, as you see in this test case. Here is the test code you can run to see: http://pj.freefaculty.org/scraps/profile/prof-puzzle-1.R It downloads a data file from that same directory and then runs some multiple imputations with the Amelia package. Here's the output from my computer http://pj.freefaculty.org/scraps/profile/prof-puzzle-1.Rout That includes the profile of the calculations that depend on the ordinary generalized inverse algorithm based on svd and the new one. See? The KP algorithm is faster. And just as accurat...
2011 Jan 31
2
Rubin's rules of multiple imputation
Hello all, if I have multiple imputed data sets, is there a command or function in R in any package you know of to combine those, I know one common MI approach is rubins rules, is there a way to do this using his rules or others? I know theres ways, like using Amelia from Gary King's website to create the imputed data sets, but how to make them into one or combine them for analysis. ------------------------------------------- Joe King, M.A. Ph.D. Student University of Washington - Seattle 206-913-2912 <mailto:jp@joepking.com> jp@joepking....
2018 Jan 10
2
Error installing ggplot2 package
...connectionIn addition: Warning message:package ?ggplot2? was built under R version 3.5.0? I wonder about the R version 3.5.0 as I checked on the CRAN site, the latest R version is R 3.4.3. I have in fact tried installing older versions too, but the error message remains same. Please guide. Regards Amelia [[alternative HTML version deleted]]
2012 Jul 12
3
plot graph by first letter
Hi all, may i know is it possible to plot a graph by first letter? for example: Name: Age: Angel 20 Amelia 20 Bernard 19 Stephanie 20 Vanessa 22 Angeline 23 Camel 21 If I want to plot the name started with letter 'A' and their Angel, how is it possible to plot it? Thanks. -- View this...
2011 Jan 10
2
Calculating Portfolio Standard deviation
...              2*P2*P3*correlation(DEF, GHI)+                         2*P2*P4*correlation(DEF, JKL)+                         2*P3*P4*correlation(GHI, JKL))                                                  Kindly advise as to how do I calculate the portfolio standard deviation? Thanking in advance Amelia Vettori [[alternative HTML version deleted]]
2018 Jan 10
0
Error installing ggplot2 package
...table GUI interface that call install.packages(). Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Jan 9, 2018 at 10:35 PM, Amelia Marsh via R-help <r-help at r-project.org> wrote: > DeaR Forum, > I am trying to install the library ggplot2. > Currently I am using following R version > R version 3.4.1 (2017-06-30) -- "Single Candle"Copyright (C) 2017 The R Foundation for Statistical ComputingPlatform...
2016 Apr 06
0
Memory problem
...he amount of CPU and memory used so far. I use this all the time to keep track of resource consumption in long running scripts. Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Wed, Apr 6, 2016 at 7:39 AM, Amelia Marsh via R-help < r-help at r-project.org> wrote: > Dear R Forum, > > I have about 2000+ FX forward transactions and I am trying to run 1000 > simulations. If I use less no of simulations, I am able to get the desired > results. However, when I try to use more than 1000 simul...
2016 Apr 06
1
Memory problem
Dear Sir, Thanks for the guidance. Will check. And yes, at the end of each simulation, a large result is getting stored.? Regards Amelia On Wednesday, 6 April 2016 5:48 PM, jim holtman <jholtman at gmail.com> wrote: It is hard to tell from the information that you have provided.? Do you have a list of the sizes of all the objects that you have in memory?? Are you releasing large objects at the end of each simulation...