Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'NonlinearRegress...' topicStudent Support Forum > General > "NonlinearRegress..."

Next Comment >Help | Reply To Topic
Author Comment/Response
jim
06/24/02 9:11pm

Hi all,

Thanks for your time here... but got a trivial problem. I would like to "extract" or assign the values of the coeffeints of the NonlinearRegress BestFitParameters onto a local variable that I can use in an analytical solution... that is:

In[100]:=
data = {{1.0, 1.0, .126}, {2.0, 1.0, .219},
{1.0, 2.0, .076}, {2.0, 2.0, .126}, {.1, .0, .186}}

Out[100]=
{{1.,1.,0.126},{2.,1.,0.219},{1.,2.,0.076},{2.,2.,0.126},{0.1,0.,0.186}}

In[117]:=
NonlinearRegress[data,
theta1 theta3 x1 / (1 + theta1 x1 + theta2 x2),{x1, x2}, {theta1, theta2,
theta3},RegressionReport->BestFitParameters]


Out[117]=
{BestFitParameters->{theta1->3.13151,theta2->15.1594,theta3->0.780062}}


Now I would like to be able to use theta1, theta2, and theta3 in a subsequent calculation. Any thoughts would be of great help...

Jim



===========================================
James W. Stoner
Graduate Student
University of Denver
Department of Chemistry and Biochemistry
Eaton Electron Paramagnetic Resonance Labs
===========================================



URL: ,

Subject (listing for 'NonlinearRegress...')
Author Date Posted
NonlinearRegress... jim 06/24/02 9:11pm
Re: NonlinearRegress... Henry Lamb 06/26/02 7:29pm
Next Comment >Help | Reply To Topic