将时间序列转换为向量 [英] Converting time series into vector

查看:54
本文介绍了将时间序列转换为向量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种将时间序列数据转换为向量的方法.下面给出了我试图实现的一个例子.

I am looking for an approach to convert a time series data into vectors. An example of what I am trying to achieve is given below.

Data x = x1,x2,x3,..x100
Required vectors = V1(x1,x2,x3),V2(x2,x3,x4), V3(x3,x4,x5).. v98(x98,x99,x100)

我可以将完整的时间序列转换为 Vector.但我不知道如何才能达到上述结果.

I could convert the complete time series into Vector. But I do not know how I could achieve the above result.

感谢所有线索.

我正在 R 中尝试这个.

I am trying this in R.

推荐答案

使用 embed(x,98).

(输入额外的字符只是为了发布这个.)

(Entering extra characters just to post this.)

这篇关于将时间序列转换为向量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