[Limdep Nlogit List] WTp estimation

medard kakuru medakseth at gmail.com
Wed Jul 25 16:01:51 AEST 2018


Dear Greene and Fredrik,
Your advice has sorted me out. Thanks.

Medard

On Tue, Jul 24, 2018 at 9:50 PM, William Greene via Limdep <
limdep at mailman.sydney.edu.au> wrote:

> That looks right to me.
> /Bill Greene
>
> On Tue, Jul 24, 2018 at 2:03 PM, Fredrik Carlsson <
> fredrik.carlsson at economics.gu.se> wrote:
>
> > You should most likely take away SD_pric from labels. I assume this was
> > the label for the random price coefficient that is now fixed instead
> >
> > Fredrik
> >
> > Skickat från min iPhone
> >
> > > 24 juli 2018 kl. 19:56 skrev medard kakuru via Limdep <
> > limdep at mailman.sydney.edu.au>:
> > >
> > > Dear Bill,
> > > Precisely, this is what I am doing.
> > >
> > > WALD; Labels=colb,
> > >            colw,
> > >            colc,
> > >            tast,
> > >            tex,
> > >            smel,
> > >            siz,
> > >            pric,
> > >            SD_colb,
> > >            SD_colw,
> > >            SD_colc,
> > >            SD_tast,
> > >            SD_tex,
> > >            SD_siz,
> > >            SD_smel,
> > >            SD_pric
> > >            ;start=b
> > >            ;Var=Varb
> > >            ;Fn1=-1*(colb/pric)
> > >            ;Fn2=-1*(colw/pric)
> > >            ;Fn3=-1*(colc/pric)
> > >            ;Fn4=-1*(tast/pric)
> > >            ;Fn5=-1*(tex/pric)
> > >            ;Fn6=-1*(siz/pric)
> > >            ;Fn7=-1*(smel/pric)$
> > >
> > >
> > > When I double click the B matrix, I see one column with 15 entries in
> it.
> > > How am  I supposed to use the entries in the specification above,
> since I
> > > have arleady specified b as starting values?
> > >
> > > Thanks,
> > >
> > > Medard
> > >
> > >
> > >
> > > On Tue, Jul 24, 2018 at 8:42 PM, William Greene via Limdep <
> > > limdep at mailman.sydney.edu.au> wrote:
> > >
> > >> Medard.  Look at your output in the output window.  Then, double click
> > B in
> > >> the
> > >> project window, and you will see what is contained in B in the right
> > >> order.  When
> > >> you use ;Start=B ; Var = Varb you can then use the right ;Labels =
> > list...
> > >> THEN
> > >> set up your functions.
> > >> /.B. Greene
> > >>
> > >> On Tue, Jul 24, 2018 at 12:34 PM, medard kakuru via Limdep <
> > >> limdep at mailman.sydney.edu.au> wrote:
> > >>
> > >>> Thanks Bill.
> > >>> However, I seem not to understand the matching and the submission you
> > are
> > >>> talking about. Kindly give me a reference in the nlogit manual so
> that
> > I
> > >>> read for more understanding.
> > >>> Thanks.
> > >>> Medard
> > >>> On Tue, Jul 24, 2018, 19:03 William Greene via Limdep <
> > >>> limdep at mailman.sydney.edu.au> wrote:
> > >>>
> > >>>> Yes you can.  After estimation, double click on the B matrix and see
> > >> what
> > >>>> is in there.
> > >>>> Match it up against your output.  Then submit B and VARB as the
> > >>> parameters
> > >>>> and
> > >>>> variance for the command.
> > >>>> /B. Greene
> > >>>>
> > >>>> On Tue, Jul 24, 2018 at 11:52 AM, medard kakuru via Limdep <
> > >>>> limdep at mailman.sydney.edu.au> wrote:
> > >>>>
> > >>>>> So i can't estimate wtp using the Wald command if one of the
> > >>> coeffecients
> > >>>>> is nonrandom. I also get the same error message when I apply the
> wald
> > >>>>> command after estimating a gmxl in utility space. Where could I be
> > >>> going
> > >>>>> wrong?
> > >>>>>
> > >>>>> Thanks in advance.
> > >>>>> Medard
> > >>>>>
> > >>>>> On Tue, Jul 24, 2018, 17:51 William Greene via Limdep <
> > >>>>> limdep at mailman.sydney.edu.au> wrote:
> > >>>>>
> > >>>>>> exactly right.  I agree
> > >>>>>> Bill Greene
> > >>>>>>
> > >>>>>> On Tue, Jul 24, 2018 at 10:01 AM, Fredrik Carlsson <
> > >>>>>> fredrik.carlsson at economics.gu.se> wrote:
> > >>>>>>
> > >>>>>>> You have one less parameter, so reduce the number of parameters
> > >> in
> > >>>> the
> > >>>>>>> labels part of the Wald-command
> > >>>>>>>
> > >>>>>>> Fredrik
> > >>>>>>>
> > >>>>>>> Skickat från min iPhone
> > >>>>>>>
> > >>>>>>>> 24 juli 2018 kl. 15:53 skrev medard kakuru via Limdep <
> > >>>>>>> limdep at mailman.sydney.edu.au>:
> > >>>>>>>>
> > >>>>>>>> Thanks Bill.
> > >>>>>>>> I am facing another challenge. I use the wald command to
> > >> estimate
> > >>>> wtp
> > >>>>>>> after
> > >>>>>>>> estimating a mixed logit with all non-attribute coefficients
> > >>> given
> > >>>> a
> > >>>>>>> normal
> > >>>>>>>> distribution and the syntax works. Since the standard deviation
> > >>> for
> > >>>>> one
> > >>>>>>>> attribute was not significant, I re-specify the model and make
> > >>> that
> > >>>>>>>> attribute non-random. Running the wald command after this
> > >>>>> specification
> > >>>>>>>> gives me an error message that "wrong number of start values -
> > >>> need
> > >>>>> one
> > >>>>>>> for
> > >>>>>>>> each label". What could be the problem?
> > >>>>>>>>
> > >>>>>>>> Thanks.
> > >>>>>>>>
> > >>>>>>>> Medard
> > >>>>>>>>
> > >>>>>>>> On Sun, Jul 22, 2018 at 12:35 AM, William Greene via Limdep <
> > >>>>>>>> limdep at mailman.sydney.edu.au> wrote:
> > >>>>>>>>
> > >>>>>>>>> Medard.  WTP for all variants of the RP logit model is
> > >> described
> > >>>> in
> > >>>>>>>>> Chapter N29.  That would be good for the S-MNL and GMXL.  I'm
> > >>>>>>>>> not sure what the G-MNL model is.  WTP is generally a ratio of
> > >>>>>>>>> coefficients, though in RP models, the WTP is computed for
> > >> each
> > >>>>>>>>> individual.  P values for LR statistics are generally not
> > >>>> computed.
> > >>>>>>>>> I'm not sure what the P-value at 5% is.  You can use CALC to
> > >>> look
> > >>>>>>>>> up critical values for chi-squared if you wish.  The function
> > >>>>>>>>> CTB(prob,df) returns the critical value for probability prob
> > >>> with
> > >>>>>>>>> degrees of freedom df.
> > >>>>>>>>> Regards
> > >>>>>>>>> /Bill Greene
> > >>>>>>>>>
> > >>>>>>>>> On Fri, Jul 20, 2018 at 5:22 AM, medard kakuru via Limdep <
> > >>>>>>>>> limdep at mailman.sydney.edu.au> wrote:
> > >>>>>>>>>
> > >>>>>>>>>> Dear All,
> > >>>>>>>>>> Kindly help me with the syntax for wtp in preference space. I
> > >>> am
> > >>>>>>> running
> > >>>>>>>>>> S-MNL, G-MNL and the GMXL models and want to compare WTP
> > >>>> estimates
> > >>>>>> for
> > >>>>>>>>> the
> > >>>>>>>>>> three models. I also want to compare these estimates with
> > >> those
> > >>>>>>> obtained
> > >>>>>>>>>> from wtp-space model estimations. I understand that for a
> > >>> simple
> > >>>>> MXL
> > >>>>>>>>> model,
> > >>>>>>>>>> the syntax for wtp is just a ratio of attribute and cost
> > >>>>>> coefficients.
> > >>>>>>> Is
> > >>>>>>>>>> it the case with the models I am estimating? I expected to
> > >> find
> > >>>> the
> > >>>>>>>>> syntax
> > >>>>>>>>>> in the Nlogit manual (section N33) but it's not listed.
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>> Secondly, I have seen the syntax for carrying out a
> > >>> loglikelihood
> > >>>>>> ratio
> > >>>>>>>>>> test and the syntax gives the LR statistic. How do i go
> > >> further
> > >>>> to
> > >>>>>> get
> > >>>>>>> a
> > >>>>>>>>>> p-value (say at 5%) for the statistic?
> > >>>>>>>>>>
> > >>>>>>>>>> Thanks in advance.
> > >>>>>>>>>>
> > >>>>>>>>>> Regards, Medard
> > >>>>>>>>>> _______________________________________________
> > >>>>>>>>>> Limdep site list
> > >>>>>>>>>> Limdep at mailman.sydney.edu.au
> > >>>>>>>>>> http://limdep.itls.usyd.edu.au
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>> --
> > >>>>>>>>> William Greene
> > >>>>>>>>> Department of Economics
> > >>>>>>>>> Stern School of Business, New York University
> > >>>>>>>>> 44 West 4 St., 7-90
> > >>>>>>>>> New York, NY, 10012
> > >>>>>>>>> URL: https://protect-au.mimecast.com/s/ZcinCQnzP0tzVoRGIxuQyM?domain=people.stern.nyu.edu
> > >>>>>>>>> Email: wgreene at stern.nyu.edu
> > >>>>>>>>> Ph. +1.212.998.0876
> > >>>>>>>>> Editor in Chief: Journal of Productivity Analysis
> > >>>>>>>>> Editor in Chief: Foundations and Trends in Econometrics
> > >>>>>>>>> Associate Editor: Economics Letters
> > >>>>>>>>> Associate Editor: Journal of Business and Economic Statistics
> > >>>>>>>>> Associate Editor: Journal of Choice Modeling
> > >>>>>>>>> _______________________________________________
> > >>>>>>>>> Limdep site list
> > >>>>>>>>> Limdep at mailman.sydney.edu.au
> > >>>>>>>>> http://limdep.itls.usyd.edu.au
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>> _______________________________________________
> > >>>>>>>> Limdep site list
> > >>>>>>>> Limdep at mailman.sydney.edu.au
> > >>>>>>>> http://limdep.itls.usyd.edu.au
> > >>>>>>>>
> > >>>>>>> _______________________________________________
> > >>>>>>> Limdep site list
> > >>>>>>> Limdep at mailman.sydney.edu.au
> > >>>>>>> http://limdep.itls.usyd.edu.au
> > >>>>>>>
> > >>>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> --
> > >>>>>> William Greene
> > >>>>>> Department of Economics
> > >>>>>> Stern School of Business, New York University
> > >>>>>> 44 West 4 St., 7-90
> > >>>>>> New York, NY, 10012
> > >>>>>> URL: https://protect-au.mimecast.com/s/ZcinCQnzP0tzVoRGIxuQyM?domain=people.stern.nyu.edu
> > >>>>>> Email: wgreene at stern.nyu.edu
> > >>>>>> Ph. +1.212.998.0876
> > >>>>>> Editor in Chief: Journal of Productivity Analysis
> > >>>>>> Editor in Chief: Foundations and Trends in Econometrics
> > >>>>>> Associate Editor: Economics Letters
> > >>>>>> Associate Editor: Journal of Business and Economic Statistics
> > >>>>>> Associate Editor: Journal of Choice Modeling
> > >>>>>> _______________________________________________
> > >>>>>> Limdep site list
> > >>>>>> Limdep at mailman.sydney.edu.au
> > >>>>>> http://limdep.itls.usyd.edu.au
> > >>>>>>
> > >>>>>>
> > >>>>> _______________________________________________
> > >>>>> Limdep site list
> > >>>>> Limdep at mailman.sydney.edu.au
> > >>>>> http://limdep.itls.usyd.edu.au
> > >>>>>
> > >>>>>
> > >>>>
> > >>>>
> > >>>> --
> > >>>> William Greene
> > >>>> Department of Economics
> > >>>> Stern School of Business, New York University
> > >>>> 44 West 4 St., 7-90
> > >>>> New York, NY, 10012
> > >>>> URL: https://protect-au.mimecast.com/s/ZcinCQnzP0tzVoRGIxuQyM?domain=people.stern.nyu.edu
> > >>>> Email: wgreene at stern.nyu.edu
> > >>>> Ph. +1.212.998.0876
> > >>>> Editor in Chief: Journal of Productivity Analysis
> > >>>> Editor in Chief: Foundations and Trends in Econometrics
> > >>>> Associate Editor: Economics Letters
> > >>>> Associate Editor: Journal of Business and Economic Statistics
> > >>>> Associate Editor: Journal of Choice Modeling
> > >>>> _______________________________________________
> > >>>> Limdep site list
> > >>>> Limdep at mailman.sydney.edu.au
> > >>>> http://limdep.itls.usyd.edu.au
> > >>>>
> > >>>>
> > >>> _______________________________________________
> > >>> Limdep site list
> > >>> Limdep at mailman.sydney.edu.au
> > >>> http://limdep.itls.usyd.edu.au
> > >>>
> > >>>
> > >>
> > >>
> > >> --
> > >> William Greene
> > >> Department of Economics
> > >> Stern School of Business, New York University
> > >> 44 West 4 St., 7-90
> > >> New York, NY, 10012
> > >> URL: https://protect-au.mimecast.com/s/ZcinCQnzP0tzVoRGIxuQyM?domain=people.stern.nyu.edu
> > >> Email: wgreene at stern.nyu.edu
> > >> Ph. +1.212.998.0876
> > >> Editor in Chief: Journal of Productivity Analysis
> > >> Editor in Chief: Foundations and Trends in Econometrics
> > >> Associate Editor: Economics Letters
> > >> Associate Editor: Journal of Business and Economic Statistics
> > >> Associate Editor: Journal of Choice Modeling
> > >> _______________________________________________
> > >> Limdep site list
> > >> Limdep at mailman.sydney.edu.au
> > >> http://limdep.itls.usyd.edu.au
> > >>
> > >>
> > > _______________________________________________
> > > Limdep site list
> > > Limdep at mailman.sydney.edu.au
> > > http://limdep.itls.usyd.edu.au
> > >
> > _______________________________________________
> > Limdep site list
> > Limdep at mailman.sydney.edu.au
> > http://limdep.itls.usyd.edu.au
> >
> >
>
>
> --
> William Greene
> Department of Economics
> Stern School of Business, New York University
> 44 West 4 St., 7-90
> New York, NY, 10012
> URL: https://protect-au.mimecast.com/s/ZcinCQnzP0tzVoRGIxuQyM?domain=people.stern.nyu.edu
> Email: wgreene at stern.nyu.edu
> Ph. +1.212.998.0876
> Editor in Chief: Journal of Productivity Analysis
> Editor in Chief: Foundations and Trends in Econometrics
> Associate Editor: Economics Letters
> Associate Editor: Journal of Business and Economic Statistics
> Associate Editor: Journal of Choice Modeling
> _______________________________________________
> Limdep site list
> Limdep at mailman.sydney.edu.au
> http://limdep.itls.usyd.edu.au
>
>


More information about the Limdep mailing list