I need to do exponential regression on these values:
x | 2008 | 2009 | 2010 | 2011 |
y | 0.48 | 1.08 | 2.84 | 7.16 |
I can calculate a:
But when I try to calculate b I get an error.
I found out that this is due to a^x1 being so small a number that it would round to zero, making the divide impossible. How do I go about calculating this, is there are smarter way to do the regression?