Is there a way to create a BRR svrepdesign from a survey design when the number
of PSUs is odd in one or more stratum? Creating a JKn svrepdesign with that
condition works okay, but when I tried to create a svrepdesign with
type="BRR" I get an error and this message:
"Can't split with odd numbers of PSUs in a stratum"
I get that message when I tell it to merge the PSUs. Maybe I'm just not
doing it correctly. I tried
svb <- as.svrepdesign(sd, type="BRR")
svb <- as.svrepdesign(sd, type="BRR", brrweights
(large="merge"))
svb <- as.svrepdesign(sd, type="BRR", large="merge"))
where sd is the survey design object. None of these attempts made it past the
error message. Does BRR require the number of PSUs be even? I was hoping it
would randomly assign the last PSU (if the number is odd) to one or the other
halves. Maybe that's naive.
The JKn method didn't seem to mind the odd-number of PSUs. This worked
okay.
svr <- as.svrepdesign(sd, type="JKn").
Thanks.
Fred
---------------------------------
[[alternative HTML version deleted]]
Is there a way to create a BRR svrepdesign from a survey design when the number
of PSUs is odd in one or more stratum? Creating a JKn svrepdesign with that
condition works okay, but when I tried to create a svrepdesign with
type="BRR" I get an error and this message:
"Can't split with odd numbers of PSUs in a stratum"
I get that message when I tell it to merge the PSUs. Maybe I'm just not
doing it correctly. I tried
svb <- as.svrepdesign(sd, type="BRR")
svb <- as.svrepdesign(sd, type="BRR", brrweights
(large="merge"))
svb <- as.svrepdesign(sd, type="BRR", large="merge"))
where sd is the survey design object. None of these attempts made it past the
error message. Does BRR require the number of PSUs be even? I was hoping it
would randomly assign the last PSU (if the number is odd) to one or the other
halves. Maybe that's naive.
The JKn method didn't seem to mind the odd-number of PSUs. This worked
okay.
svr <- as.svrepdesign(sd, type="JKn").
Thanks.
Fred
---------------------------------
[[alternative HTML version deleted]]