Data methods in optometry. Part 6: fitting a regression line to data

Armstrong, Richard A. and Eperjesi, Frank (2006). Data methods in optometry. Part 6: fitting a regression line to data. Optometry Today, 2006 (June), pp. 48-51.


1. Fitting a linear regression to data provides much more information about the relationship between two variables than a simple correlation test. A goodness of fit test of the line should always be carried out. Hence, r squared estimates the strength of the relationship between Y and X, ANOVA whether a statistically significant line is present, and the ‘t’ test whether the slope of the line is significantly different from zero. 2. Always check whether the data collected fit the assumptions for regression analysis and, if not, whether a transformation of the Y and/or X variables is necessary. 3. If the regression line is to be used for prediction, it is important to determine whether the prediction involves an individual y value or a mean. Care should be taken if predictions are made close to the extremities of the data and are subject to considerable error if x falls beyond the range of the data. Multiple predictions require correction of the P values. 3. If several individual regression lines have been calculated from a number of similar sets of data, consider whether they should be combined to form a single regression line. 4. If the data exhibit a degree of curvature, then fitting a higher-order polynomial curve may provide a better fit than a straight line. In this case, a test of whether the data depart significantly from a linear regression should be carried out.

Divisions: Life & Health Sciences > Optometry
Life & Health Sciences > Ophthalmic Research Group
Life & Health Sciences > Health Sciences
Life & Health Sciences > Applied Health Research Group
Uncontrolled Keywords: correlation methods,analysis of clinical problems,optometry,Pearson’s correlation coefficient,linear relationship,regression line
Published Date: 2006-06-02
Authors: Armstrong, Richard A.
Eperjesi, Frank


Item under embargo

Export / Share Citation


Additional statistics for this record