You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Linear regression on log transformed data (https://www.mathworks.com/matlabcentral/fileexchange/34152-linear-regression-on-log-transformed-data), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: A Graphical User Interface for Solving Delay Differential Equations and doing Local Search, Linear regression with statistics for multiple category data, Linear regression for multiple category data with different slopes for each, Graphical User Interface for Solving Ordinary Differential Equations for In-Vitro Infection, healthy_disease_boxplot.zip, t-test and box plots for genes/compounds etc in healthy vs. disease, Wilcoxon rank-sum test and box plots for genes/compounds etc in healthy vs. disease
General Information
- Version 1.0.0.0 (1.88 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
