Linear regression on log transformed data

A function that takes two column vectors and does linear regression on the data
772 Downloads
Updated 9 Dec 2011

View License

A function that takes two column vectors and does linear regression on the data. It assumes that the data is logged. It takes two column vectors, a description, x label and y label and does the linear regression. It then plots the data and outputs all the statistics (r-squared, OLS slope, RMA slope and 95% confidence intervals)

Cite As

Dr. Soumya Banerjee (2024). Linear regression on log transformed data (https://www.mathworks.com/matlabcentral/fileexchange/34152-linear-regression-on-log-transformed-data), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0