-----Begin Original Message-----
From: Scott Merryman
Sent: Friday, August 05, 2005 7:16 PM
Subject: st: RE: predictnl and nonlinear regression
> -----Original Message-----
> From: Wallace, John
> . nl(y = {beta}*exp({alpha}*x)
> I then looked for a way to generate confidence intervals
You don't need the y term in the -predictnl- statement.
. predictnl fit = _b[beta]*exp(_b[alpha]*mpg), ci(lb ub)
> Also, is it possible to use the stored estimation command
interactively to
> solve for a specific x?
How about using -nlcom-. For example, if price = 1000:
. nlcom (ln(1000/_b[beta]))/_b[alpha]
-----End Original Message-----
Thanks very much for the advice, Scott. Those solutions were exactly
what I was looking for.
Best Regards,
John Wallace
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/