[R-sig-DCM] a discrete choice dynamic model with panel data
Hey Sky
heyskywalker at yahoo.com
Mon Jul 26 17:24:21 CEST 2010
Hey, all
I just visited this forum but it seems few people here. I am totally new to R
and
some kind new to the dynamic mode. any suggestion are appreciated.
I am modeling the labour market choices, such as un/employment, schooling etc.
people choose one of them in each period to maximize their present value of life
time utility.
here is my model:
Vijt = X_ij*beta + ipsilon_ijt
ipsilon_ijt = mu_j + sigma_t
where i means individual, j the decision/choice and t the period.
thus Vijt is the utility individual i can get from choice j at time t.
X are know vector of variables with parameter vector beta
ipsilon is the residual which consist of a well behaved sigma and
unkonw hetrogeneity among individuals mu, which have the form
mu_j = alpa_j + gama_j*eta
eta is individual types. that is, the intercept and slope of the laten
variable mu both depend on the his/er choice. the model will be
Vijt = X_ij*beta + alpa_j + gama_j*eta + sigma_t
alpa, beta, gama, plus eta, are parameters that need to be estimated.
the model will be estimated with simulated maximum likelihood method
with probability for individual i and choice j at peroid t.
PRijt = exp(Vijt)/(exp(Vi1t)+ exp(Vi2t)+ ....+ exp(ViJt))
if I write a function to represent the upper maximu likelihood for all i at each
t and every choice j, can the command optim be used to get the estimates? any
suggestions are apprecited
Nan
More information about the R-SIG-DCM
mailing list