Hello, I want to rename a variable into something more easily understandable however I keep running into an error 198. The problem follows below:
I thought I could just relabel label my axis, since I want to create a scatterplot with ln[H1/Ht]-2lnlnt on the y-axis but then I run into the same problem:
How can I rename my variable
into
or label my y-axis in my scatterplot with?
Code:
rename (lefthandside) (ln[H1/Ht]-2lnlnt) syntax error In parsing newname, either nothing or something invalid precedes the dash. The dash syntax is varname-varname, and the variable names cannot have wildcard characters in them. r(198);
Code:
scatter lefthandside lnt, title("Log-t regression: all clubs") xtitle("lnt") ytitle ("lnH1/Ht-2lnlnt") scheme (economist) "lnH1/Ht-2lnlnt invalid name r(198);
lefthandside
ln[H1/Ht]-2lnlnt
ln[H1/Ht]-2lnlnt
Comment