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: example about choice experiment datasheet


From   Arne Risa Hole <[email protected]>
To   statalist <[email protected]>
Subject   Re: st: example about choice experiment datasheet
Date   Tue, 20 Nov 2012 13:31:48 +0000

Elisabetta

-mlogit- is not very useful to model data from choice experiments as
it does not allow alternative-specific explanatory variables.
-asclogit- requires your data to be in long form (one row per
alternative); see -help asclogit- and the first example in the paper I
mentioned in my last email.

Arne

On 20 November 2012 10:04, elisabetta capobianco
<[email protected]> wrote:
> Thank you Arne, I want to use asclogit and mlogit for my choice modelling.
>
>
> 2012/11/19 Arne Risa Hole <[email protected]>:
>> Elisabetta
>>
>> As Jay says the correct data form depends on the estimation command
>> you are planning to use, so this is a very important piece of
>> information that you haven't given us. You may find the examples in
>> http://www.stata-journal.com/article.html?article=st0133 useful.
>> Generally speaking the best strategy is to import the data into Stata
>> and then use commands like -reshape- to convert the data into the form
>> you want, rather than trying to do this in Excel.
>>
>> Arne
>>
>>> On 19 November 2012 15:51, elisabetta capobianco
>>> <[email protected]> wrote:
>>>>
>>>> Thank you for your answer!
>>>> I want to do a mixed logit, but I have found a data set on help file
>>>> with just one choice set. I have 16 choice sets and I don't know how
>>>> to fil the excel data set.
>>>>
>>>>
>>>>
>>>> 2012/11/18 JVerkuilen (Gmail) <[email protected]>:
>>>> > On Sun, Nov 18, 2012 at 4:11 AM, elisabetta capobianco
>>>> > <[email protected]> wrote:
>>>> >> Hi, I'm new of statalist and stata!
>>>> >> I'm working on choice experiment about food preferences in schools.
>>>> >> I have 4 alternatives unlabelled, 4 attributes and 4 levels, 130
>>>> >> individuals.
>>>> >> I have the data base in excel, but before insheet the file in stata
>>>> >> i'm not sure that i have put the data in the right mode in the excel
>>>> >> file.
>>>> >> Have you got an example on a excel datasheet about choice modelling?
>>>> >> Just an example to understand how to organize my datasheet.
>>>> >
>>>> > It depends on what analysis you want to use. -clogit- and procedures
>>>> > like it that are using alternative-specific predictors use the same
>>>> > basic format, which is specified in the help file. You can see the
>>>> > example dataset there. Essentially it is a "long" format like
>>>> > person-period in a growth model with time-varying covariates.
>>>> > *
>>>> > *   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/
>>>>
>>>>
>>>>
>>>> --
>>>> Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
>>>>
>>>>
>>>>
>>>>           Le informazioni contenute in questa comunicazione e gli
>>>> eventuali documenti allegati
>>>>
>>>>           hanno carattere confidenziale e sono a uso esclusivo del
>>>> destinatario. Nel caso
>>>>
>>>>           questa comunicazione Vi sia pervenuta per errore, Vi informo
>>>> che la sua diffusione
>>>>
>>>>           e riproduzione è contraria alla legge e prego di darmi
>>>> prontamente avviso
>>>>
>>>>           e di cancellare quanto ricevuto. Grazie.
>>>>
>>>> *
>>>> *   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/
>>>
>>>
>>
>> *
>> *   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/
>
>
>
> --
> Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
>
>
>
>           Le informazioni contenute in questa comunicazione e gli
> eventuali documenti allegati
>
>           hanno carattere confidenziale e sono a uso esclusivo del
> destinatario. Nel caso
>
>           questa comunicazione Vi sia pervenuta per errore, Vi informo
> che la sua diffusione
>
>           e riproduzione è contraria alla legge e prego di darmi
> prontamente avviso
>
>           e di cancellare quanto ricevuto. Grazie.
>
> *
> *   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/

*
*   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