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

st: re: Stata's row and column labels for matrices

From   Elmer Villanueva <[email protected]>
To   Statalist <[email protected]>
Subject   st: re: Stata's row and column labels for matrices
Date   Sun, 27 Mar 2005 02:26:11 +1000

Dear Kit,

Thanks for this. Your right, of course. I feel rather stupid having raised it in the first place. I've got a simple brain and it seemed to me that if the resulting matrices were labelled r1, r2... and c1, c2..., even if they weren't really rows and columns, it could easily be misinterpreted by people like me, especially if the matrix calculations are complex and there aren't any suitable markers. But, as you say, they're mere names and I'm sure Stata's got it right all along. Anyway, matrices don't really need column or row names at all. However, if rows and columns are named, shouldn't they be labelled more informatively? Perhaps they can even consider adopting your notation automatically so that matrices created by hand aren't unimaginatively named. I guess I was thinking that output should be informative or it should be dropped. You've showed, I suppose, that the calculation involving eight hand-entered matrices A-H producing a single matrix with names r1, r2... for both rows and columns simply means that the results were derived from rows of one matrix and the rows of another. Which ones? Irrelevant. As you say, there's really nothing to it and Stata's got it right.

I appreciate the answer!



Elmer V Villanueva, MD ScM FRIPH

National Breast Cancer Centre
Locked Bag 16 Camperdown NSW 1450
Level 4, 92 Parramatta Road´┐ŻCamperdown NSW 2050
Telephone 61 2 9036 3035 Facsimile 61 2 9036 3077 Mobile 0439 947 544

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