I want to do a regression in R (RStudio), with equation:

$ y = A + Bc^x$.

Any idea on how to do such regression? Thank You

  • 1
    $\begingroup$ That is not a linear regression so I think you need to do some more revision of your statistics course before actually attempting an analysis. $\endgroup$
    – mdewey
    Mar 21 at 13:44
  • $\begingroup$ Is $c$ an unknown parameter to be estimated? $\endgroup$
    – Galen
    Mar 21 at 13:54
  • 1
    $\begingroup$ The first duplicate gives answers. The others give answers to special cases of this regression and therefore can offer helpful ideas. Of course, you need to recognize that by definition $c^x=\exp(x\log c).$ For more related posts, search our site for nls exp. $\endgroup$
    – whuber
    Mar 21 at 13:54


Browse other questions tagged or ask your own question.