[Limdep Nlogit List] Having trouble with the String command and its use in a PROC

Durham, Catherine Alison cathy.durham at oregonstate.edu
Mon Jul 2 15:50:22 AEST 2018


Oddly, that didn't complete the fix but doing removing spaces (I think I had tabs in) as you said  and  typing 'RHS='  instead of 'Rhs=' did. 

-----Original Message-----
From: Limdep <limdep-bounces at mailman.sydney.edu.au> On Behalf Of William Greene via Limdep
Sent: Friday, June 29, 2018 5:32 PM
To: Limdep and Nlogit Mailing List <limdep at mailman.sydney.edu.au>
Cc: William Greene <wgreene at stern.nyu.edu>
Subject: Re: [Limdep Nlogit List] Having trouble with the String command and its use in a PROC

Catherine.  Remove the stray spaces after the equals sign in the STRING command.
/Bill Greene

On Fri, Jun 29, 2018 at 8:17 PM, Durham, Catherine Alison < cathy.durham at oregonstate.edu> wrote:

> Since it didn't seem to be working first I
> |-> create;c=2;y=4$ Just to give myself the same variables as in the
> example
> , I replicated the manual example:
> |-> PROC
> |-> DSTAT       ;"ST0"$
> |-> ENDPROC
> |-> STRING      ;ST0=   Rhs=c$
> |-> EXECUTE
> Error    999: The specification ; Rh is not recognized.
>
> Maximum repetitions of PROC
>
> |-> STRING      ;ST0=   Rhs=y$
> |-> EXECUTE
> Error    999: The specification ; Rh is not recognized.
>
> Maximum repetitions of PROC
> Variations in which I placed the STRING command in advance of the 
> procedure did not work either.
> In the Strings folder of the project file the ST0 don't seem to update 
> properly when I run the string command either.
>
> _______________________________________________
> 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/G8kFCr8DLRtN9NBrS7j0FY?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