if (FALSE) {
# example based on simulated data
data(data_sim)
data_sim = data_sim[1:500,] # to speed up the example, remove otherwise
id = data_sim$id; yv = data_sim$y; X = cbind(X1=data_sim$X1,X2=data_sim$X2)
# estimate dynmic logit model
out = cquad_pseudo(id,yv,X, Ttol=10)
summary(out)
}
Run the code above in your browser using DataLab