SlideShare a Scribd company logo
1 of 10
Download to read offline
Curve Fitting
Dr. Liaquat Ahmad
Associate Professor/Chairman
Department of Statistics and Computer Science
Curve fitting
Curve fitting is the process of introducing
mathematical relationships between dependent and
independent variables in the form of an equation
for a given set of data.
The process of finding the equation of the curve of
best fit, which may be most suitable for predicting
the unknown values, is known as curve fitting.
Therefore, curve fitting means an exact
relationship between two variables by algebraic
equations. There are following methods for fitting
a curve.
I. Graphic method II. Method of group averages
III. Method of moments IV. Principle of least square.
Fitting A Straight Line
Fitting a straight line is a statistical procedure to
construct a straight line that best fits the series of
data points. The line of best fit can be roughly
drawn by a straight line on a scatter plot so that
the number of points that lie below the line and
above the line are equal and the line will pass
through as many points as probable. One of the
most accurate ways to find the best fit is the least
squares method.
Fitting A Straight Line
Construction of line of best fit is simple but it is
an important tool to shows the relationship
between the two given variables. The line of best
fit or the straight line constructed through the
points shows whether a correlation exists
between two variables and also helps to
determine whether there is any trend that occurs
within the data set. This line helps to predict the
future events based on the data studied. The
straight line for the provided data points can be
constructed either manually or using any
software which is easier.
Method of Least Squares
Example
Steps
The steps to be followed in the least squares
method are listed below:
1. Calculate the mean of the x values and the
mean of the y-values.
2. Calculate the slope of the line of best fit from
the below formula:
3. Compute the y-intercept of the line from the
formula:
4. Use the obtained slope and the intercept to
frame the equation.
The general equation of the simple linear
regression is defined as:
Here, X is the explanatory variable, Y is the
response variable, a is the intercept and b is the
slope of the line.

More Related Content

Similar to Curve Fitting detail explanation stat.pdf

Unit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxUnit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxAnusuya123
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptxarsh260174
 
Regression Analysis Techniques.pptx
Regression Analysis Techniques.pptxRegression Analysis Techniques.pptx
Regression Analysis Techniques.pptxYutaItadori
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaEdureka!
 
NPTL Machine Learning Week 2.docx
NPTL Machine Learning Week 2.docxNPTL Machine Learning Week 2.docx
NPTL Machine Learning Week 2.docxMr. Moms
 
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai UniversityMadhav Mishra
 
Linear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data ScienceLinear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data SciencePremier Publishers
 
Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...ANIRBANMAJUMDAR18
 
Artifical Intelligence And Machine Learning Algorithum.pptx
Artifical Intelligence And Machine Learning Algorithum.pptxArtifical Intelligence And Machine Learning Algorithum.pptx
Artifical Intelligence And Machine Learning Algorithum.pptxAishwarya SenthilNathan
 
manecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptxmanecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptxasdfg hjkl
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptxAjka3
 
5.0 -Chapter Introduction
5.0 -Chapter Introduction5.0 -Chapter Introduction
5.0 -Chapter IntroductionSabrina Baloi
 
Machine learning session4(linear regression)
Machine learning   session4(linear regression)Machine learning   session4(linear regression)
Machine learning session4(linear regression)Abhimanyu Dwivedi
 
Statistics with Computer Applications
Statistics with Computer ApplicationsStatistics with Computer Applications
Statistics with Computer ApplicationsDrMateoMacalaguingJr
 

Similar to Curve Fitting detail explanation stat.pdf (20)

Unit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxUnit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptx
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
Regression Analysis Techniques.pptx
Regression Analysis Techniques.pptxRegression Analysis Techniques.pptx
Regression Analysis Techniques.pptx
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | Edureka
 
NPTL Machine Learning Week 2.docx
NPTL Machine Learning Week 2.docxNPTL Machine Learning Week 2.docx
NPTL Machine Learning Week 2.docx
 
Correlation and regression in r
Correlation and regression in rCorrelation and regression in r
Correlation and regression in r
 
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
 
Linear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data ScienceLinear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data Science
 
Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...
 
Characteristics and simulation analysis of nonlinear correlation coefficient ...
Characteristics and simulation analysis of nonlinear correlation coefficient ...Characteristics and simulation analysis of nonlinear correlation coefficient ...
Characteristics and simulation analysis of nonlinear correlation coefficient ...
 
Correlation in Statistics
Correlation in StatisticsCorrelation in Statistics
Correlation in Statistics
 
Artifical Intelligence And Machine Learning Algorithum.pptx
Artifical Intelligence And Machine Learning Algorithum.pptxArtifical Intelligence And Machine Learning Algorithum.pptx
Artifical Intelligence And Machine Learning Algorithum.pptx
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
manecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptxmanecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptx
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
5.0 -Chapter Introduction
5.0 -Chapter Introduction5.0 -Chapter Introduction
5.0 -Chapter Introduction
 
Mathematical modeling
Mathematical modelingMathematical modeling
Mathematical modeling
 
Machine learning session4(linear regression)
Machine learning   session4(linear regression)Machine learning   session4(linear regression)
Machine learning session4(linear regression)
 
Statistics with Computer Applications
Statistics with Computer ApplicationsStatistics with Computer Applications
Statistics with Computer Applications
 

More from UVAS

Cumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdfCumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdfUVAS
 
Sampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptxSampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptxUVAS
 
Promotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptxPromotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptxUVAS
 
Place - channels of drug distribution.pptx
Place - channels of drug distribution.pptxPlace - channels of drug distribution.pptx
Place - channels of drug distribution.pptxUVAS
 
