12
$\begingroup$

I want to fit to a dataset a power function ($y=Ax^B$). What is the best and easiest method to do this. I need the $A$ and $B$ parameters too. I'm using in general financial data in my project, which looks like this:

8553600 458.2 17193600    373.6 25833600    694.16 34646400    738.33 44064000    817.89 54259200    1040.67 67910400    1032.69 76291200    1222.1 84844800    1245.65 94089600    1217.44 102211200   1579.38 110592000   1859.24 118886400   1711.67 127612800   2303.62 136684800   2658.26 219196800   3669.23 225676800   3525.02 225763200   3749.27 

I need to implement the algorithm in a Java similar language called ActionScript.

1 Answers 1