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

st: scalar properties

Subject   st: scalar properties
Date   Fri, 19 Aug 2005 19:32:17 -0500


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:

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