Displaying 8 results from an estimated 8 matches for "twophase".
2006 Jun 05
1
Survey - twophase
Dear WizaRds,
I am struggling with the use of twophase in package survey. My goal
is to compute a simple example in two phase sampling:
phase 1: I sample n1=1000 circuit boards and find 80 non functional
phase 2: Given the n1=1000 sample I sample n2=100 and find 15 non
functional. Let's say, phase 2 shows this result together with phase 1:
........
2006 Jul 11
0
Two Phase Sampling
...brary(survey)
ss1 <- data.frame(id=1:1000, ph1.x=rep(c(1,0),c(10,990)),
subset=rep(c(1,0),c(100,900)), ph2.y=rep(c(1,0,NA),c(15,85,900)),
n1=rep(1000,1000), n2=rep(100,1000) )
table(ss1$ph1.y, ss1$ph2.x)
> Phase1.x
>Phase2.y 0 1
> 0 85 0
> 1 5 10
p2 <- twophase(id=list(~id,~id), strata=list(NULL,NULL),
data=ss1, subset=~subset, fpc=list(~n1,~n2))
svymean (~ph2.y, design=p2s)
> mean SE
>ph2.y 0.15 0
However, taking into consideration the 2nd sample, the estimator should be:
ph1.x.bar (phase1)=80/1000=0.08 and ph2.y.bar (phase2)=15/100=0.15...
2008 Jan 25
3
function code
R-help,
Sorry for this question (I guess it has been addressed before but
I could not find it in the archives)
but how can I see a function code
when the following comes up:
> svymean
function (x, design, na.rm = FALSE, ...)
{
.svycheck(design)
UseMethod("svymean", design)
}
<environment: namespace:survey>
Thanks in advance
2016 Jul 09
0
New package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories'
...are happy to announce that the R package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories'
is now on CRAN (https://cran.r-project.org/web/packages/forestinventory/).
The aim of our package is to provide global- and smallarea estimators for twophase and threephase forest inventories under simple and cluster sampling.
The methods can be used for double sampling for stratification (i.e. classical ANOVA model as prediction model),
double sampling for regression (i.e. multiple regression model as prediction model) and double sampling for regressio...
2016 Jul 09
0
New package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories'
...are happy to announce that the R package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories'
is now on CRAN (https://cran.r-project.org/web/packages/forestinventory/).
The aim of our package is to provide global- and smallarea estimators for twophase and threephase forest inventories under simple and cluster sampling.
The methods can be used for double sampling for stratification (i.e. classical ANOVA model as prediction model),
double sampling for regression (i.e. multiple regression model as prediction model) and double sampling for regressio...
2010 Jul 22
1
svydesign syntax
This message is for those familiar with the survey package. I need to fit a
weighted Cox model to accommodate the sampling weights as I have a
case-control study with controls sampled at random from a database in a
ratio 2:1 to cases (whom were all sampled). I want to make sure I am using
the right svydesign syntax to specify this sampling design. Can anyone
please check if the statement below is
2015 Sep 03
2
Fuzzing complex programs
On Thu, Sep 3, 2015 at 6:45 PM, Kostya Serebryany <kcc at google.com> wrote:
> Did you build the Postgres code with -fsanitize-coverage=... ?
Yes:
CC = clang
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -Wno-unused-command-line-argument -g -O0 -fsanitize=address
2015 Sep 03
2
Fuzzing complex programs
...m.o access/tablesample/tablesample.o
> access/transam/clog.o access/transam/commit_ts.o
> access/transam/multixact.o access/transam/parallel.o
> access/transam/rmgr.o access/transam/slru.o access/transam/subtrans.o
> access/transam/timeline.o access/transam/transam.o
> access/transam/twophase.o access/transam/twophase_rmgr.o
> access/transam/varsup.o access/transam/xact.o access/transam/xlog.o
> access/transam/xlogarchive.o access/transam/xlogfuncs.o
> access/transam/xloginsert.o access/transam/xlogreader.o
> access/transam/xlogutils.o bootstrap/bootparse.o bootstrap/bootstr...