Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Insertion of spaces before variable names when selecting variables


From   Garry Anderson <[email protected]>
To   [email protected]
Subject   st: Insertion of spaces before variable names when selecting variables
Date   Thu, 31 May 2007 19:33:50 +1000

Dear Statalisters

When one clicks on a variable name from the variable window, Stata inserts a space before the variable name. So, if one is selecting variables, like var1, to insert after the i.

xi: reg y i. var1
the message
varlist required
r(100);
appears

This can be rectified by manually deleting the inserted space.

I can see a reason why Stata inserts a space before the variable name because it allows one to build up a list as in
summ var1 var2 var3

Would it not satisfy both uses of selecting variables from the variables window by having Stata insert a space _after_ the variable name.

Any workarounds would be appreciated.

Best wishes, Garry

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index