Page 1 of 1

Estimating MDCEV model with a price atrribute

Posted: 21 Jun 2023, 15:43
by lemontree
Dear developers,

I wanted to estimate MDCEV model with my SP data where each choices also have a price attribute.

I saw that in the Apollo manual, the sample data (time use data) for MDCEV does not include prices. As I understood, the base model of MDCEV assumes that there’s no price variation between inside goods. Is that correct?

I'm wondering how to include the price attribute into the MDCEV model. Is it possible to do that in Apollo, and how?

Re: Estimating MDCEV model with a price atrribute

Posted: 21 Jun 2023, 17:28
by stephanehess
Hi

this is easily done as explained in the manual and help for the apollo_mdcev function?

Try ?apollo_mdcev

What you need to specify is mdcev_settings$cost

The helpfile says:

cost: Named list of numeric vectors. Price of each alternative. One element per alternative, each one as long as the number of observations or a scalar. Names must match those in alternatives.

Stephane

Re: Estimating MDCEV model with a price atrribute

Posted: 22 Jun 2023, 10:01
by lemontree
Oh that helps! Thank you very much!