Statalist


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

st: Re: problem with rownumb() colnumb


From   "Zurab Sajaia" <[email protected]>
To   <[email protected]>
Subject   st: Re: problem with rownumb() colnumb
Date   Fri, 6 Jun 2008 15:45:58 -0400

Ricardo,

I just tried to replicate your problem (after typing in the matrix):

. mat list B
B[5,2]
active: active:
b var
_IC677T_2 .02983497 .10160786
_IC677T_3 1.6203189 .42491461
_Irace_1 .17742662 .14016462
_Irace_2 1.3022521 1.1940294
_cons .55065129 .07806229

. di rownumb(B , "_IC677T_2")
1

. di rownumb(B , "_cons")
5

looks like everything works here...


----- Original Message ----- From: "Ricardo Ovaldia" <[email protected]>
To: <[email protected]>
Sent: Friday, June 06, 2008 3:15 PM
Subject: st: problem with rownumb() colnumb



I can not seem to get either rownumb() or colnumb() to work. What am I doing wrong?

. mat list B

B[5,2]
active: active:
b var
_IC677T_2 .02983497 .10160786
_IC677T_3 1.6203189 .42491461
_Irace_1 .17742662 .14016462
_Irace_2 1.3022521 1.1940294
_cons .55065129 .07806229

. di rownumb(B , "_IC677T_2")
.

. di rownumb(B , "_cons")
.


Thank you,
Ricardo
Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK






*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index