Solved – How to perform exponential regression with more than one predictors using R

Fitting exponential regression of form $y=ab^{x_1}c^{x_2}$
Here $x_1$ and $x_2$ are predictors and $y$ is dependent variable
how to calculate $a,b,c$ using R tool

If the model is: log(y) ~ a + b*X1 + c*X2 with Poisson errors, …. then it would be as simple as:

glm( y ~ X1 + X2, data = dfrm, family="poisson") 

You could get one kind of "additive" model with:

glm( log(y) ~ X1+X2, data=dfrm, family="gaussian") 

Similar Posts:

Rate this post

Leave a Comment