Regression Analysis of CPDA

Source: Internet
Author: User

1. Determine the variables and draw a scatter chart

Intuitively determine which mathematical regression model is selected from the scatter chart

 

2. select an appropriate mathematical regression model to establish a sample equation.

The mona1 equation is usually used: Y = a + bt

 

3. Use the least square method to calculate coefficients A and B

Select data> data analysis> regression in Excel. Of course, you need to load the macro first, otherwise you will not see the data analysis menu.

 

4. Determine the sample Regression Equation

 

5. Inspection

1) t-test

If the p-value is less than the obvious level (default: 5%), it indicates that there is a linear relationship between the variable X and Y. The coefficient A and B are verified by the obvious level, and the coefficients A and B are significant.

2) F test

If significance F is less than the obvious level (default: 5%), it indicates that the regression equation passes the general significance test, that is, the X and Y correlation, and the overall regression equation is significant.

3) R2 Test

The closer R square is to 1, the better the regression equation fit.

 

6. Prediction

Prediction Using regression equations that pass tests

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.