Hi,
I stumbled over a problem with the pvalue-function in gretl, I suspect it could be related
to the
fact that the German decimal separator is the comma, but see for yourself:
(This is about gretl 1.5.0 on a German Windows 2000.)
If I execute the exact command given on p.14 of the command reference in the following
two-liner,
<script>
nulldata 10
genr p2 = pvalue(X, 3, 5.67)
</script>
I get the following error output:
<error>
gretl-Version 1.5.0
Aktuelle Session: 2006/01/05 15:57
? nulldata 10
periodicity: 1, maxobs: 10,
observations range: 1-10
? genr p2 = pvalue(X, 3, 5.67)
Syntax-Fehler in Befehlszeile
Error executing script: halting
genr p2 = pvalue(X, 3, 5.67)
</error>
The same thing happens if I type 5,67 instead of 5.67.
Workaround: if instead I modify the script as follows,
<script>
nulldata 10
scalar x = 5.67
genr p2 = pvalue(X, 3, x)
</script>
then everything seems ok. (Ok also with a comma as in "scalar x = 5,67")
Any ideas, or better workarounds?
Thanks,
Sven