Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: example about choice experiment datasheet


From   Arne Risa Hole <arnehole@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: st: example about choice experiment datasheet
Date   Mon, 19 Nov 2012 18:41:23 +0000

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
> <elisabetta.capobianco@gmail.com> 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) <jvverkuilen@gmail.com>:
>> > On Sun, Nov 18, 2012 at 4:11 AM, elisabetta capobianco
>> > <elisabetta.capobianco@gmail.com> 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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index