Need help finding an equation that fits data

  • Thread starter Thread starter mudderrunner
  • Start date Start date
  • Tags Tags
    Data
Click For Summary
SUMMARY

The discussion centers on devising a point system using mathematical equations to fit specific data points. A user seeks assistance in creating a function that accurately reflects their parameters. It is established that an infinite number of functions can pass through a finite set of data points, and the choice of function type is crucial. A piecewise function is suggested for discontinuous data, while a 7th degree polynomial can be used for a smooth fit through the given points.

PREREQUISITES
  • Understanding of piecewise functions
  • Knowledge of polynomial fitting techniques
  • Familiarity with function continuity concepts
  • Basic skills in data analysis and mathematical modeling
NEXT STEPS
  • Research piecewise function construction and applications
  • Learn about polynomial regression and fitting techniques
  • Explore the concept of function continuity and its implications
  • Investigate tools for data visualization to analyze fitting results
USEFUL FOR

Data analysts, mathematicians, and software developers involved in creating point systems or mathematical models for projects requiring precise data fitting.

mudderrunner
Messages
6
Reaction score
0
I'm trying to devise a point system for a project I'm working on and I need to come up with an equation that fits these parameters so that I can fill in the rest of the points. Hopefully someone can help me out. It looks like it should be easy but I can't figure it out. *this is not a school project*

# | points
----------
1 | 1
2 |
3 |
4 |
5 |
6 |
7 |
8 | 0
9 |
10| -1
11| -1
12| -1
13| -1
etc.|etc.
 
Physics news on Phys.org
You understand, don't you, that there exist an infinite number of functions passing through any given finite number of data points? You have to specify what kind of function you want and then find the parameters for it. If you don't need continuity, then a perfectly good function that works here would be f(x)= 1 if x< 8, f(8)= 0, f(x)= -1 if x> 8.
If you want a smooth function, then you can always fit an n+1 degree polynomial through any given n points. Here you have 6 points so there exists a unique 7th degree polynomial passing through those 6 points.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K