Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

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


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
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
<chandwanihitesh@mail.utexas.edu> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index