Skip to main content
Statistics LibreTexts

6: Linear Correlation and Regression

  • Page ID
    19739
  • Linear Correlation and Regression

    This calculator creates a scatter plot, the regression equation, \(r\) and \(r^{2}\), and performs the hypothesis test for a nonzero correlation. Please report the error to Dr. Jessica Kuang at jkuangATvcccd.edu.

    To learn how to use this calculator, please watch a short video here.

     

    Input

    Put the independent variable's data separated by commas in the first row and the dependent variable's data separated by commas in the second row, then click Plot Points and Calculate. 

    Explanatory/Independent Variable (x):  

    Response/Dependent Variable (y):  

     

    Output

    Regression Equation: 

    \(r\):  \(r^{2}\): 
     Hypothesis:  \(H_{0}: \rho = 0, H_{1}: \rho \neq 0\)
     Hypothesis:  \(H_{0}:  \rho = 0, H_{1}:  \rho \lt 0\)
     Hypothesis:  \(H_{0}:  \rho = 0, H_{1}:  \rho \gt 0\)

    Test Statistic (\(t\)):

    \(p\)-value:

     

    (Powered by DESMOS)

    • Was this article helpful?