Hello guys,
I am a developer from Russia trying very hard to learn how libgretl works. I successfully understood the provided code example (extra/simple_client.c). Unfortunately, LSQ is not enough and I want to use NLS. Could you please post a code example for, I say,
y=a x^2 + b x + c
model,
x = 1, 2, 3, 4, 5, 6
y = 3, 7, 13, 21, 31, 43
data series. Particularly, how to get the values of a, b and c?
Thanks,
Markovtsev Vadim.