Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Number of observations and variables


From   "Zhiqiang Wang" <[email protected]>
To   <[email protected]>
Subject   st: Re: Number of observations and variables
Date   Mon, 1 Jul 2002 10:45:14 +0930

-describe- saves scalars: r(N) for the number of observations and r(k) for
the number of variables.

Zhiqiang
Menzies School of Health Research
Darwin, Australia

----- Original Message -----
From: "Timothy W. Victor" <[email protected]>
To: <[email protected]>
Sent: Monday, July 01, 2002 10:01 AM
Subject: st: Number of observations and variables


> List,
>
> Is there a programmatic way in which to put the both the number of
> observations and variables in a dataset into macro variables?
>
> Thanks
>
> --
> Tim Victor
> Policy Research, Evaluation, and Measurement
> Psychology in Education Division
> Graduate School of Education
> University of Pennsylvania
> *
> *   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/
>

*
*   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