Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • BLP coding

    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,

  • #2
    You'll increase your chances of a useful answer by following the FAQ on asking questions - provide Stata code in code delimiters, readable Stata output, and sample data using dataex. Diagnosing a problem, particularly a data specific problem, without seeing the data or being able to replicate the problem is almost impossible. The obvious implication of the message is that you have varying "demographic draws" across markets, but I don't even know what this means.

    On a user-written procedure, getting a answer depends on someone happening to use that procedure being active in answering on Stata list. BLP is not a procedure I've heard discussed much on Stata list. You should try to look into the demographic draws issue first. If you can't figure it out, then you may need to contact the program's author. Note also that there may be a way to estimate a similar model using a standard Stata procedure - many procedures are written that later become feasible in standard Stata procedures.

    Comment

    Working...
    X