search for: samplet

Displaying 14 results from an estimated 14 matches for "samplet".

Did you mean: sample
1997 Aug 29
1
R-beta: ar
...ar.test <-function(x, aic=T, order.max=NULL, method="yule-walker") {if(method=="burg") stop("burg method for ar not yet implemented.") warning(" ar function not complete and not checked.") if (is.vector(x))x <- matrix(x, length(x),1) sampleT <- nrow(x) if (is.null(order.max)) order.max <- round(10*log10(sampleT/ncol(x))) AC <- array(NA, c(order.max+1, ncol(x), ncol(x))) # x <- x - t(array(apply(z,2,sum)/nrow(x), rev(dim(x)))) for (i in 0:order.max) {#Om<- (t(x[(i+1):sampleT,,drop=F]) %*% #...
2012 Sep 18
2
Data frame divison by another data frame with common groups and different length
Dear all, I have two different data frames, that have two common variables: date and sample. Here is a small extract of both of them > head(traffic) datet sessiont samplet buddleiat 1 07-08-2012 1 1 1 2 07-08-2012 1 1 1 3 07-08-2012 1 1 1 4 07-08-2012 1 2 3 5 07-08-2012 1 2 1 6 07-08-2012 1 2 2 7 07-08-2012 2 3...
1997 Oct 29
4
R-beta: new executable
I have just put up a new executable as a replacement for the one in rseptbeta.zip there have only been a few changes; mostly to the menu's. I am about to start on a major overhaul including getting survival to work and grabbing the 0.60 version once it's stable. Please let me know about other enhancements you want.... robert
1997 Oct 29
4
R-beta: new executable
I have just put up a new executable as a replacement for the one in rseptbeta.zip there have only been a few changes; mostly to the menu's. I am about to start on a major overhaul including getting survival to work and grabbing the 0.60 version once it's stable. Please let me know about other enhancements you want.... robert
2003 Sep 08
2
pacf lags
pacf in devel seems by default to return a different number of lags than 1.7.1 for $pacf. I don't see any mention of this in the NEWS file, or any change in the documentation, so I suspect it is and error, though it may be an undocumented improvement. (Newbie question: How is the simplest way to display a function like pacf.default that is not exported from a namespace?) Paul
2001 Mar 19
0
DUP=T/F
...is bigger than I would expect and may be a symptom of another problem. Any comments or suggestions? (R1.2.2 on Solaris.) Paul Gilbert _______ genD.ARMA <- function(model, data, d=0.01, eps=1e-4, r=6, warn=F){ n <-length(c(output.data(data))) # this has the same length as the residual sampleT <-periods(data) ps <-dim(model$A)[3] ms <-dim(model$C)[3] ns <-ps # this could be 1 except z0 is used for TREND and F, Q and R for scratch loc <- match(model$location, c("A","B","C","t")) cloc <- match(mode...
2010 Dec 08
1
Newbie trying to understand $ so I can understand acf function in stats
I am trying to understand the function acf stats:::acf shows me the function I am having trouble understanding the usage "$acf" in the following acf <- array(.C(R_acf, as.double(x), as.integer(sampleT), as.integer(nser), as.integer(lag.max), as.integer(type == "correlation"), acf = double((lag.max + 1L) * nser * nser), NAOK = TRUE)$acf, c(lag.max + 1L, nser, nser)) I interpret it as ... we are forming an array of dimensionality 3, and the contents o...
1997 Dec 19
2
Error in parse
In R 0.60.1 when I source a fairly large file of code I am getting: Error in parse(file, n, text, prompt) : syntax error on line 2985 I don't see any error and it doesn't happen if I split the file in two pieces. increasing -v -n does not seem to help and does not change the location of the error. Does anyone have suggestions? Paul Gilbert
2000 Feb 11
1
Help Help!
...dealing with acf (Autocovariance function) and need help. First I defined a time series, x, which is a vector created by x <- ts(rnorm(200)). So I plugged the series directly into the acf function, acf(x) and an error message popped up as: Error in .C("acf", as.double(x), as.integer(sampleT), as.integer(nser), : C/Fortran function name not in load table I downloaded R to my PC and am thinking if it's anything to do with the operating system. Please help me out! The second question is about arima simulation. I have an AR and MA process and need to simulate 200 observations fro...
2000 Feb 11
0
Help Help 2
...dealing with acf (Autocovariance function) and need help. First I defined a time series, x, which is a vector created by x <- ts(rnorm(200)). So I plugged the series directly into the acf function, acf(x) and an error message popped up as: Error in .C("acf", as.double(x), as.integer(sampleT), as.integer(nser), : C/Fortran function name not in load table I downloaded R to my PC and am thinking if it's anything to do with the operating system. Please help me out! The second question is about arima simulation. I have an AR and MA process and need to simulate 200 observations fro...
2005 May 12
3
acf problem ?
Hi I'm getting the following error that do not make sense to me, what am Idoing wrong ? > acf(Recsim[1,], lag.max=1) Error in acf(Recsim[1, ], lag.max = 1) : 'lag.max' must be at least 1 Regards EJ
2010 Jul 13
0
Bug in acf function?
I'm using R-2.9.1, so forgive me if this has already been resolved. One element of the object returned from the acf function is n.used, described in the man page as "The number of observations in the time series". However, I've noticed that this value is set to nrow(x) via the sampleT variable, i.e. the number of rows in the passed-in series. This forces an assumption that all rows of the series contain values. Since it's possible to calculate an acf from an incomplete series by passing 'na.action=na.pass', I would suggest that the value of n.used in this instance s...
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
Macros to use VMI calls from assembly and C languages are introduced. The macros are quite complex, but the end result is rather impressive. The result is that when compiling a VMI kernel, the native code is emitted inline, with no function call overhead, and some wiggle room for register allocation. The hypervisor compatibility code is emitted out of line into a separate section, and patched
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
Macros to use VMI calls from assembly and C languages are introduced. The macros are quite complex, but the end result is rather impressive. The result is that when compiling a VMI kernel, the native code is emitted inline, with no function call overhead, and some wiggle room for register allocation. The hypervisor compatibility code is emitted out of line into a separate section, and patched