1
$\begingroup$

Possible Duplicate:
easy to implement method to fit a power function (regression)

I have the following simple function: $h = cV^n$

h and V being the variables and $c$ and $n$ are parameters that I want to optimize. I have a series of values for $h$ and $V$. What are the options for guessing the parameters ? I know if the funtion is linear I can use linear least square for a maximum likelihood guess. But in my case it's non linear.

Thanks in advance.

  • 0
    Thanks. The right-click method is really cool !2011-11-14

1 Answers 1

2

There is also least squares fitting for exponential functions. For the formulas you need to use, see mathworld ($y$ is your $h$ and $e^x$ is your $V$). If you don't like to evaluate the formulas from hand you can use software packages like Mathematica which come with ready algorithms for those problems.

  • 1
    @osager: If you're using *Mathematica*, then `FindFit[]` is the function to use. If you'll be implementing it on your own, well, there's [this](http://math.stackexchange.com/questions/3625)...2011-11-14