Use the argname() function.
Allin
Yeah, that's quite clear but argname() generates a string not a
series. And my point is different. Let's have the following:
<\hans>
function matrix myfunction (series depY, list X)
# some coding
ols depY X
# some coding
return something
end function
<hans>
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?
Best,
Artur