a possible fatal error in Ngene unlabeled orthogonal design
Posted: Fri Aug 10, 2018 9:25 pm
Dear Ngene team:
I am a user from Eindhoven University of Technology. I may report a fatal error in Ngene unlabeled orthogonal design. I hope your team can detect it and reply.
The occasion is like this:
1. I used Ngene “seq” command to form a 12 four-level and 3 two-level unlabeled design. (please see the attachment1,2,2-1) Then I replace the original design with my real levels.
2. Based on that we did 360 data collection in Netherland. After the data collection, we did the MNL analysis in Nlogit. But Nlogit always reported errors that “Hessian is not negative semidefinite” (in the table too many fixed parameters). In the R, the analysis also failed. (please attachment 3,4,4.1,4.2,4.3).
3. As we checked every step, our technology support found that, in the Ngene design, levels displayed a very wired combination. They combination between them are always like 3,3,3,-3…..or 1,-1,1,1,1…. among the four-level attributes. This is no (-)3 with (-)1. It can also be seen from the after coding correlation check and crosstabulation check (see attachment 5,5.1) . What’s more, among all the attributes we found only the levels of “Housing type” and “Housing size” combine with every levels from other attributes (attachment 6). This results also have relationship after coding correlation and crosstabulation (attachment 5.1), in which only these two attributes have a perfect 0 correlation after coding. Thus, then when we ran the MNL estimation in the Nlogit, adding all levels of these two attributes will not cause fixed parameter problem. But others will.
So based on that, we doubt, the combination of your “seq” design like 3,3,3,-3…..or 1,-1,1,1,1…. may lead to fatal error.
Please have a check of your algorithm. Let fine out whether “seq” design is right.
I am a user from Eindhoven University of Technology. I may report a fatal error in Ngene unlabeled orthogonal design. I hope your team can detect it and reply.
The occasion is like this:
1. I used Ngene “seq” command to form a 12 four-level and 3 two-level unlabeled design. (please see the attachment1,2,2-1) Then I replace the original design with my real levels.
- Code: Select all
Design
;alts = alt1,alt2,
;rows = 64
;orth=seq
;block =8
;model:
U(alt1) = b0
+ b1 * CS_Price[-3,-1,1,3]
+ b2 * T_Book[-3,-1,1,3]
+ b3 * T_Home_to_CS[-3,-1,1,3]
+ b4 * T_CS_to_Destination[-3,-1,1,3]
+ b5 * D_Home_to_Workplace[-3,-1,1,3]
+ b6 * Location[-3,-1,1,3]
+ b7 * T_Home_to_PT[-3,-1,1,3]
+ b8 * PC_Parking_Number[-3,-1,1,3]
+ b9 * Density_green[-1,1]
+ b10* Housing_type[-3,-1,1,3]
+ b11* Housing_owership[-1,1]
+ b12* Living_size[-3,-1,1,3]
+ b13* Housing_cost[-3,-1,1,3]
+ b14* Housing_built_time[-3,-1,1,3]
+ b15* Safe[-1,1]/
U(alt2) =
+ b1 * CS_Price
+ b2 * T_Book
+ b3 * T_Home_to_CS
+ b4 * T_CS_to_Destination
+ b5 * D_Home_to_Workplace
+ b6 * Location
+ b7 * T_Home_to_PT
+ b8 * PC_Parking_Number
+ b9 * Density_green
+ b10* Housing_type
+ b11* Housing_owership
+ b12* Living_size
+ b13* Housing_cost
+ b14* Housing_built_time
+ b15* Safe $
2. Based on that we did 360 data collection in Netherland. After the data collection, we did the MNL analysis in Nlogit. But Nlogit always reported errors that “Hessian is not negative semidefinite” (in the table too many fixed parameters). In the R, the analysis also failed. (please attachment 3,4,4.1,4.2,4.3).
3. As we checked every step, our technology support found that, in the Ngene design, levels displayed a very wired combination. They combination between them are always like 3,3,3,-3…..or 1,-1,1,1,1…. among the four-level attributes. This is no (-)3 with (-)1. It can also be seen from the after coding correlation check and crosstabulation check (see attachment 5,5.1) . What’s more, among all the attributes we found only the levels of “Housing type” and “Housing size” combine with every levels from other attributes (attachment 6). This results also have relationship after coding correlation and crosstabulation (attachment 5.1), in which only these two attributes have a perfect 0 correlation after coding. Thus, then when we ran the MNL estimation in the Nlogit, adding all levels of these two attributes will not cause fixed parameter problem. But others will.
So based on that, we doubt, the combination of your “seq” design like 3,3,3,-3…..or 1,-1,1,1,1…. may lead to fatal error.
Please have a check of your algorithm. Let fine out whether “seq” design is right.