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" <wang@menzies.edu.au>
To   <statalist@hsphsun2.harvard.edu>
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" <tvictor@dolphin.upenn.edu>
To: <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index