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
Citar como
Kaustubh Thirumalai (2024). Regress_Bivariate (https://www.mathworks.com/matlabcentral/fileexchange/47702-regress_bivariate), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization > Statistical Visualization > Box Plots >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.