search for: varpsu01

Displaying 1 result from an estimated 1 matches for "varpsu01".

2004 Jul 23
2
Complex Surveys...Specifying Design
I need some guidance from someone who is familiar/has some experience with the survey package. The data that I am using is from the Medical Expenditure Panel Survey (www.meps.ahrq.gov <http://www.meps.ahrq.gov/> ). The STRATA and PSU variables are varstr01 and varpsu01 respectively. When I try to specify them with the svydesign function I get an error message. An excerpt of my session is as follows... library(foreign) > h60 <- read.xport("h:\\meps\\temptransports\\h60.tpt") > names(h60) <- casefold(names(h60)) > names(h60) [1] &...