A MATLAB code to perform weighted linear regression with (correlated or uncorrelated) errors in bivariate data

Kaustubh Thirumalai, Arvind Singh, R. Ramesh

Research output: Contribution to journalArticlepeer-review

75 Scopus citations

Abstract

MATLABtrade; is a powerful, easy to use, software package suitable for many mathematical operations, which finds plenty of scientific applications. One such application is the fitting of trend lines for a given data set so as to interpret the relationship of the variance of the parameters involved. We provide here a code in MATLABtrade; that performs the weighted linear regression with (correlated or uncorrelated) errors in bivariate data which can handle 'force-fit' regression as well.

Original languageEnglish (US)
Pages (from-to)377-380
Number of pages4
JournalJournal of the Geological Society of India
Volume77
Issue number4
DOIs
StatePublished - Apr 2011
Externally publishedYes

Keywords

  • Bivariate regression
  • Correlated errors
  • Force fit
  • Trend line
  • Weighted linear regression

ASJC Scopus subject areas

  • Geology

Fingerprint

Dive into the research topics of 'A MATLAB code to perform weighted linear regression with (correlated or uncorrelated) errors in bivariate data'. Together they form a unique fingerprint.

Cite this