Solving LSE of y=ax+bsinx: Find a & b

  • Context: Undergrad 
  • Thread starter Thread starter peripatein
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on finding the least squares estimates of the coefficients a and b in the equation y = ax + bsin(x). The recommended approach involves creating a new variable z = sin(x) and performing a regression analysis on the modified model y = ax + bz + e. This method effectively allows for the estimation of both coefficients using standard regression techniques.

PREREQUISITES
  • Understanding of linear regression analysis
  • Familiarity with variable transformation in statistical modeling
  • Knowledge of trigonometric functions, specifically sine
  • Experience with statistical software for regression (e.g., R, Python)
NEXT STEPS
  • Learn how to perform linear regression in R using the lm() function
  • Explore variable transformation techniques in statistical modeling
  • Study the implications of multicollinearity in regression analysis
  • Investigate the use of sine and other trigonometric functions in regression models
USEFUL FOR

Statisticians, data analysts, and anyone involved in regression modeling or seeking to understand the application of trigonometric functions in statistical analysis.

peripatein
Messages
868
Reaction score
0
If y = ax + bsinx, how may the least square estimates of a and b be found? Please advise!
 
Physics news on Phys.org
Hey peripatein.

For this, you need to create another variable for sin(x) where z = sin(x) and do a regression on the model:

y = ax + bz + e
 

Similar threads

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