我用门槛模型,但是运行到三重门槛抽样时就总出现sample size too small.不知道为什么,我的样本总量是9338条,非平衡面板数据,即使我删除min,使用默认值也出现sample size too small。程序如下:
- cd D:\stata13\ado\personal\mydata
- use merge1_total_2.dta,clear
- xtset id year //设定为面板数据
- set memory 200m // 设定分配给 Stata 的内存空间
-
- set matsize 500
- set seed 135791
- xtthres nfagdp FST ///
- population goverexpense total_private_credit Real_effective_exchange ///
- youngstr oldstr pergdp2 improtandexport ka_open current_account_balance ///
- bankconcrete ctfp xr ingdpgrowth fdfs ///
- ,thres(FST) dthres(FDC) ///
- min(50)
复制代码