Consider data consisting of pairs $(y_i, x_i)$ for $i = 1,..,n$ arising from a non-linear regression model:

$y_i = \alpha + \beta\sin(\omega x_i + \delta) + \epsilon_i$ where $\epsilon_i \sim N(0,\sigma^2)$

and $\alpha, \beta, \omega, \delta,$ and $\sigma^2$ are all unknown parameters.

This can be rewritten as:

$y_i = \alpha + \gamma_1\sin(\omega x_i) + \gamma_2\cos(\omega x_i) + \epsilon_i$ where $\epsilon_i \sim N(0,\sigma^2)$

How do I get from one to the other, and what is the relationship between $(\gamma_1,\gamma_2)$ and $(\beta,\delta)$?

  • 2
    $\begingroup$ 1. In the first line where you have $i_i$ do you mean $x_i$? 2. If this is a Bayesian question you should tag accordingly. 3. note that we can't tell you what your priors are -- there's no "should" for priors. 4. "How do I get from one to the other" is already answered here (this is the problem with scattergun questions; you should try to stick to one issue at a time).... please edit your question accordingly. $\endgroup$ – Glen_b Mar 20 '17 at 8:22
  • 2
    $\begingroup$ This is answered at en.wikipedia.org/wiki/…. $\endgroup$ – whuber Mar 20 '17 at 16:31
  • $\begingroup$ if it is a homework please add self-study tag $\endgroup$ – Haitao Du Mar 20 '17 at 16:37
  • 1
    $\begingroup$ I restored the trigonometry tag because that is precisely what your question is about--it's not really about nonlinear modeling or regression. Perhaps that extra hint will help you find the answer yourself. $\endgroup$ – whuber May 7 '18 at 21:43
  • $\begingroup$ Exactly. Your answer is on the trigonometry. $\endgroup$ – dankernler May 8 '18 at 1:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.