Reputation: 1
R survey package svydesign() function adjust for clustering? If I input PSU and school [svydesign(ids=~PSUID+school, weights=~w, data=data1)] how does it work?
Can't find the information anywhere
Upvotes: 0
Views: 253
Reputation: 2765
There isn't a simple answer to this: it's not just a closed-form expression, it's a recursive computation. It's documented with references in ?svyrecvar
What it computes, though, is the Horvitz-Thompson variance estimator, eg here
Upvotes: 1