SlideShare a Scribd company logo
GEOSTATISTICS
 Covariance is a measure of the relationship between two random variables.
 A measure of the variance between two variables. However, the metric does
not assess the dependency between variables.
 The measure of the strength of the linear relationship between x and y is
called the covariance.
 Covariance is measured in units.
 The units are computed by multiplying the units of the two variables (x,y).
 The variance can take any positive or negative values.
 The values are interpreted as follows:
Positive covariance:
When two variables (x and y) move in the same direction (both increase or
both decrease) then covariance is, large and positive
Negative covariance:
When two variables (x and y) move in the opposite directions (one
increases while the other decreases) the covariance is a large negative number
 When there is no particular pattern the covariance is a small number
 The covariance formula deals with the calculation of data points from the
average value in a dataset.
 For example, the covariance between two random variables X and Y can be
calculated using the following formula (for population):
Where, Xi – the values of the X-variable
Yj – the values of the Y-variable
X̄ – the mean (average) of the X-variable
Ȳ – the mean (average) of the Y-variable
n – the number of data points
 A simple linear regression model is a mathematical equation that
describes the relationship between two or more variables.
 A simple linear model includes only two variables:
 one independent and one dependent.
 Dependent variable is the one being explained
 Independent variable is the one used to explain the variation in the
dependent variable.
 A (simple) linear model that gives a straight-line relationship between two
variables.
 In the model,
ŷ = a + bx, a and b, which are calculated using sample data, are
called the estimates of A and B.
Calculation of covariance and simple linear models
 The dependent (or response) variable is the variable needed to understand
or predict (usually the y term)
 The independent (or predictor) variable is the variable used to understand
or predict the dependent variable (usually the x term)
Linear Regression Analysis
 Its a statistical technique that uses observed data to relate the
dependent variable to one or more independent variables.
 The objective of regression analysis is to build a regression model (or
predictive equation) that can be used to describe, predict, and control the
dependent variable on the basis of the independent variable
Calculation of covariance and simple linear models

More Related Content

PPT
Chapter 10
PPTX
Stats 3000 Week 2 - Winter 2011
PPT
Statistics
PPT
Statistics
PPT
Sumit presentation
PPTX
Regression vs correlation and causation
PDF
Scatter diagram
PPTX
Correlation and regression
Chapter 10
Stats 3000 Week 2 - Winter 2011
Statistics
Statistics
Sumit presentation
Regression vs correlation and causation
Scatter diagram
Correlation and regression

What's hot (20)

PPTX
Chapter 3.1
PPT
Linear regression
PPT
Week 1 lecture b how do economists work
PPT
Ch8 Regression Revby Rao
DOCX
PPTX
Correlation
PPT
Correlation - Biostatistics
PPTX
Correlation analysis ppt
PPTX
Scattergrams
PPT
Statistical Relationships
PPTX
how to select the appropriate method for our study of interest
PPT
Chapter 9 Regression
DOCX
assignment 2
PDF
Correlation analysis
PPTX
Correlation and regression
PPT
Statisticalrelationships
PPTX
Introduction to simple linear regression and correlation in spss
PPTX
association of attributes
PPT
Correlation IN STATISTICS
PPTX
Correlation and Regression ppt
Chapter 3.1
Linear regression
Week 1 lecture b how do economists work
Ch8 Regression Revby Rao
Correlation
Correlation - Biostatistics
Correlation analysis ppt
Scattergrams
Statistical Relationships
how to select the appropriate method for our study of interest
Chapter 9 Regression
assignment 2
Correlation analysis
Correlation and regression
Statisticalrelationships
Introduction to simple linear regression and correlation in spss
association of attributes
Correlation IN STATISTICS
Correlation and Regression ppt
Ad

Similar to Calculation of covariance and simple linear models (20)

