Linear Regression with Errors in X and Y

Calculates slope and intercept for linear regression of data with errors in X and Y.
7,5K téléchargements
Mise à jour 3 fév. 2010

Afficher la licence

Calculates slope and intercept for linear regression of data with errors in X and Y. The errors can be specified as varying point to point, as can the correlation of the errors in X and Y.

The uncertainty in the slope and intercept are also estimated.

This follows the method in D. York, N. Evensen, M. Martinez, J. Delgado "Unified equations for the slope, intercept, and standard errors of the best straight line" Am. J. Phys. 72 (3) March 2004.

The package includes an example and a Monte Carlo simulation verifying the estimated uncertainties.

For more info, visit http://blog.nutaksas.com

Citation pour cette source

Travis Wiens (2026). Linear Regression with Errors in X and Y (https://fr.mathworks.com/matlabcentral/fileexchange/26586-linear-regression-with-errors-in-x-and-y), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2007a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0