stata出现__000001 not found是出了什么问题-经管之家官网!

人大经济论坛-经管之家 收藏本站
您当前的位置> 会计>>

会计库

>>

stata出现__000001 not found是出了什么问题

stata出现__000001 not found是出了什么问题

发布:半残玩具 | 分类:会计库

关于本站

人大经济论坛-经管之家:分享大学、考研、论文、会计、留学、数据、经济学、金融学、管理学、统计学、博弈论、统计年鉴、行业分析包括等相关资源。
经管之家是国内活跃的在线教育咨询平台!

经管之家新媒体交易平台

提供"微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯"等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】

提供微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】

capprodropesproesversion12.0forvi=2005/2005{use`i'keepcodedateyearyuer0save`i',replace}use2005appendusing2004appendusing2003appendusing2002appendusing2001appendusing2000appendusing1999appendusing1998a ...
免费学术公开课,扫码加入


cap pro drop es
pro es
version 12.0
forv i=2005/2005{
use `i'
keep code date year yue r0
save `i',replace
}
use 2005
append using 2004
append using 2003
append using 2002
append using 2001
append using 2000
append using 1999
append using 1998
append using 1997
save all,replace
use mr0
sort year date
save,replace
use all
sort year date
merge year date using mr0,keep(mr0)
egen miss=rowmiss(_all)
drop if miss
drop miss
drop _merge
save,replace
gen ar=r0-mr0
drop r0
drop mr0
save,replace
use event_date
replace year=year+1
sort code year
save,replace
use all
sort code year
merge code year using event_date,keep(event_date)
egen miss=rowmiss(_all)
drop if miss
drop miss
drop _merge
save,replace
format date %tdCCYY-NN-DD
format event_date %tdCCYY-NN-DD
replace year=year-1
save,replace
use all
save new,replace
forv i=2004/2004{
use new
keep if year==`i'
sort code date
by code: gen datenum=_n
by code: gen target=datenum if date==event_date
egen td=min(target), by(code)
gen dif=datenum-td
drop target
drop td
by code: gen window103=1 if dif>=-10 & dif<=-3
egen count103=count(window103), by(code)
replace window103=0 if window103==.
drop if count103 < 8
by code: egen CAR103 = sum(ar) if window103==1
drop if CAR103==.
by code: gen num=_n
keep if num==1
keep code CAR103 event_date year
save `i'CAR103, replace
use new
keep if year==`i'
sort code date
by code: gen datenum=_n
by code: gen target=datenum if date==event_date
egen td=min(target), by(code)
gen dif=datenum-td
drop target
drop td
by code: gen window22=1 if dif>=-2 & dif<=2
egen count22=count(window22), by(code)
replace window22=0 if window22==.
drop if count22 < 5
by code: egen CAR22 = sum(ar) if window22==1
drop if CAR22==.
by code: gen num=_n
keep if num==1
keep code CAR22 event_date year
save `i'CAR22, replace
use new
keep if year==`i'
sort code date
by code: gen datenum=_n
by code: gen target=datenum if date==event_date
egen td=min(target), by(code)
gen dif=datenum-td
drop target
drop td
by code: gen window35=1 if dif>=3 & dif<=5
egen count35=count(window35), by(code)
replace window35=0 if window35==.
drop if count35 < 3
by code: egen CAR35 = sum(ar) if window35==1
drop if CAR35==.
by code: gen num=_n
keep if num==1
keep code CAR35 event_date year
save `i'CAR35, replace
use new
keep if year==`i'
sort code date
by code: gen datenum=_n
by code: gen target=datenum if date==event_date
egen td=min(target), by(code)
gen dif=datenum-td
drop target
drop td
by code: gen window105=1 if dif>=-10 & dif<=5
egen count105=count(window105), by(code)
replace window105=0 if window105==.
drop if count105 < 16
by code: egen CAR105 = sum(ar) if window105==1
drop if CAR105==.
by code: gen num=_n
keep if num==1
keep code CAR105 event_date year
save `i'CAR105, replace
use new
keep if year==`i'
sort code date
by code: gen datenum=_n
by code: gen target=datenum if date==event_date
egen td=min(target), by(code)
gen dif=datenum-td
drop target
drop td
by code: gen window11=1 if dif>=-1 & dif<=1
egen count11=count(window11), by(code)
replace window11=0 if window11==.
drop if count11 < 3
by code: egen CAR11 = sum(ar) if window11==1
drop if CAR11==.
by code: gen num=_n
keep if num==1
keep code CAR11 event_date year
save `i'CAR11, replace
use new
keep if year==`i'
sort code date
by code: gen datenum=_n
by code: gen target=datenum if date==event_date
egen td=min(target), by(code)
gen dif=datenum-td
drop target
drop td
by code: gen window33=1 if dif>=-3 & dif<=3
egen count33=count(window33), by(code)
replace window33=0 if window33==.
drop if count33 < 7
by code: egen CAR33 = sum(ar) if window33==1
drop if CAR33==.
by code: gen num=_n
keep if num==1
keep code CAR33 event_date year
save `i'CAR33, replace
}
end
「经管之家」APP:经管人学习、答疑、交友,就上经管之家!
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
本文关键词:

本文论坛网址:https://bbs.pinggu.org/thread-3496293-1-1.html

人气文章

1.凡人大经济论坛-经管之家转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
经管之家 人大经济论坛 大学 专业 手机版