Asked • 06/18/19

easy to implement method to fit a power function (regression)?

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.

2 Answers By Expert Tutors

By:
F626d572 5c9d 469b a00a 6b41b001d818

Patrick B. answered • 06/18/19

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.