Best Fit Lines & Curves

Book description

The text considers Simple Linear Regression and ask what is it doing? how good is it? how accurate is it? and how can we use it to create estimates? The book considers all this and looks at how you can exploit this transformability and use the capability of Simple Linear Regression.

Table of contents

  1. Cover
  2. Title
  3. Copyright
  4. Dedication
  5. Contents
  6. List of Figures
  7. List of Tables
  8. Foreword
  9. 1 Introduction and objectives
    1. 1.1 Why write this book? Who might find it useful? Why five volumes?
      1. 1.1.1 Why write this series? Who might find it useful?
      2. 1.1.2 Why five volumes?
    2. 1.2 Features you'll find in this book and others in this series
      1. 1.2.1 Chapter context
      2. 1.2.2 The lighter side (humour)
      3. 1.2.3 Quotations
      4. 1.2.4 Definitions
      5. 1.2.5 Discussions and explanations with a mathematical slant for Formula-philes
      6. 1.2.6 Discussions and explanations without a mathematical slant for Formula-phobes
      7. 1.2.7 Caveat augur
      8. 1.2.8 Worked examples
      9. 1.2.9 Useful Microsoft Excel functions and facilities
      10. 1.2.10 References to authoritative sources
      11. 1.2.11 Chapter reviews
    3. 1.3 Overview of chapters in this volume
    4. 1.4 Elsewhere in the ‘Working Guide to Estimating & Forecasting’ series
      1. 1.4.1 Volume I: Principles, Process and Practice of Professional Number Juggling
      2. 1.4.2 Volume II: Probability, Statistics and Other Frightening Stuff
      3. 1.4.3 Volume III: Best Fit Lines and Curves, and Some Mathe-Magical Transformations
      4. 1.4.4 Volume IV: Learning, Unlearning and Re-learning curves
      5. 1.4.5 Volume V: Risk, Opportunity, Uncertainty and Other Random Models
    5. 1.5 Final thoughts and musings on this volume and series
    6. References
  10. 2 Linear and nonlinear properties (!) of straight lines
    1. 2.1 Basic linear properties
      1. 2.1.1 Inter-relation between slope and intercept
      2. 2.1.2 The difference between two straight lines is a straight line
    2. 2.2 The Cumulative Value (nonlinear) property of a linear sequence
      1. 2.2.1 The Cumulative Value of a Discrete Linear Function
      2. 2.2.2 The Cumulative Value of a Continuous Linear Function
      3. 2.2.3 Exploiting the Quadratic Cumulative Value of a straight line
    3. 2.3 Chapter review
    4. Reference
  11. 3 Trendsetting with some Simple Moving Measures
    1. 3.1 Going all trendy: The could and the should
      1. 3.1.1 When should we consider trend smoothing?
      2. 3.1.2 When is trend smoothing not appropriate?
    2. 3.2 Moving Averages
      1. 3.2.1 Use of Moving Averages
      2. 3.2.2 When not to use Moving Averages
      3. 3.2.3 Simple Moving Average
      4. 3.2.4 Weighted Moving Average
      5. 3.2.5 Choice of Moving Average Interval: Is there a better way than guessing?
      6. 3.2.6 Can we take the Moving Average of a Moving Average?
      7. 3.2.7 A creative use for Moving Averages – A case of forward thinking
      8. 3.2.8 Dealing with missing data
      9. 3.2.9 Uncertainty Range around the Moving Average
    3. 3.3 Moving Medians
      1. 3.3.1 Choosing the Moving Median Interval
      2. 3.3.2 Dealing with missing data
      3. 3.3.3 Uncertainty Range around the Moving Median
    4. 3.4 Other Moving Measures of Central Tendency
      1. 3.4.1 Moving Geometric Mean
      2. 3.4.2 Moving Harmonic Mean
      3. 3.4.3 Moving Mode
    5. 3.5 Exponential Smoothing
      1. 3.5.1 An unfortunate dichotomy
      2. 3.5.2 Choice of Smoothing Constant, or Choice of Damping Factor
      3. 3.5.3 Uses for Exponential Smoothing
      4. 3.5.4 Double and Triple Exponential Smoothing
    6. 3.6 Cumulative Average and Cumulative Smoothing
      1. 3.6.1 Use of Cumulative Averages
      2. 3.6.2 Dealing with missing data
      3. 3.6.3 Cumulative Averages with batch data
      4. 3.6.4 Being slightly more creative – Cumulative Average on a sliding scale
      5. 3.6.5 Cumulative Smoothing
    7. 3.7 Chapter review
    8. References
  12. 4 Simple and Multiple Linear Regression
    1. 4.1 What is Regression Analysis?
      1. 4.1.1 Least Squares Best Fit
      2. 4.1.2 Two key sum-to-zero properties of Least Squares
    2. 4.2 Simple Linear Regression
      1. 4.2.1 Simple Linear Regression using basic Excel functions
      2. 4.2.2 Simple Linear Regression using the Data Analysis Add-in Tool Kit in Excel
      3. 4.2.3 Simple Linear Regression using advanced Excel functions
    3. 4.3 Multiple Linear Regression
      1. 4.3.1 Using categorical data in Multiple Linear Regression
      2. 4.3.2 Multiple Linear Regression using the Data Analysis Add-in Tool Kit in Excel
      3. 4.3.3 Multiple Linear Regression using advanced Excel functions
    4. 4.4 Dealing with Outliers in Regression Analysis?
    5. 4.5 How good is our Regression? Six key measures
      1. 4.5.1 Coefficient of Determination (R-Square): A measure of linearity?!
      2. 4.5.2 F-Statistic: A measure of chance occurrence
      3. 4.5.3 t-Statistics: Measures of Relevance or Significant Contribution
      4. 4.5.4 Regression through the origin
      5. 4.5.5 Role of common sense as a measure of goodness of fit
      6. 4.5.6 Coefficient of Variation as a measure of tightness of fit
      7. 4.5.7 White's Test for heteroscedasticity ... and, by default, homoscedasticity
    6. 4.6 Prediction and Confidence Intervals – Measures of uncertainty
      1. 4.6.1 Prediction Intervals and Confidence Intervals: What's the difference?
      2. 4.6.2 Calculating Prediction Limits and Confidence Limits for Simple Linear Regression
      3. 4.6.3 Calculating Prediction Limits and Confidence Limits for Multi-Linear Regression
    7. 4.7 Stepwise Regression
      1. 4.7.1 Backward Elimination
      2. 4.7.2 Forward Selection
      3. 4.7.3 Backward or Forward Selection – Which should we use?
      4. 4.7.4 Choosing the best model when we are spoilt for choice
    8. 4.8 Chapter review
    9. References
  13. 5 Linear transformation: Making bent lines straight
    1. 5.1 Logarithms
      1. 5.1.1 Basic properties of powers
      2. 5.1.2 Basic properties of logarithms
    2. 5.2 Basic linear transformation: Four Standard Function types
      1. 5.2.1 Linear functions
      2. 5.2.2 Logarithmic Functions
      3. 5.2.3 Exponential Functions
      4. 5.2.4 Power Functions
      5. 5.2.5 Transforming with Microsoft Excel
      6. 5.2.6 Is the transformation really better, or just a mathematical sleight of hand?
    3. 5.3 Advanced linear transformation: Generalised Function types
      1. 5.3.1 Transforming Generalised Logarithmic Functions
      2. 5.3.2 Transforming Generalised Exponential Functions
      3. 5.3.3 Transforming Generalised Power Functions
      4. 5.3.4 Reciprocal Functions – Special cases of Generalised Power Functions
      5. 5.3.5 Transformation options
    4. 5.4 Finding the Best Fit Offset Constant
      1. 5.4.1 Transforming Generalised Function Types into Standard Functions
      2. 5.4.2 Using the Random-Start Bisection Method (Technique)
      3. 5.4.3 Using Microsoft Excel's Goal Seek or Solver
    5. 5.5 Straightening out Earned Value Analysis ... or EVM Disintegration
      1. 5.5.1 EVM terminology
      2. 5.5.2 Taking a simpler perspective
    6. 5.6 Linear transformation based on Cumulative Value Disaggregation
    7. 5.7 Chapter review
    8. References
  14. 6 Transforming Nonlinear Regression
    1. 6.1 Simple Linear Regression of a linear transformation
      1. 6.1.1 Simple Linear Regression with a Logarithmic Function
      2. 6.1.2 Simple Linear Regression with an Exponential Function
      3. 6.1.3 Simple Linear Regression with a Power Function
      4. 6.1.4 Reversing the transformation of Logarithmic, Exponential and Power Functions
    2. 6.2 Multiple Linear Regression of a multi-linear transformation
      1. 6.2.1 Multi-linear Regression using linear and linearised Logarithmic Functions
      2. 6.2.2 Multi-Linear Regression using linearised Exponential and Power Functions
    3. 6.3 Stepwise Regression and multi-linear transformations
      1. 6.3.1 Stepwise Regression by Backward Elimination with linear transformations
      2. 6.3.2 Stepwise Regression by Forward Selection with linear transformations
    4. 6.4 Is the Best Fit really the better fit?
    5. 6.5 Regression of Transformed Generalised Nonlinear Functions
      1. 6.5.1 Linear Regression of a Transformed Generalised Logarithmic Function
      2. 6.5.2 Linear Regression of a Transformed Generalised Exponential Function
      3. 6.5.3 Linear Regression of a Transformed Generalised Power Function
      4. 6.5.4 Generalised Function transformations: Avoiding the pitfalls and tripwires
    6. 6.6 Pseudo Multi-linear Regression of Polynomial Functions
      1. 6.6.1 Offset Quadratic Regression of the Cumulative of a straight line
      2. 6.6.2 Example of a questionable Cubic Regression of three linear variables
    7. 6.7 Chapter review
    8. References
  15. 7 Least Squares Nonlinear Curve Fitting without the logs
    1. 7.1 Curve Fitting by Least Squares ... without the logarithms
      1. 7.1.1 Fitting data to Discrete Probability Distributions
      2. 7.1.2 Fitting data to Continuous Probability Distributions
      3. 7.1.3 Revisiting the Gamma Distribution Regression
    2. 7.2 Chapter review
    3. Reference
  16. 8 The ups and downs of Time Series Analysis
    1. 8.1 The bits and bats ... and buts of a Time Series
      1. 8.1.1 Conducting a Time Series Analysis
    2. 8.2 Alternative Time Series Models
      1. 8.2.1 Additive/Subtractive Time Series Model
      2. 8.2.2 Multiplicative Time Series Model
    3. 8.3 Classical Decomposition: Determining the underlying trend
      1. 8.3.1 See-Saw ... Regression flaw?
      2. 8.3.2 Moving Average Seasonal Smoothing
      3. 8.3.3 Cumulative Average Seasonal Smoothing
      4. 8.3.4 What happens when our world is not perfect? Do any of these trends work?
      5. 8.3.5 Exponential trends and seasonal funnels
      6. 8.3.6 Meandering trends
    4. 8.4 Determining the seasonal variations by Classical Decomposition
      1. 8.4.1 The Additive/Subtractive Model
      2. 8.4.2 The Multiplicative Model
    5. 8.5 Multi-Linear Regression: A holistic approach to Time Series?
      1. 8.5.1 The Additive/Subtractive Linear Model
      2. 8.5.2 The Additive/Subtractive Exponential Model
      3. 8.5.3 The Multiplicative Linear Model
      4. 8.5.4 The Multiplicative Exponential Model
      5. 8.5.5 Multi-Linear Regression: Reviewing the options to make an informed decision
    6. 8.6 Excel Solver technique for Time Series Analysis
      1. 8.6.1 The Perfect World scenario
      2. 8.6.2 The Real World scenario
      3. 8.6.3 Wider examples of the Solver technique
    7. 8.7 Chapter review
    8. Reference
  17. Glossary of estimating and forecasting terms
  18. Legend for Microsoft Excel Worked Example Tables in Greyscale
  19. Index

Product information

  • Title: Best Fit Lines & Curves
  • Author(s): Alan Jones
  • Release date: October 2018
  • Publisher(s): Routledge
  • ISBN: 9781351661430