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: using expressions in margins command
From
Jordan Silberman <[email protected]>
To
[email protected]
Subject
Re: st: using expressions in margins command
Date
Thu, 20 Jun 2013 10:44:50 -0400
Thanks for your response. It seems to take only integer powers--pos or
neg doesn't seem to matter. Even 1 decimal place yields the error
message. The exception is that, for some reason, fractional powers
between 0 and 1 seem to work.
On Thu, Jun 20, 2013 at 5:46 AM, Robert Duval <[email protected]> wrote:
> Hi Jordan,
>
> Did you try other non integer powers?
>
> What values does your predict(xb) take?
>
> Are they all strictly positive? Is any of them close to zero?
>
> I ask this question wondering whether there is a numeric precision
> problem given that you are dividing by your prediction, and you would
> get missing values if you divide by zero or something close to it.
>
> Robert
> *
> * 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/