楼主: vivi677
4099 2

[求助]如何用MATLAB打乱时间序列? [推广有奖]

  • 0关注
  • 0粉丝

教师

已卖:13份资源

本科生

80%

还不是VIP/贵宾

-

威望
0
论坛币
453 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1121 点
帖子
37
精华
0
在线时间
173 小时
注册时间
2007-11-22
最后登录
2024-5-27

楼主
vivi677 发表于 2009-1-27 18:36:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
如何随机打乱把一组时间序列?谢谢
二维码

扫码加我 拉你入群

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

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

关键词:MATLAB matla atlab 时间序列 Mat MATLAB 时间 序列 打乱

沙发
lyngqng 发表于 2009-1-27 19:31:00

download bootstrapping package from the internet, anywhere, just google it.

Firstly, import the data into the dataset, e.g. xlsread(...).

Then run boostrapping following the instructions, for any time you wish.

if u want to change the series for various times , you need to download another package called btstrap. A package named Monte Carlo can do it in S- and R, I havenot tried whether it will work in Matlab, anyway, worth a try.  

藤椅
Xiaoxia219 发表于 2009-2-1 13:35:00
你可以用matlab自带函数randperm(n) returns a random permutation of the integers 1:n。然后按得到的序列将数据重新排列。

用R,你可以直接用sample()函数,如果原来那列叫x,直接sample(x)即可。

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

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