search for: inscov01

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

2004 Jul 23
2
Complex Surveys...Specifying Design
...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, strata=~varstr01, weight=~perwt01f, data=h60) Error in svydesign(id = ~varpsu01, strata = ~varstr01, weight = ~perwt01f, : Clust...