Detailing explanation detail topic .pptx
Detailing explanation detail topic .pptxDetailing explanation detail topic .pptx
Detailing explanation detail topic .pptxUVAS
 
Sales and other forms of promotion .pptx
Sales and other forms of promotion .pptxSales and other forms of promotion .pptx
Sales and other forms of promotion .pptxUVAS
 
Business communication explanation .pptx
Business communication explanation .pptxBusiness communication explanation .pptx
Business communication explanation .pptxUVAS
 
Staffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptxStaffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptxUVAS
 
Advertisement explanation in detail .pptx
Advertisement explanation in detail .pptxAdvertisement explanation in detail .pptx
Advertisement explanation in detail .pptxUVAS
 
Business Management explanation detail.pptx
Business Management explanation detail.pptxBusiness Management explanation detail.pptx
Business Management explanation detail.pptxUVAS
 
Basic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptxBasic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptxUVAS
 
Strategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptxStrategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptxUVAS
 
Managing retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptxManaging retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptxUVAS
 
Frequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdfFrequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdfUVAS
 
Graphical Representation of data detail.pdf
Graphical Representation of data detail.pdfGraphical Representation of data detail.pdf
Graphical Representation of data detail.pdfUVAS
 
Simple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptxSimple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptxUVAS
 
Confidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptxConfidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptxUVAS
 
Testing of Hypothesis using Z dist..pptx
Testing of Hypothesis  using Z dist..pptxTesting of Hypothesis  using Z dist..pptx
Testing of Hypothesis using Z dist..pptxUVAS
 
Simple Linear Regression detail explanation.pdf
Simple Linear Regression detail explanation.pdfSimple Linear Regression detail explanation.pdf
Simple Linear Regression detail explanation.pdfUVAS
 
Binomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdfBinomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdfUVAS
 

More from UVAS (20)

Cumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdfCumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdf
 
Sampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptxSampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptx
 
Promotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptxPromotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptx
 
Place - channels of drug distribution.pptx
Place - channels of drug distribution.pptxPlace - channels of drug distribution.pptx
Place - channels of drug distribution.pptx
 
Detailing explanation detail topic .pptx
Detailing explanation detail topic .pptxDetailing explanation detail topic .pptx
Detailing explanation detail topic .pptx
 
Sales and other forms of promotion .pptx
Sales and other forms of promotion .pptxSales and other forms of promotion .pptx
Sales and other forms of promotion .pptx
 
Business communication explanation .pptx
Business communication explanation .pptxBusiness communication explanation .pptx
Business communication explanation .pptx
 
Staffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptxStaffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptx
 
Advertisement explanation in detail .pptx
Advertisement explanation in detail .pptxAdvertisement explanation in detail .pptx
Advertisement explanation in detail .pptx
 
Business Management explanation detail.pptx
Business Management explanation detail.pptxBusiness Management explanation detail.pptx
Business Management explanation detail.pptx
 
Basic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptxBasic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptx
 
Strategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptxStrategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptx
 
Managing retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptxManaging retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptx
 
Frequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdfFrequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdf
 
Graphical Representation of data detail.pdf
Graphical Representation of data detail.pdfGraphical Representation of data detail.pdf
Graphical Representation of data detail.pdf
 
Simple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptxSimple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptx
 
Confidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptxConfidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptx
 
Testing of Hypothesis using Z dist..pptx
Testing of Hypothesis  using Z dist..pptxTesting of Hypothesis  using Z dist..pptx
Testing of Hypothesis using Z dist..pptx
 
Simple Linear Regression detail explanation.pdf
Simple Linear Regression detail explanation.pdfSimple Linear Regression detail explanation.pdf
Simple Linear Regression detail explanation.pdf
 
Binomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdfBinomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdf
 

Recently uploaded

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Recently uploaded (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Curve Fitting detail explanation stat.pdf

  • 1. Curve Fitting Dr. Liaquat Ahmad Associate Professor/Chairman Department of Statistics and Computer Science
  • 2. Curve fitting Curve fitting is the process of introducing mathematical relationships between dependent and independent variables in the form of an equation for a given set of data. The process of finding the equation of the curve of best fit, which may be most suitable for predicting the unknown values, is known as curve fitting. Therefore, curve fitting means an exact relationship between two variables by algebraic equations. There are following methods for fitting a curve. I. Graphic method II. Method of group averages III. Method of moments IV. Principle of least square.
  • 3. Fitting A Straight Line Fitting a straight line is a statistical procedure to construct a straight line that best fits the series of data points. The line of best fit can be roughly drawn by a straight line on a scatter plot so that the number of points that lie below the line and above the line are equal and the line will pass through as many points as probable. One of the most accurate ways to find the best fit is the least squares method.
  • 4. Fitting A Straight Line Construction of line of best fit is simple but it is an important tool to shows the relationship between the two given variables. The line of best fit or the straight line constructed through the points shows whether a correlation exists between two variables and also helps to determine whether there is any trend that occurs within the data set. This line helps to predict the future events based on the data studied. The straight line for the provided data points can be constructed either manually or using any software which is easier.
  • 5. Method of Least Squares
  • 6.
  • 7.
  • 9. Steps The steps to be followed in the least squares method are listed below: 1. Calculate the mean of the x values and the mean of the y-values. 2. Calculate the slope of the line of best fit from the below formula:
  • 10. 3. Compute the y-intercept of the line from the formula: 4. Use the obtained slope and the intercept to frame the equation. The general equation of the simple linear regression is defined as: Here, X is the explanatory variable, Y is the response variable, a is the intercept and b is the slope of the line.