Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: What does "$" indicate in Stata


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: What does "$" indicate in Stata
Date   Wed, 20 Apr 2011 15:54:31 +0100

$ here indicates the start of a global macro name.

Thus somewhere upstream of those commands someone defined

global y <whatever>
global x <something else>

See index to [U] for more places of explanation.

Nick

On Wed, Apr 20, 2011 at 3:49 PM, Hitesh Chandwani
<[email protected]> wrote:
>
> I'm a new user and plan to run a 2-part regression model for charges in
> Stata. I came across this syntax - svy:glm $y $x if asumexp>0, family(gamma)
> link(log) - for the second part of the model. I understand most of it but
> what does the "$" before the 2 variable names mean?
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index