由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - need help SAS Macro
相关主题
SAS help needed在sas 里面,poisson regression model里面,response variable可以是binary吗?
请教一个SAS Macro的问题how to use first.var in sas macro?
唉,还得求教前辈请问poisson regression和 Log-linear model之间的联系?
请教一道SAS MACRO编程的问题。怎么都不明白。谢谢请教Macro(SAS)
[合集] SAS问题求助-如何把普通变量的值传递给宏变量请教个问题
请教 SAS macro function 的问题sas macro, proc sql 问题
求助:Power analysis for poisson regression?sas macro 问题
Poisson and Binomial【包子】求问个简单sas macro问题
相关话题的讨论汇总
话题: error话题: prob话题: macro话题: hi话题: sas
进入Statistics版参与讨论
1 (共1页)
T***9
发帖数: 73
1
Hi all,
Got stuck with the following error. Any help? Thanks in advance!
WARNING: Apparent symbolic reference _PROB not resolved.
ERROR: A character operand was found in the %EVAL function or %IF condition
where a numeric operand
is required. The condition was: &_prob=SIG
ERROR: The macro EXTRAPOI will stop executing.
336 proc print data=_stats;run;
ERROR: File WORK._STATS.DATA does not exist.
The original codes:
options MPRINT;
*Using proc genmod to perform Poisson regression;
* and sav
n******e
发帖数: 53
2
maybe you should quote SIG, &_prob is characteristic variable
%do iter=1 %to 20 %while (&_prob='SIG');
s******r
发帖数: 1524
3
%global _PROB; add as second line.

condition

【在 T***9 的大作中提到】
: Hi all,
: Got stuck with the following error. Any help? Thanks in advance!
: WARNING: Apparent symbolic reference _PROB not resolved.
: ERROR: A character operand was found in the %EVAL function or %IF condition
: where a numeric operand
: is required. The condition was: &_prob=SIG
: ERROR: The macro EXTRAPOI will stop executing.
: 336 proc print data=_stats;run;
: ERROR: File WORK._STATS.DATA does not exist.
: The original codes:

T***9
发帖数: 73
4
Hi scimitar,
added %global _PROB, and now the program works. Thanks a lot!
Hi notapple,
Thanks for catching the typo.
I will send you Baozi later. Now I am too poor to send anything.
1 (共1页)
进入Statistics版参与讨论
相关主题
【包子】求问个简单sas macro问题[合集] SAS问题求助-如何把普通变量的值传递给宏变量
Gamma distribution for power analysis,请大拿指点请教 SAS macro function 的问题
请教logistic regression问题求助:Power analysis for poisson regression?
Does anyone here use WPS?Poisson and Binomial
SAS help needed在sas 里面,poisson regression model里面,response variable可以是binary吗?
请教一个SAS Macro的问题how to use first.var in sas macro?
唉,还得求教前辈请问poisson regression和 Log-linear model之间的联系?
请教一道SAS MACRO编程的问题。怎么都不明白。谢谢请教Macro(SAS)
相关话题的讨论汇总
话题: error话题: prob话题: macro话题: hi话题: sas