Displaying 1 result from an estimated 1 matches for "weight0x".
Did you mean:
weight
2005 Sep 04
1
survey weights
...hen I
attach survey weights, something goes wrong. The error
message is: object dchina not found. Here's the
script:
library(car)
library(foreign)
library(survey)
China <- read.dta("C:/final07c2.dta")
attach(China)
data(China)
dchina<-svydesign(id=~psu,strata=~strata,weights=~weight0x,data=China,nest=TRUE)
summary(dchina)
Any thoughts?
-Bobby