结果:找到“xtile()”相关内容46个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
GRS检验Stata代码(附示例数据)
38 个回复 - 19327 次查看
GRS检验Stata代码
GRS 检验是学术界常用的用来检验定价模型有效性的方法,可以检验所有截距项是否同时为0。如果定价模型可以完全解释横截面上所有股票组合的超额收益率,那么所有组合回归截距项的联合检验应该不 ...
2019-9-22 01:43 - momingqimiao7 - 现金交易版
xtile分组回归问题
6 个回复 - 1600 次查看
各位大佬,我想把CO1依据值大小按照分成三份,然后把前三分之一和后三分之一对比回归,但是我执行以下命令后,发现只分成了两组?egen group1=xtile(CO1), n(3) 其中CO1是两权分离度,值介于0和1之间是连续变量
2022-1-23 17:06 - 酷盖tyq - Stata专版
如何使用cutpoints去xtile?
0 个回复 - 906 次查看
小白刚学stata,请教一个xtile的问题:
我在对变量进行xtile的时候,想用自己已经算好的一组数当做cutpoints,储存在dta中,请问该如何调用这组数呢?
因为我看文档里,是自己input了一组数,这样将my_cutpoints放 ...
2020-9-21 11:33 - 心音3 - Stata专版
xtile没有bysort功能,有哪个命令可替代
14 个回复 - 14727 次查看
比如说:我有两个变量
日期变量,从2001年1月1日至2011年7月1日
市值变量
现在要做的是按每一天的市值,分为高市值、中市值、低市值
即分别按2001年1月4日、2001年1月5日的市值分为三等分,
就是按不同的日期 ...
2011-7-12 09:49 - rayldj - Stata专版
Textiles in Archaeology 书
0 个回复 - 573 次查看
【作者(必填)】John Peter Wild
【文题(必填)】Textiles in Archaeology
【年份(必填)】1988
【全文链接或数据库名称(选填)】https://www.amazon.com/Textiles-Archaeology-Shire-John-Peter/dp/0852639317
2017-8-31 20:22 - newvisitor - 文献求助专区
Creating quintiles with xtile
2 个回复 - 3175 次查看
I have a dataset of stock returns each month. For each month, I'd like to
sort the stocks into quintiles. What I'd really like to do is something like:
egen mpg5 = xtile(mpg), by(month) nq(5)
问题 ...
2011-12-14 14:01 - qiaqiao - Stata专版
关于用xtile分组的问题,和excel的互接
0 个回复 - 2399 次查看
话说用stata的xtile分组和用excel分组总存在些微的差别。
比如分5组,第2组和第3组的分界点为0.4时,某数据percenrank在0.4004上,这个一般excel直接划分至第三组,而stata就会归为第2组,
有什么好的方法可以解决 ...
2014-9-4 18:53 - emilychou - Stata专版
Xtile怎么实现不等距分成10份
4 个回复 - 4178 次查看
Xtile怎么实现不等距的分成10份,例如:
对于PE 这个变量,如果把他等距分成10份 只需要 xtile PE01=PE,nq(10),
现在我想把一个变量不完全等距分成10份,前5% 和后5%单独一份,中间等份为8份
0-5% 1
...
2013-11-28 11:35 - anabel857hu - Stata专版
xtile的问题,请各位帮看!
1 个回复 - 1603 次查看
我想把变量a排序五等分,创建一个新变量b来保存a的等分,想要的结果是
a b
100 1
101 2
102 3
103 4
104 5
我的代码是xtile b=a, nq(5)
但是出来的结果是
a b
10 ...
2013-5-15 07:28 - superyxo - Stata专版
Beauregard Textile Co.
0 个回复 - 2887 次查看
【案例名称】Beauregard Textile Co.
【作者】Francis J. Aguilar
【页数】4
【格式】PDF
【语言】英语
【出版日期】1990年10月19日
【修订日期】1990年10月19日
【学科】谈判 (Negotiation)
...
2011-8-17 18:17 - 案例库 - 案例库
[求助] xtile 一问
5 个回复 - 10831 次查看
<p>想把一组收入数据分成5等分, 用了如下命令- </p><p>. xtile income_group = income, nq(5) </p><p>. tab income_group</p><p>预想看到的结果应该是5个group各占20%, 或近似等于20% ...
2009-3-11 22:26 - sqzdk - Stata专版