Dealing with "not available" option in Ngene

This forum is for posts that specifically focus on Ngene.

Moderators: Andrew Collins, Michiel Bliemer, johnr

Dealing with "not available" option in Ngene

Postby peyman_07 » Tue Jun 02, 2020 8:18 pm

Dear Michiel,

I have an attribute, namely Parking Price. This attribute has fours levels: 0 (free of charge), 1$, 2$, no parking is available. I was wondering how to deal with the fourth level in the utility function in Ngene? I thought of adding a binary variable like Parking Availability and then put a constrain to ensure when there is no parking available the parking price is not applicable. The thing is that 0 is one of the attributes of parking price (free parking), so this binary variable may not work. Furthermore, there is a strong correlation between these two variables which is not recommended in choice set design. Would you please help me with this?

Thanks a lot for your massive support.
Best,
Peyman.
peyman_07
 
Posts: 32
Joined: Mon Nov 19, 2018 4:46 am

Re: Dealing with "not available" option in Ngene

Postby Michiel Bliemer » Wed Jun 03, 2020 9:41 am

You could use an interaction effect:

U(altx) = ... + parking * PARKINGAVAILABLE[0,1] * PARKINGFEE[0,1,2] + ...

If PARKINGAVAILABLE = 0, then show "no parking available", if PARKINGAVAILABLE = 1, then show PARKINGFEE.

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

Re: Dealing with "not available" option in Ngene

Postby peyman_07 » Thu Jun 04, 2020 10:10 am

Hi Michiel,

This is exactly the issue that I raised. When considering the interaction effect, in this case, there are two different situations that this term equals zero. The first one appears when no parking is available (B_parking * 0 (no parking) * PARKINGFEE[0,1,2] = 0) and the other one occurs when a parking is available but the parking price is 0 (B_parking * 1 (available parking) * 0 (free of charge) = 0). So, mathematically speaking, there is no difference between parking unavailability and a free of charge parking. While there is a significant difference in practice. In the first case, a person cannot park because there is no parking, but in the other case, he/she prefers to park as it is free. My question is how to make a distinction between these two occasions in Ngene?

Best,
Peyman.
peyman_07
 
Posts: 32
Joined: Mon Nov 19, 2018 4:46 am

Re: Dealing with "not available" option in Ngene

Postby Michiel Bliemer » Thu Jun 04, 2020 12:16 pm

Ah ok I thought you were asking how you specify an interaction effect in the Ngene syntax between parking fee and parking availability. So your question is not Ngene related, but rather related to how you formulate utility functions (which you also need for model estimation).

I believe this is what you want:

U(altx) = ... + parking * PARKINGAVAILABLE[0,1] + fee * PARKINGAVAILABLE * PARKINGFEE[0,1,2] + ...

Coefficient "parking" captures the parking availability, and coefficient "fee" captures the sensitivity to the parking fee.

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


Return to Choice experiments - Ngene

Who is online

Users browsing this forum: No registered users and 31 guests

cron