结果:找到“local global”相关内容76个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
关于local和global在回归中指代变量
0 个回复 - 1380 次查看
RT
比如,我有变量y1,x1 x2 x3...x20, 做面板回归时,为简便起见,想要用ylist代指y1,用xlist代指x1....x20,命令:
xtset id t
local ylist y
local xlist x1-x20
xtreg `ylist' `xlist', fe
为啥显示last e ...
2018-3-8 18:19 - liuty - Stata专版
关于local和global
2 个回复 - 1370 次查看
我有很多变量,比如第二个变量是price,最后一个变量是time
我想用暂元选定所有变量,可不可以
local allvar price-time或者
global allvar price-time
试了一下macro dir allvar,显示的是 price-time,而不是把每个 ...
2017-11-16 12:17 - 宜风 - Stata专版
global and local macro 求解答
2 个回复 - 4062 次查看
exmaple 1:
%let Mv=shoes;
%macro Product(Mv=bike);
%let Mv=clothes;
%mend;
%Product(Mv=tents)
%put Mv is &Mv;
Example 2:
%let a=cat;
%macro animal;
%let a =dog;
%mend;
%anima ...
2014-7-7 09:20 - jscsiwei91 - SAS专版
Global Macro vs Local Macro
1 个回复 - 2269 次查看
The following SAS program is submitted:
%let a=cat;
%macro animal(a=frog);
%let a=bird;
%mend;
%animal(a=pig)
%put a is &a;
Which one of the following is written to the SAS ...
2011-4-14 04:10 - usrich - SAS专版
the global and the local macro symblo table
2 个回复 - 2241 次查看
The
global symbol table is
created during the initialization of a SAS session or noninteractive execution
initialized with automatic or system-defined macro variables
deleted at the end of the sess ...
2010-4-7 08:44 - crackman - SAS专版
[求助] Global &Local symbol tables 的两道题
2 个回复 - 3009 次查看
56. The following SAS program is submitted:%let a = cat;%macro animal (a=frog);%let a = bird;%mend;%animal (a=pig)%put a is &a; Which one of the following is written to the SAS log? a is ...
2008-4-18 10:27 - qt600 - SAS专版