由买买提看人间百态

topics

全部话题 - 话题: ods
首页 上页 1 2 3 4 5 6 7 8 9 下页 末页 (共9页)
s*********e
发帖数: 1051
1
来自主题: Statistics版 - AIC for training data and hold-out data
******************************************;
* HOW TO USE IML PROCEDURE TO CALCULATE *;
* THE LIKELIHOOD FUNCTION OF A LOGIT *;
* MODEL TOGETHER WITH AIC AND BIC. *;
* -------------------------------------- *;
* WITH THE SAME ROUTINE, AIC AND BIC *;
* FROM A SEPARATE HOLDOUT DATASET CAN BE *;
* CALCULATED. *;
******************************************;
*** REMISSION DATA IS FROM EXAMPLES OF ***;
*** LOGISTIC PROCEDURE IN SAS MANUAL ***;
ods output Param
o******6
发帖数: 538
2
来自主题: Statistics版 - [合集] 问个proc report 的问题
☆─────────────────────────────────────☆
chrd (对酒当歌,杜绝灌水) 于 (Tue Mar 11 20:00:47 2008) 提到:
我的数据其中有两个columns
N pct
13 15.2
2 3
18 2.3
2 18
c = cut(put(n,2.), " (", put(pct,2.),")");
我用cut 把他们变成象c=13(15),length c $7.
我想生成这样的用proc report:
c
13 (15)
2 ( 3)
18 ( 2)
2 (18)
我的问题是在proc report的listing output中是这样的output。可是用ods rtf 的结
果就对不齐了。
谁知道如何解决?谢谢。
☆─────────────────────────────────────☆
ahab (ahab) 于 (Tue Mar 11 22:29:17 2008) 提到:
看不到呀?
☆──────────────────────────
l***a
发帖数: 12410
3
来自主题: Statistics版 - SAS help needed: baozi will be given
use "noprint" option when you can. or just use "ods listing close". the idea
is to not to print unnecessary output

I
needs
y*m
发帖数: 102
4
来自主题: Statistics版 - how to create page x of y in SAS
it depends on format of output,if it's ods,it's very easy
if it's listing output, google some page of macros
y*m
发帖数: 102
5
来自主题: Statistics版 - how to create page x of y in SAS
^{pageof}
^ is the escape character you define in the following statement;
ods escapechar='^';
this works for SAS9.2 and should work under 9.1.3 as well.
or you can use ^{thispage} of ^{lastpage}
A*******s
发帖数: 3942
6
可以用ods statement存成rtf, pdf, html...之类的格式
C******t
发帖数: 72
7
来自主题: Statistics版 - help-how to get exact p value in sas
proc reg;
model=a b c d;
ods output XXX=XXX;
run;
data xxx;
set xxx;
format pvalue e10.;
run;
l***a
发帖数: 12410
8
来自主题: Statistics版 - what's wrong with Proc Reg???
in SAS help it clearly shows that the "plots" option will plot a Fit graph
with Confidence Band and Prediction Limits. But when I run a code, it just
never appears in the output
I also tried ODS option to purposely select this Fit graph object, but I
just got nothing... what's wrong with it?
example is like here (figure 1.1)
http://www2.sas.com/proceedings/sugi31/095-31.pdf
q********i
发帖数: 795
9
来自主题: Statistics版 - what's wrong with Proc Reg???
my experience in linux is that w/o specifying a path, ods graphics put the
graphic file in your default directory. You just need to find it.
b******d
发帖数: 3
10
来自主题: Statistics版 - 问个genmod的问题,包子答谢
ods output parametersestimate的dataset里的"variable"的长度是20, 我有的变量
interaction长度超过20被截了腰,有什么办法改default的变量长度吗?
j*****7
发帖数: 4348
11
来自主题: Statistics版 - Proc Report里面显示page number的问题
Proc report, ODS输出的方式为pdf文件。
请问在UNIX SAS (v8)下怎样获得页码(以page x of y的形式)并写在每页纸的右上方。
多谢!
p*****0
发帖数: 3104
12
来自主题: Statistics版 - solved
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE TABULATE used (Total process time):
real time 0.07 seconds
cpu time 0.01 seconds

