Dear Sirs,

First of all, sorry for taking your time. i am trying to use blp model for my thesis. I have found code written by David W. Vincent but when i try to run it, i have an error message:
"number of demographic draws must be equal between markets, check data". I can't understand why this is coming, and hence can't find the solution
blp share fe engine origin chassys_2wd chassys_both coupe pickup suv hatchback minivan wagon b2-b50, endog(price_t= CKD_SKD_2) stochastic(origin=demo, engine=age, price_t) markets(mkt) optinst(CKD_SKD_2) demofile(age) elast(price_t,4,brandmodel)
Above i provided my code

Can you please advise me what should i do in order to fix the issue

Thanks,