SlideShare a Scribd company logo
1 of 18
Download to read offline
BEST-
              BEST-FIT
              solution
By Yang Cao
Correlation
     Regression
       Weights
    Linearization
Least-
Least-Square solution
Learn:
What & How
 for each term
    twice
Then you can calculate :

  Coefficient              Best-
                           Best-fit line
  Weighted Mean
  Linearization
Correlation :
Association
  between
 variables.
Direction
 positive                     negative



X Y         X Y           X Y            X Y
Strength

1.00   High Strong:
       Few exceptions
0.80
          Moderate
0.40
        Low Weak:
0      Many exceptions
Correlation Coefficient: r
Regression :
         find a formula that can
         be used to relate two
                variables.
y=mx+b
correlation V.S. regression

Correlation: relationship
between variables.

Regression: finding a formula
that represents the relationship
so as to do prediction
residual

Residual = Actual – Predicted

The regression equation or formula meets the
"least Square" criterion: the sum of square of
the residual is at its minimum.
Weighted mean
• some data points contribute more than others
        formula
linearize : make linear or get into a linear form.
                 y



f ( x) = f (a)
                               We call the equation of the tangent
                               the linearization of the function.




                                                       x
            0           x=a
Find where     y = x3 − x    crosses
                                              y =. 1

1 = x3 − x 0 = x3 − x − 1 f ( x ) = x3 − x − 1            f ′ ( x ) = 3x 2 − 1
                                                            f ( xn )
                                               xn +1 = xn −
n      xn           f ( xn )     f ′ ( xn )                 f ′ ( xn )
                                                          −1
 0      1              −1             2                1−    = 1.5
                                                          2
                                                    .875
 1     1.5           .875           5.75      1.5 −      = 1.3478261
                                                    5.75

 2 1.3478261 .1006822 4.4499055                        1.3252004

                         3
       (1.3252004 )          − 1.3252004 = 1.0020584         ≈1
                                                                                 →
Q?
http://www.nvcc.edu/home/elanthier/methods/correlation.htm

http://www.pindling.org/Math/Statistics/Textbook/Chapter3_Re
  gression_Correlation/Chapter3_Regres_Corr_Overview.htm

     http://graphpad.com/curvefit/linear_regression.htm

       http://www.answers.com/topic/weighted-mean

   4.5: Linear Approximations, Differentials. and Newton's
Method. Greg Kelly, Hanford High School, Richland, Washington.

More Related Content

What's hot

What's hot (20)

Regression
Regression Regression
Regression
 
Statistics (recap)
Statistics (recap)Statistics (recap)
Statistics (recap)
 
Glm
GlmGlm
Glm
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
Correlation continued
Correlation continuedCorrelation continued
Correlation continued
 
COVARIANCE IN PROBABILITY
COVARIANCE IN PROBABILITYCOVARIANCE IN PROBABILITY
COVARIANCE IN PROBABILITY
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlation
 
Regression
RegressionRegression
Regression
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
5 regression
5 regression5 regression
5 regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11
 
Generalized linear model
Generalized linear modelGeneralized linear model
Generalized linear model
 
Arithmetic and geometric mean
Arithmetic and geometric meanArithmetic and geometric mean
Arithmetic and geometric mean
 
Lesson 9 transcendental functions
Lesson 9 transcendental functionsLesson 9 transcendental functions
Lesson 9 transcendental functions
 
Presentation on Regression Analysis
Presentation on Regression AnalysisPresentation on Regression Analysis
Presentation on Regression Analysis
 
Basic calculus (i)
Basic calculus (i)Basic calculus (i)
Basic calculus (i)
 
Properties of coefficient of correlation
Properties of coefficient of correlationProperties of coefficient of correlation
Properties of coefficient of correlation
 
A uniform distribution has density function find n (1)
A uniform distribution has density function find n (1)A uniform distribution has density function find n (1)
A uniform distribution has density function find n (1)
 

Viewers also liked

Development of my contents page
Development of my contents pageDevelopment of my contents page
Development of my contents pagefbobby
 
Gaming in the classroom
Gaming in the classroomGaming in the classroom
Gaming in the classroomJeff Pelich
 
ProGreen Commercial Presentation
ProGreen Commercial PresentationProGreen Commercial Presentation
ProGreen Commercial Presentationprogreenme
 
Aula 3 custos logísiticos na economia brasileira
Aula 3 custos logísiticos na economia brasileiraAula 3 custos logísiticos na economia brasileira
Aula 3 custos logísiticos na economia brasileiraAlberto Santos
 

Viewers also liked (8)

Q4
Q4Q4
Q4
 
Development of my contents page
Development of my contents pageDevelopment of my contents page
Development of my contents page
 
4ltxpresentation
4ltxpresentation4ltxpresentation
4ltxpresentation
 
Gaming in the classroom
Gaming in the classroomGaming in the classroom
Gaming in the classroom
 
ProGreen Commercial Presentation
ProGreen Commercial PresentationProGreen Commercial Presentation
ProGreen Commercial Presentation
 
Add To Your Faith
Add To Your FaithAdd To Your Faith
Add To Your Faith
 
Pro
ProPro
Pro
 
Aula 3 custos logísiticos na economia brasileira
Aula 3 custos logísiticos na economia brasileiraAula 3 custos logísiticos na economia brasileira
Aula 3 custos logísiticos na economia brasileira
 

Similar to Yangs First Lecture Ppt

Solving linear equations
Solving linear equationsSolving linear equations
Solving linear equationsmasljr
 
Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Japheth Muthama
 
Regression analysis by Muthama JM
Regression analysis by Muthama JMRegression analysis by Muthama JM
Regression analysis by Muthama JMJapheth Muthama
 
Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...
Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...
Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...BRNSS Publication Hub
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentialsTarun Gehlot
 
Lecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcLecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcRiyandika Jastin
 
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdfIVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf42Rnu
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functionsmorrobea
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functionsmorrobea
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).pptMuhammadAftab89
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.pptRidaIrfan10
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.pptkrunal soni
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.pptMoinPasha12
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Sciencessuser71ac73
 

Similar to Yangs First Lecture Ppt (20)

Solving linear equations
Solving linear equationsSolving linear equations
Solving linear equations
 
Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Regression Analysis by Muthama JM
Regression Analysis by Muthama JM
 
Regression analysis by Muthama JM
Regression analysis by Muthama JMRegression analysis by Muthama JM
Regression analysis by Muthama JM
 
T tests anovas and regression
T tests anovas and regressionT tests anovas and regression
T tests anovas and regression
 
.
..
.
 
Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...
Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...
Comparison Results of Trapezoidal, Simpson’s 13 rule, Simpson’s 38 rule, and ...
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
 
Lecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcLecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etc
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
 
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdfIVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
 
05_AJMS_16_18_RA.pdf
05_AJMS_16_18_RA.pdf05_AJMS_16_18_RA.pdf
05_AJMS_16_18_RA.pdf
 

Yangs First Lecture Ppt