289 ODS RTF close;
ERROR: Errors printed on page 11.
有一个文件出现了这样的错误,不知道从哪里找问题。
请指教。多谢。
c********i
发帖数: 183
13
来自主题: Statistics版 - 问牛牛们一个ods rtf问题
是不是所有的text都是出现在cell中阿,即使定了边框为零,不显示,也会在视图时有
虚框。有没有什么办法显示free text呢?
现在下策只有用bodytitle,把文字都变成tital 无边框显示了。
请赐教!
f****r
发帖数: 1140
14
来自主题: Statistics版 - 问牛牛们一个ods rtf问题
我也有这个问题。
同问
h***i
发帖数: 634
15
来自主题: Statistics版 - How to generate PDF report in SAS?
ods pdf
use style template to control the fonts

tables
page
number
font
l*********s
发帖数: 5409
16
ods option controls reading, not writing.
use where statement to subsetting output.
o****o
发帖数: 8077
17
你这个用BY statement在SAS里面也不难,分条件运行不同回归也很容易。比如
data original;
array _x{*} var1-var10;
do i=1 to 10000;
do _j=1 to dim(_x); _x[_j]=rannor(7655)+sin(i + _j); end;
output;
drop i _j;
end;
run;
ods select none;
proc surveyselect data=original out=samp rep=10
sampsize=1000 method=srs;
run;
proc means data=samp;
by replicate;
var var1;
output out=_mean mean(var1)=mean1;
run;
data samp
d*******o
发帖数: 493
18
Proc report + ODS
g*********e
发帖数: 458
19
proc report 是做不出来的. 数据里面要嵌入macro variable的值和text。格式多变。
(ods只能指定输出文件类型吧?)
比如:
Research
Student ID: 001 Last Name:...
Basic Info:
Color:XXX Weight:XXXX Height:XXXX
Length:XX Age:XXX
Education:
High School: XXXX
College: XXXX
Grad: XXXX
Number Time Stock Amount
XX XX XX XX
..................................
..................................
这样的格式proc report没法做出来。所以我想自己在loop里用macro写或按顺序proc
print出来。
d*******o
发帖数: 493
20
ODS 抓你用的procedure输出的表
Proc report 定制你需要的格式
l****u
发帖数: 199
21
要输出,used下列CODES:
不WROK method1:
proc export data=febdaily06 outfile='H:\death\test.xls' replace;
run;
ERROR: The target file contains unmatched range name and sheet name. You may
use other name or remove the unmatched range/sheet in the file.
不WROK method1:
尝试了最笨的方法:EXPORT,不WORK。
ERROR: Error attempting to CREATE a DBMS table. ERROR: Execute: ????????.
WORK的 method1:
proc export
outfile = "H:\death\test.dbf"
data = febdaily06
dbms = dbf replace;
run;
WORK的 method2:
ods csvall file="H:\d
D******n
发帖数: 2836
22
来自主题: Statistics版 - [SAS] ODS output with by statement
problem solved, i used the out statement in proc freq, thats even better.
thanks all the same.
g*********e
发帖数: 458
23
来自主题: Statistics版 - 急问个简单的SAS ODS PDF的问题
我有一段小得不能再小的简单code,说什么也不对。生成的PDF文件不能打开,
系统报错说: Because it is either not a supported file type or the file has
been damaged.
程序就这么简单就不对:
data _null_;
file "C:\a.pdf";
put 'Hello World!';
run;
t*********l
发帖数: 778
24
来自主题: Statistics版 - 急问个简单的SAS ODS PDF的问题
wow, i see.
g*********e
发帖数: 458
25
来自主题: Statistics版 - 急问个简单的SAS ODS PDF的问题
Thank you very much!
This is great.
D******n
发帖数: 2836
26
1) use out statement in most of the procs or
2) use ods output
3) then do manipulation using data step
4) output to excel
5) use vba to do more manipulations

