由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - what is the fastest way of look-up in SAS?
相关主题
问个效率问题 SQL vs data step,大数据量What is R equivalent to SAS format?
在SAS中不用proc sql的情况下实现inequality join请问一个sas数据集过滤的问题
[sas] 怎么用自定义format里的值来计算?Please help me with SAS! Thank you!
SAS format 的问题急 SAS问题
SAS proc format的问题SAS 编程问题 (有包子)
Proc SQL 能不能直接读 非 SAS format 的数据,txt , csv 等请教一个SAS问题
Help needed on SAS proc reportRe: SAS help : proc format.
SAS - please help!攒rp,发些我近年来找工作的问题总结
相关话题的讨论汇总
话题: sas话题: fastest话题: look话题: what话题: way
进入Statistics版参与讨论
1 (共1页)
S******y
发帖数: 1123
1
What is the fastest way of look-up in SAS (say, matching between a small
file and a huge master-list file via id)?
p********a
发帖数: 5352
2
I always use proc formats in this case
l***a
发帖数: 12410
3
for easy coding and flexibility I use proc sql. if speed is a concern I will
do hashing.
index better or not depends on if id is heavily duplicated in the master
file. if each id is unique, index will on the contrary increase the
processing time due to more i/o

【在 S******y 的大作中提到】
: What is the fastest way of look-up in SAS (say, matching between a small
: file and a huge master-list file via id)?

s*r
发帖数: 2757
4
sas的hash做得很好吗

will

【在 l***a 的大作中提到】
: for easy coding and flexibility I use proc sql. if speed is a concern I will
: do hashing.
: index better or not depends on if id is heavily duplicated in the master
: file. if each id is unique, index will on the contrary increase the
: processing time due to more i/o

l***a
发帖数: 12410
5
compared to couple of proc sql and the saving on time is noticable, say, 50%

【在 s*r 的大作中提到】
: sas的hash做得很好吗
:
: will

o****o
发帖数: 8077
6
small look up in huge master table, I always bet on hash table, you will
then do a sequential read on the master which is the fastest way comparing
to other methods that involves non-sequential read over multiple tables

【在 S******y 的大作中提到】
: What is the fastest way of look-up in SAS (say, matching between a small
: file and a huge master-list file via id)?

r********e
发帖数: 1686
7
好无知啊,啥是SAS HASH?
555555555

50%

【在 l***a 的大作中提到】
: compared to couple of proc sql and the saving on time is noticable, say, 50%
s**********e
发帖数: 63
8
SQL will be better.
1 (共1页)
进入Statistics版参与讨论
相关主题
攒rp,发些我近年来找工作的问题总结SAS proc format的问题
How to do 'look up' in R?Proc SQL 能不能直接读 非 SAS format 的数据,txt , csv 等
问个SAS问题Help needed on SAS proc report
help with SAS sqlSAS - please help!
问个效率问题 SQL vs data step,大数据量What is R equivalent to SAS format?
在SAS中不用proc sql的情况下实现inequality join请问一个sas数据集过滤的问题
[sas] 怎么用自定义format里的值来计算?Please help me with SAS! Thank you!
SAS format 的问题急 SAS问题
相关话题的讨论汇总
话题: sas话题: fastest话题: look话题: what话题: way