楼主: 一诺9257
3523 4

[问答] 关于ts做时间序列数据 [推广有奖]

  • 10关注
  • 7粉丝

教授

66%

还不是VIP/贵宾

-

威望
0
论坛币
23 个
通用积分
3.8021
学术水平
28 点
热心指数
34 点
信用等级
17 点
经验
301 点
帖子
949
精华
0
在线时间
1321 小时
注册时间
2010-3-21
最后登录
2020-2-22

楼主
一诺9257 发表于 2013-5-5 08:31:39 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
在进行时间序列arima『stata』进行分析时,要求输入变量是 “time series”,通常我们用ts做 t时间序列数据,但是ts命令中
只能做年数据(frequency = 1)、季度数据(frequency = 3)、年数据(frequency = 12);不能做日数据、星期数据,或交易日数据。请问对于日数据、星期数据,或交易日数据怎么办?谢谢


ts(data = NA, start = 1, end = numeric(), frequency = 1,
   deltat = 1, ts.eps = getOption("ts.eps"), class = , names = )


二维码

扫码加我 拉你入群

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

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

关键词:时间序列数据 序列数据 时间序列 Time Series Frequency 时间

沙发
水天一色DIY 在职认证  发表于 2013-5-5 21:10:27
of course frequency can help you,"The value of argument frequency is used when the series is sampled an integral number of times in each unit time interval. For example, one could use a value of 7 for frequency when the data are sampled daily, and the natural time period is a week, or 12 when the data are sampled monthly and the natural time period is a year. Values of 4 and 12 are assumed in (e.g.) print methods to imply a quarterly and monthly series respectively." now you know frequency can choose more than c(1,3,12)

藤椅
一诺9257 发表于 2013-5-6 17:26:08
水天一色DIY 发表于 2013-5-5 21:10
of course frequency can help you,"The value of argument frequency is used when the series is sampled ...
Thanks very much!

板凳
一诺9257 发表于 2013-5-6 17:26:11
水天一色DIY 发表于 2013-5-5 21:10
of course frequency can help you,"The value of argument frequency is used when the series is sampled ...
Thanks very much!

报纸
daisong 发表于 2013-6-24 09:19:39
哈,我最近也是在做这个,原始数据是minute-rate~~

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 00:44