On Tue, 5 Jul 2016, Sven Schreiber wrote:
Am 05.07.2016 um 13:55 schrieb Paolo Chirico:
> I performed the example 30.3: "philips curve... with time-varying slope"
> 1) I was responded the following error (in the MLE step):
> ...
> /* ML estimation of intercept and the two variances */
> ? mle LL = err ? NA : B.llt
> ? B.obsy = B.depvar - b0
> ? B.obsvar = s_obs^2
> ? B.statevar = s_state^2
> ? err = kfilter(&B)
> ? params b0 s_obs s_state
> ? end mle
> Unexpected byte 0xe2
> Syntax error
> *** error in function at_each_step, line 1
>> b.obsymat = b.mX[b.t,]’
> The formula 'err = kfilter(&B)'
> produced an error on execution
The 0xe2 byte thing sounds like a non-ASCII character sneaked into in the
file with the code. In your email the transposition sign after the ] looks
suspicious, but after sending via email anything can happen.
Ah, that's it: the transposition symbol in gretl is 0x27 (the ASCII
plain, upright single quote), but in Paolo's mail that's replaced with
"right single quotation mark" (character 0x92 in Windows code page
1252). On conversion to UTF-8 that becomes the 3-byte sequence 0xE2
0x80 0x99, which begins with 0xE2!
Allin