楼主: lydia4014
1894 1

[Splus与R初级班] 关于时间序列的建立 [推广有奖]

  • 0关注
  • 0粉丝

VIP

高中生

87%

还不是VIP/贵宾

-

威望
0
论坛币
14 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
248 点
帖子
32
精华
0
在线时间
27 小时
注册时间
2009-1-2
最后登录
2011-3-21

楼主
lydia4014 发表于 2010-3-10 15:48:06 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
现在有一个数据,与之对应的是一个完全没有规律的时间点序列。
问题是,如果将之构造成一个时间序列?即一列日期自定的序列为时间序列

如果用ts命令, frequency那些没法写,只能是月度或季度数据
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:时间序列 Frequency Ency freq 季度数据 时间 序列

沙发
ruiqwy 发表于 2010-3-10 16:35:23
你好,ts主要用来生成有规则的时间序列。对于无规则的,可以尝试如下几个包,他们的介绍如下:
•The zoo package provides infrastructure for regularly and irregularly spaced time series using arbitrary classes for the time stamps (i.e., allowing all classes from the previous section). It is designed to be as consistent as possible with "ts". Coercion from and to "zoo" is available for all other classes mentioned in this section.
•The package xts is based on zoo and provides uniform handling of R's different time-based data classes.
•Various packages implement irregular time series based on "POSIXct" time stamps, intended especially for financial applications. These include "its" from its, "irts" from tseries, and "fts" from fts.
•The class "timeSeries" in timeSeries (previously: fSeries) implements time series with "timeDate" time stamps.
•The class "tis" in tis implements time series with "ti" time stamps.
•The package tframe contains infrastructure for setting time frames in different formats.
R is the second language for me!Using R is standing on the shoulders of giants!   Let\'s use R together!

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-29 15:32