regression - How to estimate probit model with fixed effects -
i have estimated following model panel data (data 2 periods following same individuals) using plm
package:
base_panel <- plm.data(dataset, index = c('individual', 'time.dummy')) panel_y1_model <- plm(y ~ time.dummy + dummy.treat + time.dummy*dummy.treat, data = base_panel, model = 'fd')
in model, y
continuous variable. want estimate same model using y.dummy
dependent variable. y.dummy
binary variable. know pglm
package can job me, according have read on documentation, can chose between random
, within
, pooling
or between
models.
is possible use fd
models, have done before? consistent models. code should run?
Comments
Post a Comment