Displaying 1 result from an estimated 1 matches for "temptransports".
2004 Jul 23
2
Complex Surveys...Specifying Design
...q.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] "dupersid" "sex" "inscov01" "totexp01" "perwt01f" "varstr01"
"varpsu01"
> library(survey)
> meps.design <- svydesign(id=~varpsu01,...