Re: [R] FW: Time Series

2017-11-07 Thread Eric Berger
Following Erin's pointer: library(zoo) times <- seq(from=as.POSIXct("2015-12-18 00:00:00"), to=as.POSIXct("2017-10-24 23:00:00"), by="hour") mydata <- rnorm(length(times)) tseri <- zoo( x=mydata, order.by=times ) HTH, Eric On Tue, Nov 7, 2017 at 9:59 AM, Erin Hodgess wrote: > Hello!

Re: [R] FW: Time Series

2017-11-07 Thread Erin Hodgess
Hello! What is the error message, please? At first glance, you are using the "ts" function. That doesn't work for hourly frequency. You may want to create a zoo object. This is Round One. Sincerely, Erin On Tue, Nov 7, 2017 at 1:46 AM, Emre Karagülle wrote: > > Hi, > I would like to ask a

[R] FW: Time Series

2017-11-06 Thread Emre Karagülle
Hi, I would like to ask a question about time series. I am trying to convert my data into time series data. I have hourly data from “2015-12-18 00:00” to “2017-10-24 23:00” I am trying the following codes but they are not working. Could you help me out? tseri <- ts(data ,seq(from=as.POSIXct("2015

[R] FW: time series and ACF

2009-09-29 Thread Kon Knafelman
Hey guys, im sort of a beginner with R, but here's what i need to do. i need to perform a time series analysis on a set of financial data that i've been given. im trying to look at the ACF and PACF and fit it to a particular model (i think its the ARIMA model because i've read that financi