Curve Fit, Correlation, and Computer Software

Click For Summary

Discussion Overview

The discussion revolves around the process of curve fitting and regression analysis using computer software and graphing calculators, specifically focusing on defining second and third order polynomial fits for a given set of data. Participants explore the application of these concepts in statistics courses.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant describes the functionality of a computer program, MicroLab, which performs curve fitting and linear regression for nonlinear data.
  • Another participant provides a general form of a third-order regression equation, suggesting the structure of the polynomial.
  • A participant expresses confusion regarding the notation and variables used in the third-order regression equation, seeking clarification.
  • One participant presents a general form of a second-order polynomial and explains how to rewrite it in a standard form, indicating how coefficients can be derived.
  • There is an implicit suggestion that the approach to defining second and third order fits may involve plotting original y-values against transformed x-values (squared or cubed), but this is not confirmed by others.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the method for defining second and third order fits, and there is a mix of explanations and requests for clarification, indicating some uncertainty and differing levels of understanding.

Contextual Notes

There are unresolved assumptions regarding the definitions and transformations of variables for polynomial regression, and the discussion reflects varying levels of familiarity with the mathematical concepts involved.

Soaring Crane
Messages
461
Reaction score
0
A computer program, MicroLab, deals with finding the best fit curve, or allowing for linear regression of the first, second, and third orders, of a given set of data (particularly modeling nonlinear data).

I am trying to stimulate this analysis on a graphing calculator (i.e., TI-83 Plus and TI-84 Silver Edition) used in some statistics courses. However, I am confused about how to define the second and third orders before executing the command to find the regression line’s equation/correlation. For the second (quadratic) order curve fit choice, do I plot the original y-values versus the square of the x-values? Based on the same concept, do I plot the original y-values versus x-values cubed for the third (cubic) order curve fit choice?

Thank you for your time.
 
Physics news on Phys.org
Yep; a third-order regression line would be y = b0 + b1x + b2x2 + b3x3 + u.
 
Really? Um, could you explain that long part there for me, pretty please? I'm sure it's not that overwhelming once one understands a few principles, but I got lost in the variables . . . :blushing:

Thanks again!
 
Suppose you have a general 2nd-order polynomial:

y - y0 = a1(x - x0) + a2(x - x0)2

or

y = y0 + a1x - a1x0 + a2x2 + a2x02 - 2a2x02x

Re-write it as:

y = b0 + b1x + b2x2

where
b0 = y0 - a1x0 + a2x02 = sum of the constant terms
b1 = a1 - 2a2x02 = sum of the coefficients of x
b2 = a2 = coefficient of x2

You can generalize this to an arbitrary order.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K