结果:找到“stata by()”相关内容66个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
[求助]stata操作技巧:by sum的结果输出
7 个回复 - 12155 次查看
众位高手: 我这里是个pooled-data,比如时间有year=2005,2006,2007,地区有district=1,2,3,4,5,6,7,8,9,每个地区有行业 indus=1,2,3,4,5,6有若干个企业,对应企业的特征, ...
2008-7-28 16:23 - ccapboss - Stata专版
by var1 (var2) by var1 var2 stata
0 个回复 - 669 次查看
The varlist1 (varlist2) syntax is of special use to programmers. It verifies that the data are sorted by
varlist1 varlist2 and then performs a by as if only varlist1 were specified. For instanc ...
2022-5-2 10:56 - Lee_iris - Stata专版
stata bys分组回归 结果导出
27 个回复 - 45413 次查看
各位好!
小弟在使用bys分组回归,保存结果时只能导出最后一组的结果:
bys g:reg y x1 x2 x3 i.year i.ind
est store model1
esttab model1 using reg1.rtf , b(%4.3f) scalars(F) r2(3) ar2(3) star (* 0 ...
2015-7-28 16:34 - Yes._滕飞 - Stata专版
请问如何去掉STATA中的sepby?
0 个回复 - 864 次查看
请问如何去掉STATA中的sepby?
list Var1 ,sepby(Var2)后,再list 仍然带分割线
且,Var2 是字符串,为什么分割线并未将同样字符串的分割在一起?反而是每个观测值下面都有一个分割线?
2020-12-15 09:24 - 云飘飘122 - Stata专版
让"所有" Stata 指令都能分组计算 (byable)
7 个回复 - 5739 次查看
Stata 指令中,有一功能非常实用,就是 byable (分组计算)。但不是所有的指令都具有此功能,我与连玉均老师提出利用 (ssc install) runby (Robert Picard 与 Clyde Schechter 所撰写) 来让原先不可 byable 也可以 by ...
2018-7-5 06:17 - 黃河泉 - Stata专版
stata中用statsby循环拟合曲线
2 个回复 - 1243 次查看
想用
stata中的statsby指令循环拟合逻辑斯蒂曲线:目前拥有179个国家的50年的人口数据,想证明这179个国家的50年人口数据符合逻辑斯蒂曲线。单个国家的指令比较容易,用的是nl log4 pop year。因为有一百多个 ...
2020-1-8 10:53 - z97q11r21 - 计量经济学与统计软件
STATA collapse命令 by提示invalid
4 个回复 - 3924 次查看
. collapse(sum) v1,v3-v2687 if v1~="8"|v1~="41"|v1~="43"|v1~="0", by(v2)
invalid 'by'
r(198);
是在处理世界投入产出表,想以行业分类v2对除8(中国)、41(美国)、43总计外的国家分行业进行加总,提示inv ...
2019-5-25 01:50 - zhangkeasf - Stata专版
stata数据合并,merge?joinby
2 个回复 - 9523 次查看
求助大神!
我想将这样两个数据合并:
文件1:
如果公司当年没有送转,就没有ratio,有送转,就会显示多次。
文件2:
文件2是所有股票当年的价格、盈利等数据
合并以后希望看到这样:
请问应该用 ...
2018-3-21 16:56 - bn1993 - Stata专版
Stata 笔记系列 by LKB
4 个回复 - 1211 次查看
总结的比较好的Stata学习笔记
基础篇:http://qiuzhuonline.com/forum.php?mod=viewthread&tid=392
经典回归篇:http://qiuzhuonline.com/forum.php?mo ...
2016-11-3 18:48 - liu170 - 计量经济学与统计软件