Yes! I fixed the problems some days ago but the main issue was that I didn't write "end function". I'm used to Matlab syntax, but thank you for helping me, Sven.
See you,
María José
Obtener Outlook para Android
De: Sven Schreiber
Enviado: lunes, 16 de mayo 2:10 PM
Asunto: Re: [Gretl-users] Double loop
Para: Gretl list
Am 16.05.2016 um 20:53 schrieb Ma. jo Arteaga Garavito:
> I’m new to gretl programming. Please, can anyone tell me why my code
> doesn’t recognize my double loop. I don’t understand.
Hi,
what are you expecting to get, and what precise result or error are you
getting?
>
> function matrix shapley(matrix X "Variables explicativas",
> matrix y "Variable dependiente")
...
> end
>
Is this really just "end"? It should be "end function".
cheers,
sven
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users