Calculating m and b for Logarithmic Regression with Small Data Set

  • Context: Undergrad 
  • Thread starter Thread starter rowardHoark
  • Start date Start date
  • Tags Tags
    Logarithmic Regression
Click For Summary
SUMMARY

The discussion focuses on calculating the coefficients m and b for a logarithmic regression model using a small dataset, typically consisting of 3 to 4 data points. The best fit is represented by the equation y = m * Ln(x) + b. The method recommended for obtaining m and b is through linear least squares fitting, which is applicable even with limited data points.

PREREQUISITES
  • Understanding of logarithmic functions and their properties
  • Familiarity with linear least squares fitting techniques
  • Basic knowledge of regression analysis
  • Proficiency in using statistical software or programming languages for calculations
NEXT STEPS
  • Research the implementation of linear least squares fitting in Python using libraries like NumPy or SciPy
  • Learn about the mathematical derivation of logarithmic regression coefficients
  • Explore the use of R for performing regression analysis on small datasets
  • Investigate the limitations and assumptions of using logarithmic regression with minimal data points
USEFUL FOR

Data analysts, statisticians, and researchers working with small datasets who need to perform logarithmic regression analysis for predictive modeling.

rowardHoark
Messages
15
Reaction score
0
I have a very small set of data. Usually 3 points, sometimes 4.

Best fit is a logarithmic equation y=m*Ln(x)+b

How can I obtain m and b?
 
Physics news on Phys.org
Linear (in the unknown coefficients, not the argument x) Least squares fit.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K