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)

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

-------------------------------------------------------
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  [email protected]
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
_______________________________________________
Gretl-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/

Reply via email to