Linearizing Data to Fit an Equation - A Homework Guide

  • Thread starter Thread starter rootX
  • Start date Start date
  • Tags Tags
    Data
Click For Summary

Homework Help Overview

The discussion revolves around data fitting for the equation y = D/(x+C). Participants are exploring different transformations of the equation to linearize the data for analysis, specifically comparing the approaches of using 1/y and y = (-1/C)*(xy) to fit the data points provided.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the validity of different transformations of the original equation, questioning the appropriateness of using 1/y versus the book's suggested method. There is also a focus on the implications of these transformations for fitting data and the interpretation of results.

Discussion Status

Some participants have provided guidance on plotting the results and considering the implications of linear regression. There is an ongoing exploration of which transformation yields a better fit for the data, and participants are questioning the assumptions behind the methods used.

Contextual Notes

Participants are working with specific data points and are under the impression that the book's method should be superior, leading to discussions about the definitions of "absurd" in the context of their approaches. The original poster has expressed confusion regarding the validity of their method compared to the book's approach.

rootX
Messages
480
Reaction score
4

Homework Statement


(Data fittings)

for y = D/(x+C)
my book do:
y = (-1/C) *(xy) + (D/C)
I do:
1/y = (1/D)*x + C/D

so using y=Y and X = xy
book finds A and B in Ax+b =y
so, finds an equation that fits the data

It hints that my way is absurd. I really couldn't get what's wrong with using 1/y = ..

Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
What exactly are you trying to do? Your formula is not absurd: if y= D/(x+C) then
1/y= (x+C)/D= (1/D)*x+ C/D. y= (-1/C)*(xy)+ (D/C) is also true. Which of those true statements works for whatever you are trying to do, depends on what you are trying to do! And you haven't told us what that is!
 
here's the question:
x, y
1,2
2,5
3,10
4,17
5,26

when using X = xy and Y = 1/y for y = D/(x+C) the least square fit is
y = -17.719403/(x-5.476617)

and when using X = x and Y = 1/y the least square fit is:
y = 1/(-0.106253x+0.4987330)

Determine which fit is best and Why one of the solutions is completely absurd

Since, the book has provided us the formula in the text, so it should be obvious that other one is absurd. I plotted both, and found the first one fits more accurately.
 
RootX - did you really plot out the results using the un-transformed equations? Plot out the original form using the C and D results from the first transformed model. I think you'll see something.

After that, to answer the 'absurd' question; what can you say about linear regression and the [hint] independent variables?
 

Similar threads

Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K