Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: wtpcikr for models not estimated in STATA


From   "[email protected]" <[email protected]>
To   [email protected]
Subject   Re: st: wtpcikr for models not estimated in STATA
Date   Wed, 14 Nov 2012 15:31:52 -0500

Hi Wilner.
Thank you very much for the response.
I am actually running a latent class model and so the logit is indeed
the correct distributional assumption to assume in this case.
There are two further queries I have based on your question.
My variables (miles5, miles8, asc etc.) are all effects coded
variables. miles5, for example, is only one of the 4 levels of the
distance attribute and so I have the variables coded as follows:

                    miles5 miles8 miles12
miles5            1            0           0
miles8             0           1            0
miles12           0           0            1
miles18          -1           -1          -1

The asc variable is simply coded as 1 for the status quo and zero
otherwise. And price is the only continuous variable in the model.
Besides this, I have interactions between the different effects coded variables.
Do I enter the average based on the effects codes in the mymean()
vector? Or is there a different approach to take?

Also, given I currently only have the varcov matrix and the
coefficient estimates vector in stata - would it be enough to "trick"
-wtpcikr- by trying to run a logit model which results in an error?
If not, I guess I'll just have to append the current dataset with a
few data entries that would allow for running a logit.

Thanks a ton for the help.
Kind regards
Sanja
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index