[Gretl-devel] Bug in help file

andreas.rosenblad at ltv.se andreas.rosenblad at ltv.se
Wed Sep 12 05:11:41 EDT 2007


The help file for Nonlinear Least Squares needs to be changed. In the
example it gives it says that one could use the following code in the NLS
window:

genr alpha = 1
genr beta = 1
genr gamma = 1
C = alpha + beta * Y^gamma
deriv alpha = 1
deriv beta = Y^gamma
deriv gamma = beta * Y^gamma * log(Y)

However, this results in the following error message: 'gamma' refers to a
function and may not be used as a variable name

It is pedagogically bad to have an example that does not work.

Best regards
Andreas



More information about the Gretl-devel mailing list