将时间序列数据转换为范围 [英] Converting Time Series Data to Range
本文介绍了将时间序列数据转换为范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只需要在下面的链接中提出我的查询的反向
I just need the reverse of my Query raised at below link
我有时间序列数据,想对其进行 HOC 或想将其转换为范围
I am having time series data and want to HOC it or want to convert it into range
请指教
谢谢热门
推荐答案
这可以通过 proc SQL 组非常简单地完成:
This can be done quite simply with a proc SQL group by:
proc sql;
create table output as
select
ID,
min(Date) as StartDT,
max(Date) as EndDT,
Shares as SharesOutStanding
from input
group by
ID,
Shares;
quit;
其他详细信息此处.
这篇关于将时间序列数据转换为范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文