Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'NonLinearRegress Problems' topicStudent Support Forum > General > "NonLinearRegress Problems"

Next Comment >Help | Reply To Topic
Author Comment/Response
Meaghan
06/04/08 11:41am

I'm having problems with Nonlinearregress in Mathematica 6.0.

Needs["NonlinearRegression`"]
NonlinearRegress[part1, a2*(Exp[b2*x] - 1) + c2*x, startpoints, x,
AccuracyGoal -> 5, PrecisionGoal -> 5, MaxIterations -> 500,
RegressionReport -> BestFitParameters

I get these error messages:
FindFit::nrlnum: The function value {0.+(-1.+2.71828^(0. b2)) a2+0. \
c2,0.104632+(-1.+2.71828^(0.195816 b2)) a2+0.195816 c2,<<8>>,<<92>>} \
is not a list of real numbers with dimensions {102} at {a,b,c} = \
{0.0369002,0.32,0.158379}.

NonlinearRegress::fitfail: The fitting algorithm failed.

...and then it returns the Nonlinearregress[].

I need access to the BestFitParameters next.
Any ideas?

URL: ,

Subject (listing for 'NonLinearRegress Problems')
Author Date Posted
NonLinearRegress Problems Meaghan 06/04/08 11:41am
Re: NonLinearRegress Problems Forum Modera... 07/18/08 05:36am
Next Comment >Help | Reply To Topic