[R] Surprising behaviour survey-package with missing values

2010-08-26 Thread Jan van der LAan
[I already sent this message to the list almost a day ago using an other email address, but that message does not seem to get through. In case it finally does get through, I appologize for the the double posting] Dear list, I got some surprising results when using the svytotal routine from

[R] Surprising behaviour survey-package with missing values

2010-08-25 Thread Jan van der Laan
Dear list, I got some surprising results when using the svytotal routine from the survey package with data containing missing values. Some example code demonstrating the behaviour is included below. I have a stratified sampling design where I want to estimate the total income. In some strata som