similar to: boot.ci: [Error: cannot allocate vector of size 1.5 Gb]

Displaying 20 results from an estimated 10000 matches similar to: "boot.ci: [Error: cannot allocate vector of size 1.5 Gb]"

2011 Dec 19
1
Boot: Confidence Interval
Dear R users, I have a very simple query. I am using bootstrap (library(boot)). I want to access the std. error in the results and further generate confidence interval(CI) for n no. of samples which will give me n values for std. error and CI. * * b1 ORDINARY NONPARAMETRIC BOOTSTRAP Call: boot(data = int.inc, statistic = med, R = 1000) Bootstrap Statistics : original bias std. error
2011 Feb 16
2
boot.ci error with large data sets
Dear List I have run into some problems with boot.ci from package boot. When I try to obtain a confidence interval of type bca, boot.ci() returns the following error when the data set i large: Error in bca.ci(boot.out, conf, index[1L], L = L, t = t.o, t0 = t0.o, : estimated adjustment 'a' is NA Below is an example that produces the above mentioned error on my machine. library(boot)
2012 Apr 23
2
subset daily to monthly in a zoo or xts
Dear R users, I want to subset a daily zoo series according to its month, find % of "NA" in each month. I am finding it difficult to subset the daily dataset into monthly for the given operation.I am planning to do this for a huge dataset. Thanks in advance. Regards Vikram [[alternative HTML version deleted]]
2006 Dec 21
4
where is the source code of bca.ci?
i was searching for the source of bca.ci, a function of the package boot. I tried require(boot, keep.source=TRUE) but again the source was not viewable. How should i do? Best regards Meinhard Ploner ---------------- PS > version _ platform i386-apple-darwin8.8.1 arch i386 os darwin8.8.1 system i386, darwin8.8.1 status major 2
2012 Dec 07
2
Converting character to numeric: Error: (list) object cannot be coerced to type 'double'
Dear R users, I am facing a pretty a unusual problem while converting character to numeric. Any input would be appreciated. Below is the code and error faced: --------------------------------------- *> str(cmie.dts)* *'data.frame': 4397 obs. of 1 variable:* * $ INE001A01036: chr "1482181740.000000" "1482181740.000000" "1482181740.000000"
2011 Sep 14
1
Strucchange generating breakpoints
Hi, I am new to R. I am using strucchange to get the breakpoints in time series dataset. So the problem I am facing is: I want to link the result generated by the breakpoints to further analysis (for eg. generating volatility for each group). The result is in following form: --------------------------------------- > res <- gbreakpoints(GDP.new ~ 1,data=a,h=2,breaks=6) > res
2013 Mar 12
1
Bootstrap BCa confidence limits with your own resamples
I like to bootstrap regression models, saving the entire set of bootstrapped regression coefficients for later use so that I can get confidence limits for a whole set of contrasts derived from the coefficients. I'm finding that ordinary bootstrap percentile confidence limits can provide poor coverage for odds ratios for binary logistic models with small N. So I'm exploring BCa confidence
2011 Sep 21
1
Statmath-R-Forge: Request denied
Dear All, I want to subscribe for Statmath-R-Forge mailing list. But I am getting the following reply and I am unable to subscribe. Any insight on this would be appreciated. Regards Vikram Bahure __________ Your request to the Statmath-R-Forge mailing list Subscription request has been rejected by the list moderator. The moderator gave the following reason for rejecting your request:
2005 Jan 27
2
[LLVMdev] Building the llvm runtime: 'Can't destroy file: Theprocess cannot access the fi
>From: Jeff Cohen Date: Wed, 26 Jan 2005 19:47:44 -0800 > >Fixed. Yes, now it isn't the path. I've recorded this trace: ------------------------- llvm[3]: Building Debug Bytecode Archive libc.bca /bin/rm -f /C/projects/build/MinGW/llvm-4-1/Debug/lib/libc.bca /C/projects/build/MinGW/llvm-4-1/Debug/bin/llvm-ar rcsf /C/projects/build/MinGW/llvm-4-1/Debug/lib/libc.bca
2010 Feb 25
1
Help with simple bootstrap test
Hi all Forgive me, I'm a total R newbie, and this seems to be a straightforward simple bootstrap problem, but after a whole day of trying to figure out how to do it I'm ready to give up. Part of the problem is that every example and every help page seems to be about doing something more far more complex. I'm got a table with 40 columns and 750 rows. I sum all the values across the
2011 Mar 06
1
bootstrap
In the boot package,consider a scalar function to boot. > estimator <- function(x, d) { + mean(x[d]) + } > > data <- city$u > b <- boot(data, estimator, R=1000) > b$t0 [1] 64 > ci <- boot.ci(b, type=c("bca"), conf=.95) > ci$bca conf [1,] 0.95 49.44 991.39 36.78807 110.0254 Now if I want estimators to return a vector,E.g. it's {c(mean(x[d]),
2010 Aug 16
2
When to use bootstrap confidence intervals?
Hello, I have a question regarding bootstrap confidence intervals. Suppose we have a data set consisting of single measurements, and that the measurements are independent but the distribution is unknown. If we want a confidence interval for the population mean, when should a bootstrap confidence interval be preferred over the elementary t interval? I was hoping the answer would be
2003 Apr 24
1
bca ci's and NaN's in boot.out
Dear All, I am trying to use the bca.ci function on a boot.out object which consists a few NaN's and I want to ignore those NaN's, and get a ci only for the "normal" values. boot.out$t has R number of values for 3000 different statistics, so when I use boot.ci(boot.out, index=i) and i happens to be a column in boot.out$t with some NaN's in there I get an error message. I
2013 Sep 01
1
Blur and not readable text, using geom_text in ggplot
Dear R Users, I am new to ggplot. I am using geom_text to inscribe values on my ggplot but it is giving me values which are unreadable and blur. Please let me know if there is any way out. ----------------- Code ----------------- *es <- es3 + geom_text(data=tmp.cor, aes(x=2, y=min(infer.df$value),* * label=text.bottom), colour="black",* *
2012 Jan 13
2
Remove space from string
Dear R users, I have some trivial query. I have a string, I want to remove space from the string. For eg. Input: a <- " Remove space " Output required: "Removespace" I tried using str_trim but only removes end spaces. library(stringr). Regards Vikram [[alternative HTML version deleted]]
2003 Jul 31
1
namespace magic
I'm confused about name spaces. This morning I installed the boot package because I wanted to look at bca.ci. So I did library(boot), but then I had, > bca.ci Error: Object "bca.ci" not found I had a look in the boot R directory and bca.ci was there as expected. So then I took a look at the NAMESPACE file for the boot package and saw that bca.ci wasn't exported. I tried
2010 Dec 16
1
Arguments in functions
Hello, I'm not much of a programmer, and am trying to understand the workings of the function below called "RStatFctn" within this bootstrap procedure. RStatFctn is defined to have two arguments: "x", intended to be a data vector; and "d" intended to be an index (or so it looks to me). Later, "rnormdat" is created to be the data vector. However,
2011 Sep 13
1
estimating Fstats in strucchange
Hi, I am new to R. It would be kind if I could get some help on this. I am using R to estimate Fstats but I am getting following error. a3 is annual GDP data from 1951 to 2010. > fs<- Fstats(ecm.model, from=1954, to = 1975,data=a3) Error in Fstats(ecm.model, from = 1954, to = 1975, data = a3) : inadmissable change points: 'from' is larger than 'to' In addition: Warning
2011 Oct 10
1
Converting factor into date
Dear R users, I have an elementary query. I have a dataset which is taken from text file with the help of read.csv command but when I generate the data in R file it converts the Dates into factor.So for the above problem, I use as.Date to convert the Dates from factor form to date format using the following: z has Date as a column. *z<- read.csv("data", header = TRUE, sep =
2011 Nov 17
1
Exclude NA while summing
Dear R users, I am new to R and have some query. I am having a dataset with binary output 0's and ones. But along with it it has NA's too. I want to sum all the rows and get the sum total for each column. But whenever there is a NA in an row the sum of the row is returned as NA so I am not able to sum up the values. *row.sums.m <- apply(dummy.curr.res.m,1,sum)* It would be helpful