search for: usaccdeath

Displaying 8 results from an estimated 8 matches for "usaccdeath".

Did you mean: usaccdeaths
2008 Apr 30
2
Bug? in summary( ) function base package
There seems to be an error in the summary() function when applied to "ts" class objects. The results of a call to summary( ), on the R "ts" data set USAccDeaths , reports the wrong value for Max. The value reported by the summary function is 11320. The max( ) function returns the correct value 11317, the July 1993 value. Coercing the data to a data.frame and calling summary returns the correct max value. A search of R -help found a post in 2007 that menti...
2005 Mar 16
2
How to concatenate time series?
Hello, I have just completed first experiments in using R, especially creating and using ARIMA models, e.g. # create a model as in example(arima) fit <- arima(USAccDeaths, order = c(1,1,1),seasonal = list(order=c(1,1,1))) # use the model to generate a prediction dp<-predict(fit, n.ahead = 24) plot(dp$pred) # view the prediction Now I created a combined chart of the original and predicted values. I tried it like this: dvs <- c(as.vector(USAccDeaths),as....
2003 Mar 11
1
about yesterday predicted values
I don't understand where is my problem. I tried the problem suggested by Prof. Brian Ripley data(USAccDeaths, package="ts") and it worked. So this is not a machine or configuration problem. This is my series (dataset1.ts) Jan Feb Mar Apr May Jun Jul Aug 1998 20957656 22280838 28048581 32286754 36456729 35575315 34127179 34363108 1999 20597673 22495...
2011 Nov 08
3
window?
Can someone enlighten me on why the following doesn't work? setwd('C:/Temp/R') d <- rep(1:53,2) (s <- ts(d, frequency=53, start=c(2000,10))) n <- length(s) k <- n%/%3 for(i in (n-k):n) { st <- c(start(s)[1] + (start(s)[2] + i)%/%frequency(s), (start(s)[2] + i) %% frequency(s)) ed <- c(start(s)[1] +
2007 Nov 18
0
question regarding time series packages
...is this: is it ok to use the same t in predict function or should my newxreg contain 99 values in order to properly predict the 99th value for LakeHuron? Another problem is that i don't receive the 99th value on the screen, as i should (running the example in ?predict > (fit <- arima(USAccDeaths, order = c(0,1,1), + seasonal = list(order=c(0,1,1)))) > predict(fit, n.ahead = 6) gives me on the screen the predicted values, so i think I must be doing something wrong) 2. If i have ts for 3 regions of the country, is it ok to model each one independent of each other ? or is...
2005 Feb 02
4
(no subject)
...ngers on the Titanic ToothGrowth The Effect of Vitamin C on Tooth Growth in Guinea Pigs UCBAdmissions Student Admissions at UC Berkeley UKDriverDeaths Road Casualties in Great Britain 1969-84 UKgas UK Quarterly Gas Consumption USAccDeaths Accidental Deaths in the US 1973-1978 USArrests Violent Crime Rates by US State USJudgeRatings Lawyers' Ratings of State Judges in the US Superior Court USPersonalExpenditure Personal Expenditure Data VADeaths Death Ra...
2000 Feb 17
2
Installation of rpm file on Suse Linux 6.2 (PR#449)
...uStockMarkets.R action: create D: file: /usr/local/lib/R/library/ts/data/LakeHuron.R action: create D: file: /usr/local/lib/R/library/ts/data/UKDriverDeaths.R action: create D: file: /usr/local/lib/R/library/ts/data/UKLungDeaths.R action: create D: file: /usr/local/lib/R/library/ts/data/USAccDeaths.R action: create D: file: /usr/local/lib/R/library/ts/data/austres.R action: create D: file: /usr/local/lib/R/library/ts/data/beavers.R action: create D: file: /usr/local/lib/R/library/ts/data/lh.R action: create D: file: /usr/local/lib/R/library/ts/data/lynx.R action: create D: fil...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...html latex example StructTS text html latex example UKDriverDeaths text html latex example UKLungDeaths text html latex example UKgas text html latex example USAccDeaths text html latex WWWusage text html latex example acf text html latex example acf2AR text html latex example ar text html...