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 on April 23, and its replacement, is already up and running.

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

Re: st: Outreg margins error

From   Nick Cox <>
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.


On Thu, Sep 6, 2012 at 11:01 AM, Wameq Raza <> 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:

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