Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to find the minimum and maximum values of a column?


From   "Laura Flamand" <[email protected]>
To   [email protected]
Subject   st: How to find the minimum and maximum values of a column?
Date   Tue, 20 Jun 2006 10:02:29 -0700

Dear STATA list members,

I am working in a program to estimate an index similar to the Index of
Human Development (PNUD, various  years), and I need to find the
maximum and minimum value of several variables across 2500
observations, I will then use these values to normalize the variables.
I know how to find min and max values across rows, but I cannot find a
command to find these min and max values across columns, other than to
transpose the data set with xpose, or to transform my data set into a
matrix (but then I can only have a 800x800 matrix, right?)

I may be overlooking something very obvious, and I apologize in
advance, but any help would be greatly appreciated.

Thank you in advance,

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