楼主: 一眼瞬间
5596 11

[原创博文] 有lag function,那有lead function不? [推广有奖]

11
一眼瞬间 发表于 2010-9-29 13:07:13
bobguy 发表于 2010-9-29 09:18
一眼瞬间 发表于 2010-9-28 12:35
想算未来两期和这期数据之差,

不知道用什么function呢?

或者能用其他什么办法解决不?

谢谢了~
There is no lead function in SAS.

But you can do it with in many ways.
here is a couple of ideas you can try.
1) point access option in data step.
2) merge the data set itself without a by statement
yes, yes. That is how I sloved it.

12
suly 发表于 2010-10-1 14:00:07
楼上的,怎么解决啊,没看懂,用汉语说不很好吗

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

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