PPTX
REGRESSION ANALYSIS THEORY EXPLAINED HERE
PPTX
Unit2_2Regression analysitfutdyrstees.pptx
PPTX
regression analysis /bio statistics/pptx
PDF
Linear regreesion ppt
PPTX
Correlation and regression with Formulas and examples
PPT
Regression
PPT
Regression
PPT
Research Methodology-Chapter 14
PPTX
Correlation and Regression Analysis.pptx
PPTX
Simple correlation & Regression analysis
PPTX
STATISTICAL REGRESSION MODELS
PDF
MSC III_Research Methodology and Statistics_Inferrential ststistics.pdf
PDF
Simple Linear Regression detail explanation.pdf
PPTX
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
PDF
Regression Analysis-Machine Learning -Different Types
PPTX
Statistics review 2
PPTX
Regression
PPT
Regression Analysis-Economic Statistics.ppt
PPTX
Simple Linear Regression explanation.pptx
REGRESSION ANALYSIS THEORY EXPLAINED HERE
Unit2_2Regression analysitfutdyrstees.pptx
regression analysis /bio statistics/pptx
Linear regreesion ppt
Correlation and regression with Formulas and examples
Regression
Regression
Research Methodology-Chapter 14
Correlation and Regression Analysis.pptx
Simple correlation & Regression analysis
STATISTICAL REGRESSION MODELS
MSC III_Research Methodology and Statistics_Inferrential ststistics.pdf
Simple Linear Regression detail explanation.pdf
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
Regression Analysis-Machine Learning -Different Types
Statistics review 2
Regression
Regression Analysis-Economic Statistics.ppt
Simple Linear Regression explanation.pptx
Ad

Recently uploaded (20)

PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PDF
Mega Projects Data Mega Projects Data
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
1_Introduction to advance data techniques.pptx
PPTX
Global journeys: estimating international migration
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
Database Infoormation System (DBIS).pptx
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
Major-Components-ofNKJNNKNKNKNKronment.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
IBA_Chapter_11_Slides_Final_Accessible.pptx
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Introduction-to-Cloud-ComputingFinal.pptx
Mega Projects Data Mega Projects Data
.pdf is not working space design for the following data for the following dat...
1_Introduction to advance data techniques.pptx
Global journeys: estimating international migration
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
Fluorescence-microscope_Botany_detailed content
IB Computer Science - Internal Assessment.pptx
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Reliability_Chapter_ presentation 1221.5784
Database Infoormation System (DBIS).pptx
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
Supervised vs unsupervised machine learning algorithms
oil_refinery_comprehensive_20250804084928 (1).pptx

Calculation of covariance and simple linear models

  • 2.  Covariance is a measure of the relationship between two random variables.  A measure of the variance between two variables. However, the metric does not assess the dependency between variables.  The measure of the strength of the linear relationship between x and y is called the covariance.
  • 3.  Covariance is measured in units.  The units are computed by multiplying the units of the two variables (x,y).  The variance can take any positive or negative values.  The values are interpreted as follows: Positive covariance: When two variables (x and y) move in the same direction (both increase or both decrease) then covariance is, large and positive Negative covariance: When two variables (x and y) move in the opposite directions (one increases while the other decreases) the covariance is a large negative number  When there is no particular pattern the covariance is a small number
  • 4.  The covariance formula deals with the calculation of data points from the average value in a dataset.  For example, the covariance between two random variables X and Y can be calculated using the following formula (for population): Where, Xi – the values of the X-variable Yj – the values of the Y-variable X̄ – the mean (average) of the X-variable Ȳ – the mean (average) of the Y-variable n – the number of data points
  • 5.  A simple linear regression model is a mathematical equation that describes the relationship between two or more variables.  A simple linear model includes only two variables:  one independent and one dependent.  Dependent variable is the one being explained  Independent variable is the one used to explain the variation in the dependent variable.  A (simple) linear model that gives a straight-line relationship between two variables.
  • 6.  In the model, ŷ = a + bx, a and b, which are calculated using sample data, are called the estimates of A and B.
  • 8.  The dependent (or response) variable is the variable needed to understand or predict (usually the y term)  The independent (or predictor) variable is the variable used to understand or predict the dependent variable (usually the x term) Linear Regression Analysis  Its a statistical technique that uses observed data to relate the dependent variable to one or more independent variables.  The objective of regression analysis is to build a regression model (or predictive equation) that can be used to describe, predict, and control the dependent variable on the basis of the independent variable