Can a Function Accurately Model a Random Array of Points on the x-y Plane?

  • Context: Undergrad 
  • Thread starter Thread starter skyraider
  • Start date Start date
  • Tags Tags
    Regression
Click For Summary
SUMMARY

The discussion centers on modeling a random array of points on the x-y plane, specifically the points (1, 26), (2, 84), (3, 2), (4, 100), and (5, 50). A fourth-order polynomial, specifically -27x^4 + 323⅓x^3 - 1335x^2 + 2204⅔x - 1140, can accurately hit each point. However, this polynomial lacks extrapolative capability and may not be suitable for larger datasets. The conversation emphasizes the importance of defining the purpose of the model beyond merely fitting the points.

PREREQUISITES
  • Understanding of polynomial functions and their properties
  • Familiarity with interpolation techniques, particularly Lagrange interpolation
  • Knowledge of regression analysis and model fitting
  • Basic grasp of statistical modeling concepts
NEXT STEPS
  • Research polynomial regression techniques and their limitations
  • Explore alternative interpolation methods beyond Lagrange, such as spline interpolation
  • Study the implications of overfitting in statistical models
  • Learn about model evaluation metrics to assess the performance of fitting techniques
USEFUL FOR

Data scientists, statisticians, and anyone involved in mathematical modeling or data analysis will benefit from this discussion, particularly those interested in interpolation and regression techniques.

skyraider
Messages
3
Reaction score
0
Hi,

I want to model a set of a few dozen points on the x-y plane where y can be anywhere from 0 to 100 and x increases by 1 for each point on the y-axis, ex:

(1, 26)
(2, 84)
(3, 2)
etc. . .

Is it possible to accurately model such a random array of points with an equation? Someone once suggested using an 'interpolating polynomial in the Lagrange form', but that does not appear to work well with such a random array of points.

If it can't be done with a known regression technique, here is my question:

Given the points (1, 26) (2, 84) (3, 2) (4, 100) (5, 50), could a function exist - any function of any category - which will hit each point?

Thanks.
 
Physics news on Phys.org
skyraider said:
Given the points (1, 26) (2, 84) (3, 2) (4, 100) (5, 50), could a function exist - any function of any category - which will hit each point?

Thanks.

This final question is an easy one: The answer is yes. A fourth-order polynomial will hit each point exactly:
-27x^4 + 323\frac1 3x^3-1335x^2+2204\frac2 3x-1140

You generally don't want to do that, however. For example, this particular polynomial rapidly goes negative as x goes below 1 or above 5. In other words, it has very little extrapolative capability. You will quickly start to lose even interpolative capability with the exact-fit polynomial as the number of points increases. You want to develop a fit to a less expressive model.

There is no magic one-form-fits-all method. People can still get advanced degrees in statistics, after all.
 
If you tell us what you expect from this "model", we can suggest various methods that are suited to the task.
 
As Crosson says, obviuosly you must be expecting something from this model besides hitting all the points. You already have all the points so you must be expecting something additional, but what is it?
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 64 ·
3
Replies
64
Views
5K
  • · Replies 66 ·
3
Replies
66
Views
7K
  • · Replies 5 ·
Replies
5
Views
2K