search for: mvtbinaryep

Displaying 5 results from an estimated 5 matches for "mvtbinaryep".

2012 Jul 04
2
How to generate a correlated binary data set?
Hi. I am trying to generate a correlated binary data set. I've tried to use mvtBinaryEP, binarySimCLF, and bindata packages but none of them works in R version 2.15.1. Do you know any package to generate correlated binary covariates and work in R version 2.15.1, or how to generate it? Thanks, [[alternative HTML version deleted]]
2010 Jun 18
0
simulating binary random numbers using 'mvtnorm'
...(0.05) and intracluster correlation (0.1) subject to the constraint that the intercluster correlation is less than or equal to intracluster correlation for a given level of prevalence (upper threshold =1% and lower threshold=0.1%). For this purpose I have used the following command (which is under mvtBinaryEP in mvtnorm library in R): ep0 = ep(mu=0.1, rho=0.05, n=6, nRep=33, seed=NULL) apply(ep0$y, c(1,2), mean); cor(ep0$y) The above commands produce 198 binary outcomes (33 clusters with cluster size of 6 each) and a matrix (6x6) of bivariate correlations. Since the input among others requires values...
2009 Oct 29
1
correlated binary data and overall probability
Dear All, I try to simulate correlated binary data for a clinical research project. Unfortunately, I do not come to grips with bindata(). Consider corr<-data.frame(ID=as.factor(rep(c(1:10), each=5)), task=as.factor(rep(c(1:5),10))) [this format might be more appropriate:] corr2<-data.frame(ID=as.factor(rep(c(1:10),5)), tablet=as.factor(rep(c(1:5),each=10))) Now, I want to
2010 Jun 21
0
Fw: simulating binary random numbers using 'mvtnorm'
...(0.05) and intracluster correlation (0.1) subject to the constraint that the intercluster correlation is less than or equal to intracluster correlation for a given level of prevalence (upper threshold =1% and lower threshold=0.1%). For this purpose I have used the following command (which is under mvtBinaryEP in mvtnorm library in R): ep0 = ep(mu=0.1, rho=0.05, n=6, nRep=33, seed=NULL) apply(ep0$y, c(1,2), mean); cor(ep0$y) The above commands produce 198 binary outcomes (33 clusters with cluster size of 6 each) and a matrix (6x6) of bivariate correlations. Since the input among others requires values...
2011 Mar 19
3
Generating repeated measures data
How would one generate data to be used in a simulation of a repeated measures ANOVA given a known (1) within-person correlation with known (2) mean and SD of data obtained at each of three times of observation? Thanks, John John Sorkin Chief Biostatistics and Informatics Univ. of Maryland School of Medicine Division of Gerontology and Geriatric Medicine JSorkin at grecc.umaryland.edu