感谢回复!
但我想问一下treatreg命令中所说的如何理解呢?(加粗部分) treatreg fits a treatment-effects model by using either a two-step
consistent estimator or full maximum likelihood. The treatment-effects
model considers the effect of an endogenously chosen binary treatment on another endogenous continuous variable, conditional on two sets of
independent variables.
another endogenous continuous variable, conditional on two sets of
independent variables.
其中的another endogenous continuous variable指的就是(1)式的y
而conditional on two sets of independent variables.指的就是 (1)与(2)式的X与K
X与K为独立变数, 也就是independent variables