



下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、王群勇xthreg命令Fixed-effect panel threshold model using Statahelp xthreg (SJ15-1: st0373) 需要stata13及以上版本,2015年第一期 - xthreg - Estimate fixed-effect panel threshold modelSyntax命令: xthreg depvar indepvars if in, rx(varlist) qx(varname) thnum(#) grid(#) trim(numlist) bs(numlist) thlevel(#) gen(newvarname) n
2、oreg nobslog thgiven options where depvar is the dependent variable and indepvars are the regime-independent variables.Description xthreg fits fixed-effect panel threshold models based on the method proposed by Hansen (1999). xthreg uses XT xtreg to fit the fixed-effect panel threshold model given t
3、he threshold estimator. The fixed-effect panel threshold model requires balanced panel data, which is checked automatically by xthreg. The estimation and test of the threshold effect are computed in Mata.Options: rx(varlist) is the regime-dependent variable. Time-series operators are allowed. rx() i
4、s required. qx(varname) is the threshold variable. Time-series operators are allowed. qx() is required.門限變量 thnum(#) is the number of thresholds. In the current version (Stata 13), # must be equal to or less than 3. The default is thnum(1).門限個(gè)數(shù) grid(#) is the number of grid points. grid() is used to
5、 avoid consuming too much time when computing large samples. The default is grid(300).格點(diǎn)數(shù) trim(numlist) is the trimming proportion to estimate each threshold. The number of trimming proportions must be equal to the number of thresholds specified in thnum(). The default is trim(0.01) for all threshol
6、ds. For example, to fit a triple-threshold model, you may set trim(0.01 0.01 0.05).一個(gè)門限,設(shè)置一個(gè)數(shù)值(0.01);兩個(gè)門限設(shè)置兩個(gè)(0.01 0.05);三個(gè)門限,設(shè)置三個(gè)(0.01 0.01 0.05)。 bs(numlist) is the number of bootstrap replications. If bs() is not set, xthreg does not use bootstrap for the threshold-effect test.自舉法次數(shù) thlevel(#) sp
7、ecifies the confidence level, as a percentage, for confidence intervals of the threshold. The default is thlevel(95). gen(newvarname) generates a new categorical variable with 0, 1, 2, . for each regime. The default is gen(_cat). noreg suppresses the display of the regression result. nobslog suppres
8、ses the iteration process of the bootstrap. thgiven fits the model based on previous results. options are any options available for XT xtreg. Time-series operators are allowed in depvar, indepvars, rx(), and qx().Examples Setup . use hansen1999 Estimate a single-threshold model . xthreg i q1 q2 q3 d
9、1 qd1, rx(c1) qx(d1) thnum(1) trim(0.01) grid(400) bs(300) Estimate a triple-threshold model given the estimated result above . xthreg i q1 q2 q3 d1 qd1, rx(c1) qx(d1) thnum(3) trim(0.01 0.01 0.05) bs(0 300 300) thgiven . xthreg i q1 q2 q3 d1 qd1, rx(c1) qx(d1) thnum(3) trim(0.01 0.01 0.05) grid(400
10、) bs(300 300 300) Estimate a triple-threshold model directly . xthreg i q1 q2 q3 d1 qd1, rx(c1) qx(d1) thnum(3) trim(0.01 0.01 0.05) bs(300 300 300)繪圖: Plot the confidence interval using likelihood-ratio (LR) statistics . _matplot e(LR21), columns(1 2) yline(7.35, lpattern(dash) connect(direct) msiz
11、e(small) mlabp(0) mlabs(zero) ytitle(LR Statistics) xtitle(First Threshold) recast(line) name(LR21) nodraw . _matplot e(LR22), columns(1 2) yline(7.35, lpattern(dash) connect(direct) msize(small) mlabp(0) mlabs(zero) ytitle(LR Statistics) xtitle(Second Threshold) recast(line) name(LR22) nodraw . graph combine LR21 LR22, cols(1)Author Qunyong Wang Institute of Statistics and Econometrics Nankai University
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 大學(xué)生職業(yè)規(guī)劃大賽《分子科學(xué)與工程專業(yè)》生涯發(fā)展展示
- 2025股票委托交易合同范本
- 2025年關(guān)于合同續(xù)約的條件解析
- 2025魚類養(yǎng)殖收購合同范本
- 2025國內(nèi)技術(shù)轉(zhuǎn)讓合同樣本模板
- 英語學(xué)習(xí)全攻略
- 音樂魅力探索
- 銀行業(yè)辦公精進(jìn)
- 2025預(yù)售許可住宅買賣合同
- 2025個(gè)人車位租賃合同協(xié)議
- 幼兒園辦學(xué)規(guī)模及租金建議方案
- 汞中毒匯報(bào)演示課件
- 高中政治復(fù)習(xí):選必3《邏輯與思維》易錯(cuò)知識(shí)點(diǎn)匯總
- 建設(shè)工程質(zhì)量檢測(cè)方案-技術(shù)標(biāo)部分
- 研究性學(xué)習(xí)-雞蛋上的物理學(xué)
- 婦科內(nèi)分泌檢查記錄表
- 人工智能原理與方法智慧樹知到課后章節(jié)答案2023年下哈爾濱工程大學(xué)
- 院前急救業(yè)務(wù)學(xué)習(xí)介紹課件
- 虎林市四平山金礦有限責(zé)任公司黑龍江省虎林市四平山巖金礦礦山地質(zhì)環(huán)境保護(hù)與土地復(fù)墾方案
- 《春江花月夜》說課 統(tǒng)編版高中語文選擇性必修上冊(cè)
- 西政安徽校友會(huì)通訊錄
評(píng)論
0/150
提交評(píng)論