Regression Using an Excel Spreadsheet Enter your data in columns A and B for the x and y variable respectively Highlight the entire data series by selecting it with the mouse From the Insert menu select Chart Select the XY (Scatter) for the plot type then click on Next Next Next Finish (During this time you can change the axis name, colour and scale) To find the regression for the graph select the graph and click on the Chart menu then select Add Treadline Select the regression you want to test
Note: The polynomial regression tool allows you to choose the degree of the polynomial: o Order 2 Quadratic o Order 3 Cubic o Order 4 Quartic o etc Click on the Options tab Then check off Display equations on chart and Display R-Squared value on chart then click OK The regression model will display on the graph Chart Title 300 250 y = 15.714x 2-35.886x + 46.4 R 2 = 0.9755 200 150 100 50 0 0 1 2 3 4 5 6
Regression with DESMOS.COM If you'd like to learn more about regressions, check out the Regressions page at Learn Desmos: To get started with regressions, you'll need some data. You can copy data from a spreadsheet and paste it into a blank expression in the calculator. Next, enter your regression model, like y1~mx1+b or y1~ax1 2 +bx1+c or y1~ax1 3 + bx1 2 +cx1+d or other degree polynomial or exponential like y1~a(b) x +c or other model (use subscripts on variables x and y). To decide which model is best look at R 2 value (needs to be as close to 1 as possible.) You can also long-hold the colored icon and make the points draggable to see how their values change the equation. Watch the video to learn more: https://www.youtube.com/watch?v=e9b0hqyfziw
Regression with the Graphing Calculator TI-89
Regression with Curve Expert Free download from http://www.curveexpert.net/download/ 1. Enter the data set in the x and y columns. 2. Click APPLY FIT from the menu, and choose nth order Polynomial, or from Calculate menu select nth order polynomial fit. 3. Type in the degree you want to use as regression. Note: The polynomial regression tool allows you to choose the degree of the polynomial: o Order 2 Quadratic o Order 3 Cubic o Order 4 Quartic o etc 4. Click INFO on the graph to see the coefficients. or from Window select to view Messages
Regression with the Graphing Calculator TI-83 Entering data into Lists Press STAT and select option 1 Clear lists by moving the cursor to the very top of each column in turn and pressing CLEAR then ENTER. Enter the independent variable in L1 Enter dependent variable in L2. Graphing Your Data Draw a scatter plot to show the relationship as follows: Use STATPLOT (2 nd Y=), select 1 (Plot 1) and press ENTER. Turn on the plot, choose a scatter plot and enter the correct lists for your Xlist is usually L1 (2 nd 1) and Ylist is usually L2 (2 nd 2). Press GRAPH to look at the scatter plot. (You may need to use ZOOM 9:ZoomStat in order to see the graph.) Finding the Equation of the Line of Best Fit (Regression) In order to determine the goodness of fit we need the coefficient of determination r 2. Press 2 nd 0 (CATALOG), cursor down to DIAGNOSTICON. Then press ENTER-ENTER- ENTER. (This only needs to be done one per use) Press STAT and cursor across to CALC. Choose the appropriate regression type: 4:LinReg(ax +b) LINEAR REGRESSION 5:QuadReg QUADRATIC REGRESSION 6:CubicReg CUBIC REGRESSION 7:QuartReg QUARTIC REGRESSION 9:LnReg LOGARITHMIC REGRESSION 0:ExpReg EXPONENTIAL REGRESSION For example using linear regression choose 5: QuadReg. Next, enter the appropriate list names (L1 first then L2) separated by commas. The press ENTER The r 2 value makes the quadratic model not the best fit for the data (moderate fit). The equation of this model is: Y = -0.0348x 2 + 12.876x 1104.23