Thanks you Jay.
2012/11/18 JVerkuilen (Gmail) <jvverkuilen@gmail.com>:
> On Sun, Nov 18, 2012 at 10:55 AM, Carmen Blanco <blnco.mc@gmail.com> wrote:
>> I have a scatter plot.
>>
>> I want to fit in the graph by an exponential curve.
>>
>> For example, to a linear function I use -lfit- command and I need to
>> know how to do the adjustment with the exponential function.
>
> I don't think there's a direct way to do it with a plot function. You
> could fit an exponential model with nonlinear least squares (-nl-) or
> a generalized linear model (-glm-), create predicted values, and then
> use a connected line plot or some other interpolating function. I
> haven't used the fractional polynomial interpolating fits so I don't
> know enough about them to comment but if you just want a good smooth
> curve interpolator, that may work too.
>
> Jay
> *
> * 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/