search for: dhabbyc

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

2009 Jan 28
3
plot slideshow
Dear R experts: I've seen that it's possible to make a sort of "slideshow" with several R-plots (each slide is activated by a click on the mouse). How can I put this on a R-script??? Regards. D. [[alternative HTML version deleted]]
2009 Jan 26
2
how to modify an R built-in function?
Hello R experts! Last week I run in to a lot a problems triyng to fit an ARIMA model to a time series. The problem is that the internal process of the arima function call function "optim" to estimate the model parameters, so far so good... but my data presents a problem with the default method "BFGS" of the optim function, the output error looks like this: Error en
2009 Jan 21
1
obtaining null components of a list
Hello everybody! I have a list of length 5000 whose components are (mostly) "ts" objects, but some these components are intentionally left empty, ie, they are "NULL" components of the list. My question is how can I get the position of these null components in a effective way (I'm trying to avoid a for-if rutine). Thanks!!! [[alternative HTML version deleted]]
2009 Jan 26
1
error managment
Hello R experts! I'm running a FOR loop in which at every step an arima model is generated. The problem is some series produces numeric problems with optim. My question is if there is a way of telling to R that at every critical error of optim jumps to the next series instead of stopping the calculations. Or better yet, tell it to run another arima fit but with a different optmization
2009 Jan 27
2
retrieving variables values from a function
Hello experts! Is there a way to send an internal variable from a function to the workspace????, besides the function output, of course Thanks!! D. [[alternative HTML version deleted]]
2009 Jan 23
1
forecasting error?
Hello everybody! I have an ARIMA model for a time series. This model was obtained through an auto.arima function. The resulting model is a ARIMA(2,1,4)(2,0,1)[12] with drift (my time series has monthly data). Then I perform a 12-step ahead forecast to the cited model... so far so good... but when I look the plot of my forecast I see that the result is really far from the behavior of my time
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems
2009 Jan 16
1
storing several arima models
Hello everyone! I'm kind of a new R user and I'm trying to store several arima models (as arima models not as lists) in something (vector, matrix, whatever)... i've tried several things but nothing seems to work the way I need. Ideally I need a vector (or something) whose entries are Arima class objects. Thank's D. [[alternative HTML version deleted]]
2009 Jan 18
1
auto.arima forecasting issue
Hello everybody! I'm having this problem with the auto.arima function that i've not been able to solve. I use this function on time series that contains NA values, but every time that the resulting model contains drift I can't perform a forecasting (using forecast.Arima function). The printed error (when I try to forecast the resulting model) claims a dimension mismatch
2009 Jan 23
0
Box Cox parameter for time series
Hello R-experts, I want to ask I anyone knows a way to obtain a suitable value for the parameter of the box-cox transformation for time series (aiming to an Arima fit). Adittionally, I need to implement this to a list with a lot of series (about 5300), so if the method is suitable for an FOR-rutine will be excellent thanks [[alternative HTML version deleted]]
2009 Feb 02
0
Outliers package function scores question
Dear R-experts, I'm having some doubts concernig the scores function of the "outliers" package. I donĀ“t understand the results when I select the p-value option on a sample, ie, when I use scores(x,"(method)",1). The help on the function says that the output are the p-values associatted to the sample. But for example: >ser[[8]] Jan Feb Mar Apr May
2009 Feb 18
1
Creating several txt outputs
Dear R experts: I have a list (a very long one) and I need to create successively txt outputs (on diferent files ideally) for the data of each component of the list. How can I do this? Thanks in advance!! [[alternative HTML version deleted]]
2009 Feb 13
0
lists on a script
Dear R experts, I have a problem with a function I wrote. The fuction looks like this: series<-function(x,s){ foo<-list(); ind3<-integer(); for (j in diff){ for (i in 1:(n-12)){ if (!(x[i,j]==0)&!(x[i+1,j]==0)&!(x[i+2,j]==0)&!(x[i+3,j]==0)&!(x[i+4,j]==0)&!(x[i+5,j]==0)&!(x[i+6,j]==0)
2009 Jan 21
1
forecasting issue
Hello everybody! I have a problem when I try to perform a forecast of an ARIMA model produced by an auto.arima function. Here is what I'm doing: c<-auto.arima(fil[[1]],start.p=0,start.q=0,start.P=0,start.Q=0,stepwise=TRUE,stationary=FALSE,trace=TRUE) # fil[[1]] is time series of monthly data ARIMA(0,0,0)(0,1,0)[12] with drift : 1725.272 ARIMA(0,0,0)(0,1,0)[12] with drift