Hello all,

I am trying to understand how svymean is calulated with svydesign.

I have the code:

dstrat1<-svydesign(id=~PSU, strata=~STRATUM,weights=~Sample_Weight,
data=subset25k, nest=TRUE)
and I am using svymean to compute the mean.

My main question is how are the sampling probabilities created? The
documentation says that each observation is weighted with the inverse of
its sampling probability. Is that coming from the weights that were input
in the svydesign? Thank you in advance.

	[[alternative HTML version deleted]]

