Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Calculating regression with a point obligatoric' topicStudent Support Forum > General > Archives > "Calculating regression with a point obligatoric"

Next Comment >Help | Reply To Topic
Author Comment/Response
Ole Gammelgaard
01/03/03 05:18am

I need to find the best line from my data, but it has to go through (0,0). How do I do?

In[1]:=
data={{0,0},{771,68},{1445,120},{
2161,175},{2929,231},{3730,301},{4488,358},{4983,400}};
BestLine=Fit[data,{1,x},x]

URL: ,

Subject (listing for 'Calculating regression with a point obligatoric')
Author Date Posted
Calculating regression with a point obligatoric Ole Gammelga... 01/03/03 05:18am
Re: Calculating regression with a point obligat... Forum Modera... 01/05/03 3:32pm
Next Comment >Help | Reply To Topic