Analysis software to accompany Ngene

This forum is for posts covering broader stated choice experimental design issues.

Moderators: Andrew Collins, Michiel Bliemer, johnr

Analysis software to accompany Ngene

Postby Edel » Mon Nov 28, 2022 2:12 pm

Hi,

I notice Michel you said you don't use Nlogit, can I ask what software you use to analyze DCEs?
I am exploring open-access alternatives to Nlogit, (that are not overly complicated).

Thanks,

Edel
Edel
 
Posts: 15
Joined: Wed Nov 23, 2022 11:18 am

Re: Analysis software to accompany Ngene

Postby Michiel Bliemer » Mon Nov 28, 2022 7:47 pm

Nlogit is a commercial product that uses syntax similar to Ngene and is likely the easiest to use. It also comes with an extensive manual.

There are two main alternatives, both freely available:
1. Apollo, as a package in R
2. Biogeme, as a package in Python

Both Apollo and Biogeme do more or less the same thing and it is mainly a matter of whether you are more familiar with R or with Python. Both have example scripts to estimate models, so you can copy & paste most of the code without a real need for learning R or Python (although it would be useful if you want to estimate more flexible model types).

Michiel
Michiel Bliemer
 
Posts: 1705
Joined: Tue Mar 31, 2009 4:13 pm

Error: THe model has constants specified for all alternative

Postby Edel » Wed Dec 07, 2022 1:16 pm

Hi Michiel,

Thank you for your answer to my previous question.

I am running a pilot with no priors, 2 alternatives, 6 factors (4 with 3 levels, 2 with 2 levels). I keep on getting this error when I run the syntax, Error: The model has constants specified for all alternatives.
Can you identify where I am going wrong?

Design
;alts=intensive, standard
;rows=72
;eff= (mnl,d)
;block =6
;model:


U(intensive) = reg+
cvev[-0.00001] *CVEV[11,15,22]+
fall[-0.00001] *FALL[6,8,12]+
sae[-0.00001] *SAE[1,5,26]+
dizz[-0.00001] *DIZZ[1,8,43]+
dh.dummy[0.00001]* DH[1,0]+
supp.dummy[0.00001]* SUPP[1,0] /


U(standard) = reg[0] +
cvev * CVEV+
fall*FALL+
sae*SAE+
dizz*DIZZ+
dh* DH+
supp* SUPP


$
Edel
 
Posts: 15
Joined: Wed Nov 23, 2022 11:18 am

Re: Analysis software to accompany Ngene

Postby Michiel Bliemer » Thu Dec 08, 2022 7:46 am

As the error message says, you added constants for all alternatives, which makes the model overspecified. In choice models only differences in utility matter, therefore you can only add a constant to either alternative 'intensive' or alternative 'standard'.

For any further Ngene specific questions, please create a separate post in the Ngene forum.

Michiel
Michiel Bliemer
 
Posts: 1705
Joined: Tue Mar 31, 2009 4:13 pm

Re: Analysis software to accompany Ngene

Postby Edel » Thu Dec 08, 2022 8:00 am

Whoops that was an easy fix.
Thank you very much.
I will post on the Ngene board in future.
Edel
 
Posts: 15
Joined: Wed Nov 23, 2022 11:18 am


Return to Choice experiments - general

Who is online

Users browsing this forum: No registered users and 1 guest

cron