吗?
d******9
发帖数: 134
27
谢谢ls两位,关于DDE我能找到的资料很少,help文档里看了一下觉得不是特别
efficient,于是用4楼方法实现了一下(用了步骤1、2、3然后直接ods rtf到word文档
了),没有exactly满足要求但是还可以,不过,如果要填的table不是特别多好像还是
手填效率高...因为那个" do manipulation using data step"有时还挺麻烦...
l*********s
发帖数: 5409
28
来自主题: Statistics版 - SAS Output 窗口里的东西怎么编辑?
many procedures have output option; or use ods instead.
a********6
发帖数: 14468
29
来自主题: Statistics版 - SAS Output 窗口里的东西怎么编辑?
谢谢。我会慢慢弄ODS的。output成什么格式,可以在其他文档中打开啊,比如Word or
workpad之类?
其实,我所希望的是能在output窗口直接编辑,但是似乎不允许,也不知道出于什么考
虑。
w********o
发帖数: 1621
30
可以说,statistician是和SAS programmer合作最多的人了,所以从我的角度来说说一
个好的programmer的标准 (仅适用于pharmaceutical).
首先,在工业界,好的sas programmer有哪些sas 技能是必须要懂的: 我会说macro,
ods, 产生TLF的proc report或者data null,别的东西你都可以让statistician给你写
spec,哪怕proc means, proc ttest, proc freq. macro和formatting这两样
statistician没法帮你。因为帮了就等于把你的活给干完了。当然其他的比如,proc
sql,data merge,proc gplot,template, style这些都是plus。
其次,工业界的standard,比如CDISC,包括SDTM, ADaM,CDASH,这些都是工业界没经验
和有经验的区别。
再次,我个人认为sas programmer的analytical skill一定要强。只会编程,不懂分析
,就如同知其然,不知其所以然,是program
p********a
发帖数: 5352
31
☆─────────────────────────────────────☆
wakeupgogo (此花不与群花比) 于 (Sat Aug 21 03:35:17 2010, 美东) 提到:
可以说,statistician是和SAS programmer合作最多的人了,所以从我的角度来说说一
个好的programmer的标准 (仅适用于pharmaceutical).
首先,在工业界,好的sas programmer有哪些sas 技能是必须要懂的: 我会说macro,
ods, 产生TLF的proc report或者data null,别的东西你都可以让statistician给你写
spec,哪怕proc means, proc ttest, proc freq. macro和formatting这两样
statistician没法帮你。因为帮了就等于把你的活给干完了。当然其他的比如,proc
sql,data merge,proc gplot,template, style这些都是plus。
其次,工业界的standard,比如CDISC,包括SDTM, ADaM,
c******n
发帖数: 380
32
来自主题: Statistics版 - 如何从sas output里读入数据。
看你用什么proc了,有的直接用output,有的用ods output,查manual即可
l*********s
发帖数: 5409
33
来自主题: Statistics版 - 如何从sas output里读入数据。
google ods output
h******e
发帖数: 1791
34
来自主题: Statistics版 - 如何从sas output里读入数据。
比如,已经用proc report 生成了一个table,不用ods的话,这个table是在sas
output这个窗口中的。那么如何把sas 窗口中的这个table 重新读入到sas中去,生成
一个新的dataset,这个dataset只有一个variable,原table中的每一行在这个新的
dataset里是一个observation。
F*********g
发帖数: 43
35
来自主题: Statistics版 - 如何从sas output里读入数据。
search to learn 'ODS' in SAS help file.
A****t
发帖数: 141
36
来自主题: Statistics版 - SAS Regression Macro 问题请教 (有包子)
大概可以这样:
对于b1
%macro reg;
%do k=1 %to 2;
%do j=1 %to 2;
%do i=1 %to 2;
proc reg data=one;
model b1= e&k r&j f&i;
ods output ParameterEstimates=parms1;
run;
proc append base=parms data=parms1;
run;
%end;
%end;
%end;
%mend reg;
%reg;
d******9
发帖数: 134
37
来自主题: Statistics版 - 问个关于SAS中title statement的小问题
ls, justify=center这个option是将ods到rtf等文档中的title居中的吧? 我只要在.
lst的output中居中, 有没有什么方法?
f*******e
发帖数: 51
38
好像有
ods pagebreak=no;
something like that
P****D
发帖数: 11146
39
1. 像楼上说的,新建一个variable,年份是1961-1967年的时候,给这个新variable赋
值为1961,然后依此类推,然后用by statement,如果要“提取”coefficient,可以
结合ods output。
2. 作业还是不要到网上来叫人从头到尾帮你写完的比较好……
d******r
发帖数: 1389
40
来自主题: Statistics版 - 新手请教sas ods
你用的什么版本?我记得9.1好像不可以,9.2可以
a****a
发帖数: 3411
41
来自主题: Statistics版 - 新手请教sas ods
非常感谢你的信息
T*******I
发帖数: 5138
42
试试用SAS的ODS系统输出检验结果,然后再用数据步进行处理,就可以得到你想要的结
果。不过,正如楼上有人建议的,你要根据你的样本量来确定使用哪一种检验的结果。
请参考Univariate Procedure.
E*****p
发帖数: 39
43
来自主题: Statistics版 - About SAS sample code
目前正在找工作的初级阶段,有两个公司让我发了SAS code sample
我的code不是很长(1-2页),不过也有MACRO ODS,自己觉得还算系统
可是发出去然后就没有动静了,不知道像这样的情况,一般要什么样的sample code呢
R*********i
发帖数: 7643
44
来自主题: Statistics版 - sas table 问题
Ods with styles. If you're not in a highly regulated setting and you're
going to generate the table for only once, exporting the numbers to Excel
and adding format may save time.
n******e
发帖数: 53
45
来自主题: Statistics版 - help: proc logistic
怎么牛人们都不回答?难道不是
ods output ParameterEstimates=filename;
t*********l
发帖数: 778
46
来自主题: Statistics版 - 另外请教rtf 文件中 控制pagebreak
一个很大的表格,
name var1 var2....
a
a
b
b
c
c
用proc report 写的 ,然后 ods到 rtf 文件, 问题是 想 每一个名字占一页,不知道如
何控制
pagebreak
听说 9.2中tagsets 里可以控制pagebreak, 但是从来没看到例子.
感谢!
c****g
发帖数: 156
47
来自主题: Statistics版 - superscript and subscript
use ODS ESCAPECHAR
j*z
发帖数: 620
48
例如我重复使用proc mean计算出不同的output的结果,如何用ods把所有我指定的
output中某一项的结果放入同一个文件当中?我知道假设在用 output xxx(文件名)
可以指定输出路径,但是问题是重新run一轮结果后,后面的结果会覆盖前一次的结果
。我想可不可以在同一个output的输出文件内累加结果,如
第一次使用proc mean。。。output a。。。 后
a 文件内记载了我需要的内容;
第二次使用proc mean。。。output a。。。 后
a 文件继续添加我需要输出的内容;
菜鸟SAS恳求达人指导!!
包子感谢!
w*******n
发帖数: 469
49
Thanks, I have got the answer. But got another problem,
When I want to add the superscript to the graph title, then output the graph
with ods output, it won;t work, any ideas?

.
h******e
发帖数: 1791
50
搞了一上午没搞定。
首页 上页 1 2 3 4 5 6 7 8 9 下页 末页 (共9页)