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

st: Descriptive statistics as scalars

From   "Subhankar Nayak" <>
To   <>
Subject   st: Descriptive statistics as scalars
Date   Mon, 17 May 2004 11:36:44 -0400

Hello all

I started using stata only about a week ago and hence pardon me for a very
basic question.

I have a variable x(t)

I want the following scalars for further analysis etc.
mx = mean(x(t))
sx = stdev(x(t))
nx = count(x(t))

How can I asssign these descriptive statistics to scalar variables?
(I can't find anything in the manual)

Thanks for the help.

--- Subh Nayak

*   For searches and help try:

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