Hi,
I am using Stata 9.2 and the -test- command after -svy: ratio- is giving me
an error saying the ratio parameter can't be found when I try to test
whether the ratio equals a number e.g., 1. Does anyone know why? The code is
below. (The same error occurs when I don't use the -svy- option.)
Thanks,
Brent
svyset idnumr [pweight=weight_i], strata(state)
svy: ratio var1/var2 /* creates the parameter estimate named
"_ratio_1" */
test _ratio_1 /* works fine, uses adjusted Wald to test if _ratio_1
equals zero */
test _ratio_1=1 /* error: _ratio_1 not found */
______________________________________________________
Brent D. Fulton, PhD
Health Services Researcher
Petris Center, School of Public Health, UC Berkeley
Phone: 510-643-4102
Fax: 510-643-4281
Email: [email protected]
www.petris.org
*
* 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/