t: Re: [R] Stratified Random Sampling Proportional to Size
a) Please post plain text
b) Please make reproducible examples (e.g. telling us how you accessed a
database that we have no access to is not helpful). See ?head, ?dput and [1]
c) I don't know anything about the sampling package or the s
tibco.com
> -Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> Behalf
> Of Thomas Lumley
> Sent: Sunday, April 28, 2013 1:31 PM
> To: Jeff Newmiller
> Cc: R help (r-help@r-project.org)
> Subject: Re: [R] Stratified Ra
It looks as though you can't sample zero observations from a stratum. If
you take the example on the help page and change one of the sample sizes to
zero you get exactly the same error.
>From the fact that there isn't a more explicit error message, I would guess
that the author just never conside
a) Please post plain text
b) Please make reproducible examples (e.g. telling us how you accessed a
database that we have no access to is not helpful). See ?head, ?dput and
[1]
c) I don't know anything about the sampling package or the strata
function, but I would recommend eliminating the ro
Hello R Experts,
I kindly request your assistance on figuring out how to get a stratified random
sampling proportional to 100.
Below is my r code showing what I did and the error I'm getting with
sampling::strata
# FIRST I summarized count of records by the two variables I want to use as
stra
Check out package survey
cheers,
-Girish
--
View this message in context:
http://n4.nabble.com/Stratified-random-sampling-tp1690475p1690730.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://st
Dear All
Could you please tell me, is there any package or function for finding
Stratified random samples from the population ?
Thanks in advance
Kind Regards
Wesley C Mathew
[[alternative HTML version deleted]]
__
R-help@r-project.org mailin
On Thursday 18 June 2009, Jonathan Greenberg wrote:
> Rers:
>
> What is the preferred library/function for doing stratified random
> sampling from a dataset, given I want to control the number of samples
> (rather than the proportion of samples) per strata? Thanks!
>
> --j
Hi Jonathan!
Check
Rers:
What is the preferred library/function for doing stratified random
sampling from a dataset, given I want to control the number of samples
(rather than the proportion of samples) per strata? Thanks!
--j
--
Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technolog
9 matches
Mail list logo