thank you very much Sven!! I'll try to adopt the solution you sent me (maybe with some help from a friend of mine, big computer brain), I'll let you know if it works! best regards,
Davide

Il Gio 22 Nov 2018, 10:59 Sven Schreiber <svetosch@gmx.net> ha scritto:
Am 22.11.18 um 11:46 schrieb Davide Bertani:
> Thank you guys for the answers
> @sven I understood the use of the "binar" term: as a matter of fact,
> my nominal variable is actually binary, spacing from 0 to 1. Problem
> is, my thesis tutor wants UNIVARIATE as well as multivariate analysis
> of these data, so I'm forced to estimate all 100 separates (the
> univariate analysis, as far as I understand) and then I will estimate
> the 100 variables at once (multivariate analysis if Im not wrong). And
> Im looking for help for accelerating the First task:)


Ah OK, I think I understand. You don't just have B,C,D as regressors but
actually have 100 (potential) regressors. (First I thought you had 100
observations per variable, not 100 variables.)

Then you need to do some programming with gretl's scripting language
hansl indeed. You could try the following:

<hansl>

list reg = B C D # <and so forth>

# an alternative way is to use a series range as in 'list reg = B..ZZ',
see the manual ch. 14.

loop foreach r reg

   logit A const $r

   # use the $coeff (and other) accessor if you want to store the result

endloop

</hansl>

A working example with a built-in dataset would be as follows:

<hansl>

open credscore
list reg = Age..Selfempl
loop foreach r reg --quiet
     logit Acc const $r
endloop
</hansl>


HTH,

sven

_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users