r***l 发帖数: 298 | 1 agreed. my partner had a heart-attack this year. he is not yet 50.
i don't think big-firm is for gals. In a way, this explains why there are so
few female equity partnerts at v100 firms, yet there are so many female
faculties. |
|
r***l 发帖数: 298 | 2 agreed. my partner had a heart-attack this year. he is not yet 50.
i don't think big-firm is for gals. In a way, this explains why there are so
few female equity partnerts at v100 firms, yet there are so many female
faculties. |
|
|
h******e 发帖数: 1791 | 4 我刚问过用proc contents可以找出变量总数,然后存在macro varible里,但这个
macro varible 无法用来引用变量,如:v&total。 |
|
|
|
h******e 发帖数: 1791 | 7 因为在这种情况下v需要一个numeric的suffix。 |
|
h******e 发帖数: 1791 | 8 我的问题是这样的:
用proc means计算dataset里所有numeric variable的sum,sas code为:
output out = out sum(v_1 -- v_last) = sum1 - sum&outvar;
&outvar代表着variable的总数。 |
|
|
p*****o 发帖数: 543 | 10 我有三个变量,比如说三个变量:V1,V2,V3,其中V2是STRING的,V3是NUMERIC的,我想做的是,如果V1的值是以0到9中任何一个数字开头的,就把V2跟V3都赋值成MISSING VALUE:
do if (substr(V1,1,1) = "0" or substr(V,1,1)= "1" or substr(V1,1,1)= "2" or
substr(V1,1,1)= "3" or substr(V2,1,1)= "4"
or substr(V1,1,1)= "5" or substr(V1,1,1)= "6" or substr(V1,1,1)= "7" or
substr(V1,1,1)= "8" or substr(V1,1,1)= "9").
compute V2="".
compute V3=$sysmis.
end if.
execute.
但是我其实用100个变量,V1-V100,不过这个100个变量是排列在一起的,不想输入100遍COMPUTE STATEMENT,大家有没有简单的办法做这个?
非常感谢! |
|
p********r 发帖数: 1465 | 11 多谢各位高手啊!
要是我有很多的variable呢?比如100个,V1 - V100;
加do loop吧?
可是我试了一下,那个merge (keep) 的语句里,好像不能用array做variable啊……
那应该怎么办呢? |
|
v*******e 发帖数: 133 | 12 工作当中遇到的,纠结了半天了
df1;
v1 v2 v3 v4.......v99 v100
df2;
Varlist1 Varlist 2
V1 V10
V2 V16
V5 V39
. .
. .
需要的是把df1里面存在于df2里Varlist1的variables的missing value用Varlist 2对应
的variable来置换
比较傻的做法,手工填写:
df1$V1=ifelse(is.na(df1$V1),df1$V10, df1$V1)
and so on...
可是df2有可能change dynamically.
如何来写这个loop. |
|
v*******e 发帖数: 133 | 13 工作当中遇到的,纠结了半天了
df1;
v1 v2 v3 v4.......v99 v100
df2;
Varlist1 Varlist 2
V1 V10
V2 V16
V5 V39
. .
. .
需要的是把df1里面存在于df2里Varlist1的variables的missing value用Varlist 2对应
的variable来置换
比较傻的做法,手工填写:
df1$V1=ifelse(is.na(df1$V1),df1$V10, df1$V1)
and so on...
可是df2有可能change dynamically.
如何来写这个loop. |
|
|
w*******y 发帖数: 60932 | 15 Newegg has Kingston SSDNow V100 SV100S2/64GZ 2.5" 64GB SATA II Internal
Solid State Drive for $88 after rebate. It's $118 before rebate with free
shipping (plus possible tax). Link:
http://www.newegg.com/Product/Product.aspx?Item=N82E16820139415
It uses the JMicron JM618 controller, so not as fast as some of the newer
chipsets, but $1.375 per GB seems pretty good these days.
|
|
|
|
|
w*******y 发帖数: 60932 | 19 Link: Corsair Force CSSD-F115GB2-BRKT-A 2.5" 115GB SATA II MLC Internal SSD:
http://www.neweggbusiness.com/Product/Product.aspx?Item=N82E168
Today the price dropped from $184.99 to $154.99.
Code B2BSSD15 gives you 15% off, making it $131.74.
Shipping is free, no need for a rebate.
This is barely the same as OCZ Vertex 2, not like a slow Kingston V100. It's
a really great deal for $1.15 per gigabyte.
The second best price around was 210 and now is $185 at some online stores.
Sorry if this is a re... 阅读全帖 |
|
|
w*******y 发帖数: 60932 | 21 Just wanted to share that Newegg has:
Link:
http://www.newegg.com/Product/Product.aspx?Item=N82E16820139415
You can get additional $10 off by creating a new account and using the
coupon code: NEWCUSTOMER10
So it should be: 104.99-10-40(REBATE) = 54.99
I already ordered mine, and already have one of these drives. The best
upgrade I have ever made to any computer EVER!
|
|
|
|
w*******y 发帖数: 60932 | 24 TODAY ONLY A6-3670K/HD 6530D/4GB/500GB HDMI SuperCombo $269.99AR
Newegg Shell Shocker I. Newegg has the A6-3670K/HD 6530D/4GB/500GB HDMI
SuperCombo:
Rosewill R101-P-BK-450W MicroATX Mid Tower Computer Case, come with 1x 120mm
Fan, 450W Power Supply
Biostar A55MH FM1 AMD A55 (Hudson D2) HDMI Micro ATX AMD Motherboard
AMD A6-3670K Unlocked Llano 2.7GHz Socket FM1 100W Quad-Core Desktop APU
with DirectX 11 Graphic AMD Radeon HD 6530D
G.Skill Ripjaws Series 4GB 240-Pin DDR3 SDRAM DDR3 1333 (PC3 1066... 阅读全帖 |
|
|
|