To apply Linear Regression to predict the relationship between dependent and independent variables
- Click on CREATE to perform the experiment.
- Enter the values for X(Age) and Y(Glucose-level) in the ATTRIBUTES section and click on the ADD button to add values to the table.
- Repeat step 2 until there are 10 rows in the table.
- Click on the NEXT button to provide the data for testing.
- Now, enter a value for X (Age) in the ATTRIBUTE section, and then click on the NEXT button.
- Complete the observation table by clicking on the buttons labeled XY, X2 and Σ in the specified order.
- Enter values of (Σx, Σy, Σxy, Σx2) for b0 equation, then click on the SUBMIT button.
- Enter values of (Σx, Σy, Σxy, Σx2) for b1 equation, then click on the SUBMIT button.
- Enter the values of b0 & b1 into the y equation, and then click on the SUBMIT button.
- Finally, click the PLOT button to plot the graph.