similar to: EWMA procedure to forecast variance

Displaying 20 results from an estimated 1000 matches similar to: "EWMA procedure to forecast variance"

2007 May 16
0
suppress plot w/ ewma function from qcc pkg
Hi, I've been searching for a solution to this but have come up empty. I would like to suppress the plot creation when using the ewma function in the qcc package. Normally it's just plot = FALSE, but the ewma function doesn't have this option. Anything I'm missing or a work around? Many thanks, Brian Francis Statistician II Charles River Laboratories
2007 Jul 03
2
EWMA in fMultivar
Hello, I would like to use the function EWMA() in the fMultivar Package and I have a series of data x, which is the returns series. Basically, I would like to get the variance estimation using EWMA. I am trying something like EWMA(x, lambda) and I have a couple of questions: Should x be the returns series or price series in my case? When I get the result, there are the same numbers of data
2007 Jul 05
3
Loop and function
Hi All, I am trying to make a loop for a function and I am using the following codes. "p" and "var" are some matrix obtained before. I would like to apply the function "gpdlow" for i in 1:12 and get the "returnlow" for i in 1:12. But when I ask for "returnlow" there are warnings and it turns out some strange result. for (i in 1:12){ gpdlow
2004 Jul 26
1
qcc package & syndromic surveillance (multivar CUSUM?)
Dear R Community: I am working on a public health early warning system, and I see that the qcc package allows for CUSUM and other statistical quality tests but I am not sure if my project is a good match for qcc functions as written. Any advice you may have is very much appreciated. I have four years worth of daily counts of emergency room admissions for different conditions (e.g. respiratory,
2010 Jul 29
2
multiple graphics windows open
Dear R People: Now I have a function with 3 graphics windows. I'd like for them all to be visible. However, the first window goes blank. Here is the basic setup. The first plot is the entire series. The user selects two points, which in turns generates a subset plot and an EWMA subset plot. Finally, if things worked right, the user should be able to click on "Tile Vertically"
2007 Jun 19
2
Histogram
Hello, I am using the following codes to plot a histogram and density line for x. For the density line, I just want it to show the two tails, eg, for x larger than 0.05 ans smaller than -0.05 hist (x, seq(-0.1,0.1,0.01),freq = FALSE) lines (density(x,bw="SJ"), x> 0.05 & x< (-0.05), col = "red") But is does not work, can anyone give me some advice? -- View this
2007 Dec 03
2
Linear Regression, Data is a list
Hello, I would like to perform a linear regression and the data is a list.e.g lm(list$abc~., data=list) or lm(abc~., data=list), which would give the same result. The problem is I would like to call the response variable in a more general form. What I try to achieve is sth like lm(list$(paste("a","b","c"))~., data=list), but it does not work. Could anyone give me
2007 Oct 02
5
Linear Regression
Hello, I would like to fit a linear regression and when I use summary(), I got the following result: Call: lm(formula = weight ~ group - 1) Residuals: Min 1Q Median 3Q Max -1.0710 -0.4938 0.0685 0.2462 1.3690 Coefficients: Estimate Std. Error t value Pr(>|t|) groupCtl 5.0320 0.2202 22.85 9.55e-15 *** groupTrt 4.6610 0.2202 21.16 3.62e-14
2007 Jun 19
2
Function -return value
Hi, I am trying to write a function with the following codes and I would like it to return the values for "alpha beta para parab " seperately. Then I would like to use this funstion for "variable" with factor "a" and "b". But the result turns out to be a matrix with element like "Numeric,2" ... I guess they are just the values for
2007 Jul 10
3
ECDF, distribution of Pareto, distribution of Normal
Hello all, I would like to plot the emperical CDF, normal CDF and pareto CDF in the same graph and I amusing the following codes. "z" is a vector and I just need the part when z between 1.6 and 3. plot(ecdf(z), do.points=FALSE, verticals=TRUE, xlim=c(1.6,3),ylim=c(1-sum(z>1.6)/length(z), 1)) x <- seq(1.6, 3, 0.1) lines(x,pgpd(x, 1.544,0.4373,-0.2398), col="red") y
2007 Jul 03
4
sequences
Hi, I would like to generate a series in the following form (0.8^1, 0.8^2, ..., 0.8^600) Could anyone tell me how can I achieve that? I am really new to R. -- View this message in context: http://www.nabble.com/sequences-tf4019146.html#a11414836 Sent from the R help mailing list archive at Nabble.com.
2007 Jun 29
2
cbind
Hi, I have a series of return data, a and b are factors. I would like to build a matrix which contains each vector of "returns". I am thinking about something as following, but I guess there should be a sensible way of doing this. returns <- split(return, list(regimef, assetf)) cbind(returns[[1]], returns[[2]],...,returns[[n]]) Could anyone give me some advice? Many thanks. --
2007 Sep 17
2
vector name
I have got a list named "filtered", I would like to construct alist named "fdata" as following: fdata <- cbind(matrix(unlist(filtered),ncol=28), myregime) If I try names(filtered), it gives all the correct name for each vector, but if I try names(fdata), it appears "filtered[[1]]" "filtered[[2]]" ..., How can I keep the name in "fdata"?
2007 Oct 31
2
cbind()
Hello, I would like to use the cbind() function to construct a matrix used in the middle of a function as following for (i in 1:1000) { b[i] <- function(cbind(a[[1]][[i]], a[[2]][[i]],a[[3]][[i]],...a[[67]][[i]])) } Is there an easy way of achieving this rather than "cbind" every column? -- View this message in context: http://www.nabble.com/cbind%28%29-tf4724534.html#a13507633
2010 Jul 29
1
multiple graphics windows open with sessionInfo
Dear R People: Hello again. I'm trying to have 3 graphics windows visible simultaneously. I set up a zoo series. Then I plot the original series. I use the locator function to select 2 values from the original series, which generates a subset of the original series. Next, I plot the subset. The last step is to produce an EWMA chart from the subset series. Fair enough. I've tried
2007 Nov 07
2
Linear Regression
Hello everyone, I would like to a linear regression with the following code. lm(a[,"fquamsci"]~., data=a) a is a list with class "mts" "ts" , and "fquamsci" is the name of the response variable in a. I would like to do a linear regression of "fquamsci" to the rest of the variables. But it turns out the "fquamsci" is also included in
2019 Aug 20
2
qcc con par
Hola colegas, por favor si me indican que estoy haciendo mal. Estoy tratando de usar el paquete QCC y colocar mas de gráfico de control en una sola ventana usando función "par" con "qcc" para presentar varios gráficos en la misma ventana. He probado pero no funciona, solo muestra un gráfico miren el código # set unequal sample sizes n <- c(rep(50,5), rep(100,5), rep(25, 5))
2008 Sep 02
2
qcc help
Hi Gents, I need to get the control limits from qcc function. As follows: qcc(MDI, type = "xbar.one") Call: qcc(data = MDI, type = "xbar.one") xbar.one chart for MDI Summary of group statistics: Min. 1st Qu. Median Mean 3rd Qu. Max. 0.3266 0.4249 0.4371 0.4333 0.4451 0.4858 Group sample size: 1 Number of groups: 383 Center
2011 Oct 14
3
qcc package
Hi All, I installed qcc package and the dependency packages. For the first time I can use the function : process.capability.sixpack(). But later when ran the code again I always got the following error: Error: could not find function "process.capability.sixpack". I tried reinstalling the qcc package but didn't help. Does anyone have this kind of experience? Thank you! Regards, Yan
2007 Dec 03
1
help on qcc
Hello R Experts, I started to work with the qcc package and it wprks quite nicely. Heres My Code: n <- c(55,5,94,25,10,15,15,40,44,34,90,114,204,37,30,28,12,68,64,29,24,14,31,16,62,45,55,20,24,14,9,19,76,57,55,42,6, 54,32,117,19,32,9,11,13,31,27,33,44,28) x <- c(6,0,30,5,2,1,4,5,2,9,12,24,64,3,9,21,9,48,15,4,3,0,1,0,6, 7,2,0,3,2,0,5,1,2,6,9,1,6,2,0,1,4,8,0,1,1,3,0,0,0)