Polynomial Regression - EXCEL/VBA

preview_player
Показать описание
In this lesson you’ll learn about:
• How to find the best fit line to a set of curved data points
• How to develop a polynomial regression program
• Compare Results to Excel’s inbuilt linear regression function
Рекомендации по теме
Комментарии
Автор

Cheers my friend! I just bought your course on Udemy. Great stuff! Very well done!

gergelylaszlo
Автор

This was very helpful. Thank you very much. Keep up the good work. :)

ezcomezgo
Автор

Really great video. Do you have any video or links/suggestions to a solution that can handle variying x values (like the XY-scatter can)?

egdchr
Автор

Is there a way to make this sub into a function? I'd like to apply it to multiple sets of y values.

elisabethandersson
Автор

Hi my friend, I have a "6" error with the line "factor = a (i, k) / a (k, k)" do you have any idea how to fix it? I used clng before the values ​​but it didn't work

I also tried with "Dim factor As Integer" but work either


Thanks for the help

yodiethmachado
Автор

Do you have any experience with Power BI? I would like to use your VBA in PowerBI to create a polynomial fit line of data.

wesayers
Автор

Absolutly great video!
somehow, when I run my sub (which I copied exaclty from you, did check it multiple times) s1, s2, & s3 are still blank cells, whereas r2 works perfectly fine. Also tried to change numbers for x & f(x) and the cell output...

Any ideas where my mistake could be or what happend there?
Thanks!


edit: found my mistake. wrongly put a 1 instead of i.

nicvolk
Автор

can you share a link or some how post the VBA Code you are using to make it easier to follow along?

ericwicklund
Автор

I copy exaclty the code but the lines of a0 and a1 empty appear, you could send me them please

jonathansologaistoa