结果:找到“drop 字”相关内容372个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
求dropvars命令含义
28 个回复 - 14975 次查看
为什么stata视频教程中在生成变量时用
dropvars命令,而自己在stata12.0运行时一直显示找不到该变量,求大神指点!在线等,急求~万分感谢
2016-4-25 22:40 - 一笑而过1002 - Stata专版
求问面板logit回归中观测大量drop的处理方法
8 个回复 - 3922 次查看
计量小白,最近在写论文
在使用logit回归面板数据,我数据里有1w多个数据,但回归中的observation只剩下6000多个
stata显示是这样:
note: multiple positive outcomes within groups encountered.
note: 1,63 ...
2020-4-13 03:14 - 呼叫0 - Stata专版
关于capture drop
23 个回复 - 38843 次查看
各位高手,不太明白capture
drop 是用来干嘛的?
help capture之后,发现它的解释是:Capture return code; 不明白是什么意思。还有一个类似的命令是safe
drop,麻烦知道的给解释一下,谢谢啦!
2012-10-4 00:02 - orange9042 - Stata专版
用GMM估计时其中一个变量一直被DROP
1 个回复 - 2191 次查看
用固定效应,随机效应均不会出现共线性被
drop的现象,但一用xtabond2就会,出现提示Y2
dropped due to collinearity。、解释变量中包括Y Y2 PL PL2,其中Y是产出,PL是工资,Y2是Y^2/2,PL2同理。但PL2就没有出现共 ...
2016-2-4 15:47 - ayqyyain - Stata专版
关于sas中(keep=与keep用法总结 drop同理
8 个回复 - 34039 次查看
(keep=)应该用在括号内,而keep不需要()。(keep=)可用在data 和set还有过程中,而keep只可以用在过程中。同事keep没有(keep=)用效率,因为当(keep=)用在set中时,只读取需要保留的变量,而keep在过程使用时 ...
2014-12-10 03:42 - 星落荒原 - SAS专版
求教动态面板数据中有变量被DROP了
4 个回复 - 5039 次查看
有一个虚拟变量dum_zq被
drop掉了,提示note: dum_zq
dropped from div() because of collinearity
面板是45个县2006-2010年的GDP数据,其中的解释变量有人均民营经济附加值,人均零售业产值,产业结构(第一产业比 ...
2014-1-4 19:50 - caolong880 - Stata专版
dropmiss 命令无法使用
0 个回复 - 1110 次查看
请问各位老师同学,我把Excel的数据粘贴到stata里,然后用mvdecode _all, mv( )把缺失值标记出来,再用
dropmiss any obs剔除存在缺失的样本,为什么会出现no; dataset has been changed and force option was not sp ...
2022-6-7 11:47 - mahone1996 - Stata专版
stata drop 命令
6 个回复 - 35565 次查看
stata中
drop命令后,明明应该被
drop的样本应该是几百个,执行后却删除了几万个
比如说
drop if age==20
age=20 的变量个数明明是200多
执行
drop if age==20
显示的是“
drop if age==20
(42016 o ...
2018-4-30 11:15 - 123zl00 - Stata专版
如何批量drop不同文件的差异化变量
5 个回复 - 1209 次查看
例如:
文件A1有变量a、b、c
文件A2有变量b、c、d
我想要批量
drop各个文件里面的a和b
forvalues v = 1/14{
use A`i'.dta,clear
drop a b
save A`i'.dta,replace
}
但是
drop a b会报错!!!
d ...
2021-12-21 20:44 - 我是工作狂2009 - Stata专版
stata cap program drop
8 个回复 - 9752 次查看
有一个程序是:
cap program
drop dlw
program dlw, rclass
preserve
sort Id year
mata DLW()
end
:其中mata DLW()是之前已经定义好的:
请问这程序是什么意思? 谢谢大神~
2015-5-12 20:55 - 我爱大金融 - Stata专版
请问drop和keep命令是否可以同时进行呢?
2 个回复 - 1406 次查看
我的代码是这样的:
forvalues t = 1/100 {
keep if Country == Country[`t'] & Country_Twin_n == Country_Twin_n[`t']
drop if Benchmark == Benchmark[`t'] & Pair_n != Pair_n[`t']
………………
}
然而 ...
2021-6-22 00:10 - CooKieBell - Stata专版
"My jaw dropped" 可不是 "下巴都掉下来了!"
1 个回复 - 6294 次查看
My jaw almost
dropped.
按照
字面翻译为:我的下巴差一点掉下来。这样理解对不呢?
My jaw almost
dropped. 英文这一句正确的含义是:我大吃一惊。可能老外在吃惊的时候喜欢张大嘴巴,类似下巴掉下来,所以当 ...
2021-6-11 06:55 - 杨明凡 - 外语学习
系统gmm时间虚拟变量共线性被drop
1 个回复 - 1690 次查看
前辈们好 想请问系统gmm中时间虚拟变量被
drop几个说是共线性 请问是什么原因的
与下面这这个情况类似
xtabond2 rd l.rd l.rd2 l.q l.sq cf sale year_1-year_9 year, gmm(l.rd l.q, lag(2 3) collapse ) iv( year_ ...
2021-4-20 11:43 - Luffy_D - Stata专版
drop变量的时候,说not found
4 个回复 - 4647 次查看
各位前辈好。
我的命令是这样子的,
drop if filename==B1
我的filename的数据全是 B1,C2,E1这种,而且我已经转成数值型的了,为什么
stata12还是说,B1 not found 呢??
求解释!!
2012-4-7 14:25 - dabao1988 - Stata专版
drop 缺失值
11 个回复 - 19240 次查看
各位好:
有十多個變數,其中均有缺失值,
drop if x1==.
drop if x2==.
: :
drop if x10==.
請問大家,除了上述方法刪缺失值,還有什麼方式,可以一次把x1、x2......x10變數的缺失值刪除的 ...
2010-9-3 00:42 - saudada - Stata专版