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

RE: st: Label variable and makematrix


From   n j cox <[email protected]>
To   [email protected]
Subject   RE: st: Label variable and makematrix
Date   Tue, 13 Dec 2005 17:22:41 +0000

In -makematrix- periods are zapped deliberately
from variable labels. This is explicitly
commented on in the code. The reason is that -matrix-
falls over given periods that don't look like
time series operators. So, this is a work-around
to deal with a limitation of -matrix-.

You don't have to be a programmer to look at
Stata programs and try to work out what's going
on.

Herve STOLOWY

My question deals with a little detail in -label var-.

I do the following:

label var1 varname1 "% indep. in committee"
label var2 ...

Then with -makematrix- (downloadable from ssc):

makematrix c1, from(r(N) r(mean) r(p50) r(sd) r(min) r(max) )label : univar varname1 varname2 ...

In the table I get, the dot after "indep" has disappeared: "% indep in committee". Would someone know why?
*
* 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