楼主: 滞点
3025 2

[有偿编程] 计算移动平均 running (or 'moving') average [推广有奖]

  • 1关注
  • 0粉丝

讲师

2%

还不是VIP/贵宾

-

威望
0
论坛币
5993 个
通用积分
5.8500
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
101 点
帖子
115
精华
0
在线时间
643 小时
注册时间
2015-7-27
最后登录
2025-7-28

楼主
滞点 发表于 2018-2-28 17:28:11 |AI写论文
10论坛币
麻烦帮忙写sas程序~

A 'running average of 30s' means that at the time of giving a measurement value, it takes the average of all measurements taken in the past 30 seconds prior to that point.   10 seconds later, the next log value will reflect an average of the measurements taken over the prior 30 seconds, from a point 10 seconds later than the last log value.  

“平均运行时间30秒”意味着在给出测量值时,需要在该点之前的过去30秒内进行的所有测量的平均值。 10秒后,下一个记录值将反映在前30秒内从最后一个记录值晚10秒的时间点获得的测量值的平均值。

原始数据是一秒一笔,希望能做到已上要求~ 感谢

关键词:average running Moving ning 移动平均

沙发
nole2010 发表于 2018-2-28 19:20:26
该怎么做呢?不知道,等楼下解答。

藤椅
l1i2n3i4n5g 在职认证  发表于 2018-3-1 10:18:04
可以看下The EXPAND Procedure

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-7 15:49