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. We check the forum at least twice a week. It may thus take a couple of days for your post to appear and before we reply. There is no need to submit the post multiple times.

Interpretation of MXL Standard Errors using weighting

Ask questions about the results reported after estimation. If the output includes errors, please include your model code if possible.
Post Reply
mweir
Posts: 4
Joined: 15 Jun 2023, 21:23

Interpretation of MXL Standard Errors using weighting

Post by mweir »

Hi,
I am exploring the use of sample weights so that the results of a current study may be interpreted as more generalizable. The study uses a DCE to measure seafood preferences. I used CDC NHANES data to calculate appropriate sample weights using equivalent data. There are two questions I have which may be more general but hopefully someone can point me in the right direction.

1) The sample weights are very large which caused issues with convergence. I rescaled the weights (dividing by powers of 10) until the models converged. This doesn't feel right to me and I'm concerned the weights may not be doing there job correctly. The weights still have the same relative relationship to one another but is that enough to achieve the goal of a "representative" result?

2) Within this line of thought, can the standard errors be interpreted as usual when using weights in MXL estimation? From what I've read so far about use of sample weights, the standard errors from conventional estimation seem useless for direct interpretation. If this is the same for MXL is there a recommendation for obtaining correct standard errors within Apollo's framework?

Thanks for your input.

Mike
stephanehess
Site Admin
Posts: 1338
Joined: 24 Apr 2020, 16:29

Re: Interpretation of MXL Standard Errors using weighting

Post by stephanehess »

Hi Mike

in general, I am not a fan of using weights in estimation. It implies that some choices are more important than others. It's much better to use interactions with socio-demographics that relate to the variables along which the data is not representative, and then to reweight your results.

Re standard errors, weighted estimation indeed affects your standard errors, and there is no correction implemented for that

Stephane
--------------------------------
Stephane Hess
www.stephanehess.me.uk
mweir
Posts: 4
Joined: 15 Jun 2023, 21:23

Re: Interpretation of MXL Standard Errors using weighting

Post by mweir »

Thank you for the reply! This is a curiosity more than anything, but I'm wondering if the following procedure makes sense and also might result in consistent standard errors. Admittedly, this is more of an intuitive exercise that may not hold any water.

1) Estimate/obtain sample weights using typical methods
2) Calculate the following proportion : weight_i/sum(weight_i)
- As I interpret this, this would be an individuals "unique contribution" to the representativeness of the sample
3) Scale the proportion obtained above by the final sample size, N
4) use values calculated in step 3 as the sample weights
- Again based on my interpretation of how weights enter the likelihood function in Apollo, this should still achieve the affect of giving more (less)representative data more (less) weight without artificially inflating sample size.

In my test of this, the standard errors are all very similar (even identical in some cases) to the unweighted model though with different point estimates of the mean of random parameters.

This may be a fluke that the standard errors were similar but wondering if there is something to this process. Apologies if I'm way off base. I appreciate your input.

Mike
stephanehess
Site Admin
Posts: 1338
Joined: 24 Apr 2020, 16:29

Re: Interpretation of MXL Standard Errors using weighting

Post by stephanehess »

That's simply ensuring that the weights sum to N, but the same issues remain. It's much better to just incorporate interactions, and then reweight your results
--------------------------------
Stephane Hess
www.stephanehess.me.uk
Post Reply