由买买提看人间百态

topics

全部话题 - 话题: flgx
(共0页)
d*******1
发帖数: 854
1
来自主题: Statistics版 - 请教SAS问题
太复杂,又想不出别的好办法。
data test;
input x y;
cards;
1 2
2 0
3 2
4 2
5 2
6 2
7 2
8 2
9 0
10 2
;
run;
data testx;
set test;
retain flgx;
if _n_=1 and x ne 5 then flgx=-1;
else if x=5 then flgx=1;
if y ne 2 then flgy=-1;
else flgy=1;
run;
proc sort data=testx out=testxx; by flgx flgy; run;
data result;
set testxx;
by flgx flgy;
if (last.flgy and flgx=-1 and flgy=-1) or
(first.flgy and flgx=1 and flgy=-1)
then output;
drop flgx flgy;
run;
d*******1
发帖数: 854
2
来自主题: Statistics版 - 请教SAS问题
gees, that is almost entirely different question! try the followings:
data test;
input x y;
cards;
1 2
2 0
3 2
4 2
5 2
6 2
7 2
8 2
9 0
10 2
;
run;
data testx;
set test;
retain flgx;
if _n_=1 and x ne 5 then flgx=-1;
else if x=5 then flgx=1;
if y ne 2 then flgy=-1;
else flgy=1;
order=_n_;
run;
proc sort data=testx out=testxx; by flgx flgy; run;
data result;
set testxx;
by flgx flgy;
if (last.flgy and flgx=-1 and flgy=-1) or
(first.flgy and flgx=1 and flgy=-1)
then output;
drop flgx flgy;
run;
dat
x******g
发帖数: 33885
3
来自主题: Military版 - 大龄剩女的结局是不是好悲惨?
本人在FLGX上班,有车有房,XX学历,长相还算可以吧(周围的人都认为长的可
以,但我好像从来不自知)。
性格比较内向,感情一路坎坎坷坷,因为遇人不淑,更因为自己执念太深,导致现
在快X9了,还是孤身一人。
身边都是已婚人士,由于性格原因,我平时社交很少,即便是有社交,也是很熟很
熟的朋友,偶尔有些应酬,也是让自己存在感很低。
身边也有人介绍,但都是介绍些初中、高中毕业的(这个地方中国人男少女多,稍
微优秀点的男生都出去了,或是早早的结婚了,到我这个年纪合适的真是没有)。
说实话,每次相完亲回来都挺难受的,就是感觉自己怎么沦落到这种地步,难道自
己要被这些人挑来选去吗?
现在的我,很迷茫,不知道该怎么走下去。
好像这么些年,一直都在错,坚持着不该坚持的。
我只想找一个人,我们互相倾慕、我们共同成长,怎么在别人那里轻而易举的事,
在我这里就这么难?
所有的人都在劝我,差不多找个男人就算了,这个年纪了还谈什么爱情。
但是我真的不甘心啊!像我这种大龄剩女的结局是不是好悲惨?
(共0页)