Le lun. 4 janv. 2021 à 11:37, Riccardo (Jack) Lucchetti <p002264@staff.univpm.it> a écrit :
On Mon, 4 Jan 2021, Sven Schreiber wrote:

>> Now, when I run my function, let's say "mymatrix = myfunction(Price,
>> xlist)", OLS printing will show up: "Dependent variable: depY" instead
>> of "Dependent variable: Price".
>> Is there a way to have the actual name of depY displayed?
> You could copy the input using argname, for example:
> ID = genseries(argname(depY), depY

Thank you Sven! 

Sorry, a question to Artur: of course, Sven solution is perfectly ok,
but... why would you need to do this?

Oops, not sure I could convincingly argue for this :) but my feeling is that when one enters a séries name in a function he/she expects to get back the same name to référ to. Probably the use of '*' may be a solution to that...