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: Outreg margins error


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Outreg margins error
Date   Thu, 6 Sep 2012 13:02:00 +0100

My suggestions are:

1. The error means what it says: -lntotalexp- (presumably the log of
total expenditure) cannot be a factor variable.

2. The error arises from incorrect syntax, but you need to show us
_exactly_ what you typed with your data.

3. For "STATA" read "Stata" throughout.

4. Points 2 and 3 are covered by the Statalist FAQ, so you really
should read that before re-posting.

Nick

On Thu, Sep 6, 2012 at 11:01 AM, Wameq Raza <[email protected]> wrote:
> Dear Carsten and John,
> Thank you so very much for the replies. As for the syntax Carsten
> suggested, STATA gives me an error when estimating continuous
> variables such as the ln of expenditures. The error message it gives
> me is:
>
> -lntotalexp:  factor variables may not contain noninteger values-
>
> Any suggestions for this?
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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