Important: Read this before posting to this forum

  1. This forum is for questions related to the use of Apollo. We will answer some general choice modelling questions too, where appropriate, and time permitting. We cannot answer questions about how to estimate choice models with other software packages.
  2. There is a very detailed manual for Apollo available at http://www.ApolloChoiceModelling.com/manual.html. This contains detailed descriptions of the various Apollo functions, and numerous examples are available at http://www.ApolloChoiceModelling.com/examples.html. In addition, help files are available for all functions, using e.g. ?apollo_mnl
  3. Before asking a question on the forum, users are kindly requested to follow these steps:
    1. Check that the same issue has not already been addressed in the forum - there is a search tool.
    2. Ensure that the correct syntax has been used. For any function, detailed instructions are available directly in Apollo, e.g. by using ?apollo_mnl for apollo_mnl
    3. Check the frequently asked questions section on the Apollo website, which discusses some common issues/failures. Please see http://www.apollochoicemodelling.com/faq.html
    4. Make sure that R is using the latest official release of Apollo.
  4. If the above steps do not resolve the issue, then users should follow these steps when posting a question:
    1. provide full details on the issue, including the entire code and output, including any error messages
    2. posts will not immediately appear on the forum, but will be checked by a moderator first. This may take a day or two at busy times. There is no need to submit the post multiple times.

Wrong results when using the latest version

Ask questions about installing Apollo, running it inside a shell, and updating to new versions. Please make sure you provide information about which version of Apollo and R you are using.
Post Reply
lxiaolei
Posts: 7
Joined: 21 Sep 2023, 11:22

Wrong results when using the latest version

Post by lxiaolei »

Hi,

I updated Apollo to the latest version(0.3.1), but when I ran the case(using the same code and data of case: Hybrid_LC_with_OL), the results were inconsistent with those of running version 0.2.9, and many parameters were estimated to be NA, the two latent class probabilities are not true as well. Could you please tell me how to solve it? Thanks very much.

The following is the running result under Apollo version 0.3.1.

Code: Select all

                         Estimate        s.e.   t.rat.(0)    Rob.s.e.
b_brand_Artemis_A        0.000000          NA          NA          NA
b_brand_Artemis_B        0.000000          NA          NA          NA
b_brand_Novum_A         -0.280913          NA          NA          NA
b_brand_Novum_B         -0.280912          NA          NA          NA
b_brand_BestValue_A     -0.587327          NA          NA          NA
b_brand_BestValue_B     -0.587314          NA          NA          NA
b_brand_Supermarket_A   -0.262935          NA          NA          NA
b_brand_Supermarket_B   -0.262914          NA          NA          NA
b_brand_PainAway_A      -1.277448          NA          NA          NA
b_brand_PainAway_B      -1.277430          NA          NA          NA
b_country_CH_A           0.684454          NA          NA          NA
b_country_CH_B           0.684463          NA          NA          NA
b_country_DK_A           0.344521          NA          NA          NA
b_country_DK_B           0.344527          NA          NA          NA
b_country_USA_A          0.000000          NA          NA          NA
b_country_USA_B          0.000000          NA          NA          NA
b_country_IND_A         -0.303317          NA          NA          NA
b_country_IND_B         -0.303340          NA          NA          NA
b_country_RUS_A         -0.926597          NA          NA          NA
b_country_RUS_B         -0.926609          NA          NA          NA
b_country_BRA_A         -0.675832          NA          NA          NA
b_country_BRA_B         -0.675853          NA          NA          NA
b_char_standard_A        0.000000          NA          NA          NA
b_char_standard_B        0.000000          NA          NA          NA
b_char_fast_A            0.793941          NA          NA          NA
b_char_fast_B            0.793952          NA          NA          NA
b_char_double_A          1.244146          NA          NA          NA
b_char_double_B          1.244146          NA          NA          NA
b_risk_A                -0.001620          NA          NA          NA
b_risk_B                -0.001620          NA          NA          NA
b_price_A               -0.736171          NA          NA          NA
b_price_B               -0.736172          NA          NA          NA
lambda_A                 1.090120          NA          NA          NA
lambda_B                 1.090114          NA          NA          NA
delta_A                  0.000000          NA          NA          NA
delta_B                 47.105426          NA          NA          NA
zeta_quality             0.813199          NA          NA          NA
zeta_ingredient         -0.709579          NA          NA          NA
zeta_patent              0.894046          NA          NA          NA
zeta_dominance          -0.620589          NA          NA          NA
tau_quality_1           -1.430861          NA          NA          NA
tau_quality_2           -0.605722          NA          NA          NA
tau_quality_3            1.359889          NA          NA          NA
tau_quality_4            2.432459          NA          NA          NA
tau_ingredients_1       -2.255970          NA          NA          NA
tau_ingredients_2       -1.227768          NA          NA          NA
tau_ingredients_3        0.530930          NA          NA          NA
tau_ingredients_4        1.408151          NA          NA          NA
tau_patent_1            -1.510510          NA          NA          NA
tau_patent_2            -0.552290          NA          NA          NA
tau_patent_3             1.215139          NA          NA          NA
tau_patent_4             2.086270          NA          NA          NA
tau_dominance_1         -2.394428          NA          NA          NA
tau_dominance_2         -1.316057          NA          NA          NA
tau_dominance_3          0.773402          NA          NA          NA
tau_dominance_4          1.787480          NA          NA          NA
                      Rob.t.rat.(0)
b_brand_Artemis_A                NA
b_brand_Artemis_B                NA
b_brand_Novum_A                  NA
b_brand_Novum_B                  NA
b_brand_BestValue_A              NA
b_brand_BestValue_B              NA
b_brand_Supermarket_A            NA
b_brand_Supermarket_B            NA
b_brand_PainAway_A               NA
b_brand_PainAway_B               NA
b_country_CH_A                   NA
b_country_CH_B                   NA
b_country_DK_A                   NA
b_country_DK_B                   NA
b_country_USA_A                  NA
b_country_USA_B                  NA
b_country_IND_A                  NA
b_country_IND_B                  NA
b_country_RUS_A                  NA
b_country_RUS_B                  NA
b_country_BRA_A                  NA
b_country_BRA_B                  NA
b_char_standard_A                NA
b_char_standard_B                NA
b_char_fast_A                    NA
b_char_fast_B                    NA
b_char_double_A                  NA
b_char_double_B                  NA
b_risk_A                         NA
b_risk_B                         NA
b_price_A                        NA
b_price_B                        NA
lambda_A                         NA
lambda_B                         NA
delta_A                          NA
delta_B                          NA
zeta_quality                     NA
zeta_ingredient                  NA
zeta_patent                      NA
zeta_dominance                   NA
tau_quality_1                    NA
tau_quality_2                    NA
tau_quality_3                    NA
tau_quality_4                    NA
tau_ingredients_1                NA
tau_ingredients_2                NA
tau_ingredients_3                NA
tau_ingredients_4                NA
tau_patent_1                     NA
tau_patent_2                     NA
tau_patent_3                     NA
tau_patent_4                     NA
tau_dominance_1                  NA
tau_dominance_2                  NA
tau_dominance_3                  NA
tau_dominance_4                  NA


Summary of class allocation for model component choice:
         Mean prob.
Class_1   3.486e-21
Class_2       1.000
stephanehess
Site Admin
Posts: 998
Joined: 24 Apr 2020, 16:29

Re: Wrong results when using the latest version

Post by stephanehess »

hi,

it seems like there has been an issue with that model all along as the estimates are the same across classes, so this is not a version issue

We will look into it

Stephane
--------------------------------
Stephane Hess
www.stephanehess.me.uk
Post Reply