@Raul_m wrote:
Hi
I'm want to Fit with least squares a and b in this modely=a+b*e^x
with this data (Year,Value)
2010 64
2011 63
2012 61
2013 60
2015 57
2016 50
2017 1I call Math.NET like this
double []fittedFunctionParameters = Fit.LinearCombination( xValues, yValues, z => 1.0, z => Math.Exp(z));
Debugging i can confirm that xValues and Yvalues are ok but the return value is a vector filled with NaN
What am i doing wrong?
Posts: 3
Participants: 2