Regress_Bivariate
Regress_Bivariate produces a weighted least squares fit of a straight line to a set of points with error in both coordinates. It can handle bivariate regression where the errors in both coordinates are correlated (or uncorrelated) and is capable of performing force-fit regression. The algorithm used in the code is based on the Maximum Likelihood Estimation technique from 'Unified Equations for the slope, intercept, and standard errors of the best straight line' (York et al., 2004).
This file uses the MATLAB code 'Errorbar_x' (#12751; included in the .zip file) to display error-bars in the X direction.
Citation: Thirumalai, K., A. Singh, and R. Ramesh (2011), A MATLAB code to perform weighted linear regression with (correlated or uncorrelated) errors in bivariate data, Journal of the Geological Society of India, 77(4), 377380, doi: 10.1007/s12594-011-0044-1
Cita come
Kaustubh Thirumalai (2024). Regress_Bivariate (https://www.mathworks.com/matlabcentral/fileexchange/47702-regress_bivariate), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization > Statistical Visualization > Box Plots >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.