Calculating Error in Y-Intercept for Fixed Slope Linest in Excel

  • Thread starter Thread starter Lorna
  • Start date Start date
  • Tags Tags
    Excel Slope
Click For Summary
SUMMARY

The discussion centers on calculating the error in the y-intercept while fixing the slope using the LINEST function in Microsoft Excel. It is established that LINEST does not support fixing the slope directly; instead, the y-intercept can be calculated using the formula b = avg(y) - m*avg(x), where m represents the fixed slope. The participants clarify that the error in the y-intercept is not zero and requires further calculation based on the data used.

PREREQUISITES
  • Understanding of linear regression concepts
  • Familiarity with Microsoft Excel functions, specifically LINEST
  • Knowledge of least squares fitting methodology
  • Basic statistical concepts related to error calculation
NEXT STEPS
  • Research how to implement fixed slope regression in Excel
  • Learn about calculating standard errors in regression analysis
  • Explore advanced Excel functions for statistical analysis
  • Study the implications of fixing parameters in regression models
USEFUL FOR

Data analysts, statisticians, and Excel users interested in performing linear regression analysis with fixed parameters and understanding error calculations in statistical models.

Lorna
Messages
44
Reaction score
0
Hello,

Does anyone have an idea about how to use fit data with a line while fixing the slope in MS. Excel? Does linest by anyway capable of doing that?

Thank you

Lorna
 
Physics news on Phys.org
I doubt that linest has the ability to fix the slope, but you don't need it anyway. If you look at the equations for least squares line fit (i.e. y = mx + b), the intercept is calculated by:

b = avg(y) - m*avg(x)
 
Oh yes! Thank you a lot!

How would we calculate the error in the y-intercept? would it be zero?

Thank you!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K