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)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------