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

st: scalar properties


From   Richard_Lenhardt@rush.edu
To   statalist-digest@hsphsun2.harvard.edu
Subject   st: scalar properties
Date   Fri, 19 Aug 2005 19:32:17 -0500

Hello, 

I'd like to tablulate hospital specific kappas, in which a 10 item 
questionnaire was completed by two observers and with dicotomous responses 
to the items.   I wrote a do file defining the scalars: 

kap item1obs1 item1obs2 if hosp==2 
scalar   item1 = r(kappa)
display item1

and so on. 

This displays the kappa of item 1 hospital 2 but I am not able to tabulate 
this or manupulate it algebraically. 

When I search for the the newly defined variable item1, I get an error 
message that the variable cannot be found.  It seems that it has something 
to do with scalars.  I've checked the manuals and can't figure it out. 

Thank you,
Richard Lenhardt 



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