Estimating the slope from data

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Data Slope
Click For Summary
SUMMARY

This discussion centers on estimating the slope from a set of data points, specifically evaluating whether to use the formula (y2 - y1)/(x2 - x1) or (y3 - y1)/(x3 - x1) to find the slope at point x2. The consensus is that using the latter approach, which includes y(x2) as an endpoint, provides a more accurate representation of the behavior around y(x2). The conversation highlights that if the data points do not lie on a straight line, all calculated slopes are equally valid, and averaging multiple slopes can be a viable method for approximation.

PREREQUISITES
  • Understanding of basic calculus concepts, specifically derivatives.
  • Familiarity with slope calculations and secant lines.
  • Knowledge of data point representation in a Cartesian coordinate system.
  • Experience with statistical analysis and approximation methods.
NEXT STEPS
  • Research the concept of derivatives and their application in estimating slopes.
  • Learn about secant and tangent lines in calculus.
  • Explore methods for averaging slopes from multiple data points.
  • Investigate the implications of non-linear data on slope estimation.
USEFUL FOR

Data analysts, statisticians, and anyone involved in mathematical modeling or data interpretation will benefit from this discussion, particularly those focused on slope estimation techniques.

Saladsamurai
Messages
3,009
Reaction score
7
I had a thought and I am not sure how to answer it. Let's say that I have some data points (x1,y1), (x2,y2), (x3,y3) ... and I want to estimate the slope at x2. Would it be better to estimate it using (y2 - y1)/(x2 - x1) or (y3 - y1)/(x3 - x1) ?

That is, should the secant line that I draw have y(x2) as an endpoint or contain y(x2)? I feel like the latter would better describe the behavior since it is possible that drastic things could be happening AT y(x2) and so by drawing the secant through it, we get a better picture of the overall behavior around y(x2).

What do you think?
 
Physics news on Phys.org
Just as you would expect to get the best "line" by drawing between two points that are farthest apart, you can argue that you will get the best approximation to the slope of a set of points by using the points that are farthest apart.

But that is assuming that there really is a "line" to have a slope of and that the given points would lie on that line if not for some error in their positioning. You should understand that, if the points to not happen to lie on a straight line, there is NO "correct" slope so there really is no such thing as a "good" approximation to it! Any of the three (y3- y1)/(x3- x1), (y3- y2)/(x3- x2), or (y2- y1)/(x2- x1), have equal claim to being a "slope". (Another thing that is sometimes done by draftsmen is to average those three "slopes".)
 

Similar threads

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