结果:找到“first.var”相关内容7个,排序为按回复时间降序,搜索更多相关帖子请点击“高级
【求助】输出first.var和last.var,以及last.var-first.var
0 个回复 - 2520 次查看 验证动量效应,通过对2012年2月80支股票收益率进行排序,收益率从小到大分成10组,收益率最小的8只股票的组合为loser,最大的8只股票为winner,计算每月winner和loser组合收益率。现在means数据集中已得2012年3月win ...2015-3-30 12:23 - xncdww - SAS专版
by 语句中的first.variable与last.variable是什么意思
8 个回复 - 12063 次查看 by 语句中的first.variable与last.variable是什么意思,以及BY的用法? 如: data by; input state $ city $ month x; cards; nc a 1 3.02 nc a 2 8.1 nc a 3 4.03 nc b 1 5.03 nc b 2 6.3 nc b 3 7.3 va ...2014-10-15 21:16 - xiaoai0405 - SAS专版
如何用retain和first.variable
1 个回复 - 1373 次查看 有下面这个表格,id=1和id=2各有5组数据 想要得到下面这样的数据,也就是当id=1时,activity第一次为.时,它的lower为上一行的week,它的upper为现在这一行的week 同理id=2。(因为是在week=35时,activity为. , ...2016-1-26 14:04 - wsddzr - SAS专版
first.variable与last.variable是干什么用的
4 个回复 - 12660 次查看 如题2012-8-21 13:28 - 爱游泳的于 - SAS专版
SAS里的if first.variable then...在stata里怎么实现
0 个回复 - 1454 次查看 如题,想把数据按照某个变量分组,每个组里再标序号。但是现在只能用stata。想知道SAS里的if first.variable then...语句,在stata里怎么实现?大谢!2015-4-13 15:58 - arielleira - SAS专版
unique values using First.var and Last.var
5 个回复 - 2971 次查看 一道备考题 To create a dataset with unique values of a given varible using a data step and the FIRST. and LAST. varaibales, it is assumed that the input dataset is: A.sorted o ...2012-11-4 17:37 - Shirubei - SAS专版
跟crackman读SAS程序(35)----根据FIRST.VAR和LAST.VAR来输出有无重复观测的数据集
4 个回复 - 2512 次查看 data clasdata ; input id name $ class $ ; datalines; 4567 Denise ENGL201 4567 Denise ENGL201 1234 Lynn CHEM101 1234 Lynn CHEM101 1234 Lynn MATH102 5678 Rick CHEM101 5678 Rick HIST300 5678 ...2010-8-27 23:58 - crackman - SAS专版