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

Re: st: question

From   Maarten buis <>
Subject   Re: st: question
Date   Tue, 3 Nov 2009 14:22:32 +0000 (GMT)

--- On Tue, 3/11/09, Tunga Kantarci wrote:
> I wish to calculate a figure where I call coefficient
> estimates and residuals sum of squares and degrees of
> freedom. All these quantities are from the stata
> estimation output. When I run the relevant command 
> -nlcom exp(_b[_cons]+_b[income]*15.3)*exp(e(rss)/e(df_r)/2)- 
>I get the error "could not calculate numerical derivative".
> This is perhaps because e(rss) and e(df_r) are not estimates.

No, this is because these numbers are going to HUGE, so huge
that in many cases a computer can't contain that number. This
to me suggest a conceptual error rather than a Stata error:
why do you want to do this?

-- Maarten

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index