similar to: correlated binary data and overall probability

Displaying 20 results from an estimated 600 matches similar to: "correlated binary data and overall probability"

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]]
2000 Jul 28
2
Loop removal?
Dear all, I've got a quite large dataframe (stor) with rows subject and rt (reaction time). I would like to split the reaction times per subject into 6 bins of equal size. Right now, I'm using the following code: bindata <- function(rt) { bindata <- rep(-1,length(rt)) binwidth <- length(rt)/6 bindata[order(rt)[(0*binwidth)+1:(1*binwidth)]] <- 1
2002 Sep 03
1
Bindata package problems
Dear list I am having a couple of problems with the package 'bindata'. Having installed it using install.packages("bindata"), I am finding that when I load it up as a library I get the following errors: > library(bindata) Loading required package: e1071 Loading required package: mvtnorm Warning messages: 1: There is no package called `e1071' in: library(package, char
2007 Feb 07
3
generate Binomial (not Binary) data
Dear All, I am looking for an R function or any other reference to generate a series of correlated Binomial (not a Bernoulli) data. The "bindata" library can do this for the binary not the binomial case. Thank you, Bernard --------------------------------- [[alternative HTML version deleted]]
2010 Mar 24
3
help in matlab - r code
Dear list members, I need to translate 3 lines of matlab code to R (a loop, to be specific), and I don't know what would be the results in matlab or how to do it in R-- I don't realise if they are doing to the col, vector or what. if the results are a vector or a value or a matrix :-( Anyone with matlab, can run it and give me the result? Any ideias what am I doing wrong? The code is
2006 Jul 19
2
PRIO and CBQ
Hi, I''m work on traffic shaping and I would like to know if it''s possible to mix differents Queueing Disciplines ?? I would like to combine the proporties of a PRIO discipline with that of a CBQ discipline. I read some documentation and I found nothing about that, can you help me ? I think to try something like that : tc qdisc add dev $DEV root handle 1: cbq … tc class add dev
2012 Sep 27
1
List of Variables in Original Order
I am trying to Sweave the output of calculating correlations between one variable and several others. I wanted to print a table where the odd-numbered rows contain the variable names and the even-numbered rows contain the correlations. So if VarA is correlated with all the variables in mydata.df, then it would look like var1 var2 var3 corr1 corr2 corr3 var4 var5
2001 Oct 11
2
Where's MVA?
Hi All: Package TSERIES is stated to depend on MVA. However, there is no MVA package to be found under the list of package sources. Best wishes, ANDREW tseries: Package for time series analysis Package for time series analysis with emphasis on non-linear and non-stationary modelling Version: 0.7-6 Depends: ts, mva, quadprog Date: 2001-08-27 Author: Compiled by Adrian
2003 Aug 12
4
print points from a huge matrix
Hi All, I have a 8000*8000 matrix and I want to print out a file with the row name, column name and the value for those point with values satisfying a condition. I tried using a for loop, however, it took me forever to get the result. Is there a fast way to do this? Thanks! Bing --------------------------------- 1060 Commerce Park Oak Ridge National Laboratory P.O. Box 2008, MS 6480 Oak
2007 Jul 03
3
generating correlated Bernoulli random variables
Hi all, I was wondering how to generate samples for two RVs X1 and X2. X1 ~ Bernoulli (p1) X2 ~ Bernoulli (p2) Also, X1 and X2 are correlated with correlation \rho. Regards, Vineet [[alternative HTML version deleted]]
2017 Jun 01
1
RPC Server is unavailable
Hello All, I have big problem. I don't know how can i resolve it. Design: |server Samba AD 4.6.2| <---------- | Samba File Server v4.6.2/v4.6.4 | <--------- | Windows 7 client | ----------------------- On Windows & client: User can open files in share. Problem is when he wants to change privileges (Proporties>Security>Edit>Add). "Application
2010 Dec 10
2
survival package - calculating probability to survive a given time
Dear R users, i try to calculate the probabilty to survive a given time by using the estimated survival curve by kaplan meier. What is the right way to do that? as far as is see i cannot use the predict-methods from the survival package? library(survival) set.seed(1) time <- cumsum(rexp(1000)/10) status <- rbinom(1000, 1, 0.5) ## kaplan meier estimates fit <- survfit(Surv(time,
2003 Oct 28
1
stacking histograms
Hi, I have a set of observations which are divided into two sets A and B. I have some code that bins the dataset into 10 bins based on the max and min of the observed values. I would like to make a histogram of A & B using my calculated bins but plot the distribution of B on top of A (like a stacked barplot). This is possible since both sets A & B are binned using the same bin ranges.
2013 Jan 07
0
Something wrong with echo_diagnostic.m
Hello everyone, I'm a new comer to this mailing list. I found that the echo_diagnostic.m included in speex-1.2rc1 seems to have grammar mistakes which cause parse error in octave 3.6.2. I wonder if anyone have ever executed this code under octave/matlab. I also made some minor modifications to the file to correct those errors and publish it here. If it can helps the project to be more
2009 Apr 27
0
is there a way generate correlated binomial data in R?
Dear R Helpers, Is there a way to generate multivariate correlated binomial data in R, similar to how the rmvbin procedure in package bindata can generate multivariate correlated binary data? Thanks for your help, Jonathan Williams
2002 Apr 12
1
correlated binary random numbers
Dear all, does any of you know a source for R code for the generation of correlated binary random numbers? Thanks a lot Peter Schlattmann -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not
2009 Apr 17
5
Binomial simulation
Hi Guy's I was wondering if someone could point me in the right direction. dbinom(10,1,0.25) I am using dbinom(10,1,0.25) to calculate the probabilty of 10 judges choosing a certain brand x times. I was wondering how I would go about simulating 1000 trials of each x value ? regards Brendan -- View this message in context:
1998 Jun 16
0
R-beta: New Package bindata at CRAN
I have put the new package bindata to CRAN, which provides a method for creating binary (i.e., 0-1-valued) random variables with correlation structures by converting multivariate random variables to binary variables. The package includes a postscript file of a technical report describing the method, here's the abstract: ********************************************************** The
1998 Jun 16
0
R-beta: New Package bindata at CRAN
I have put the new package bindata to CRAN, which provides a method for creating binary (i.e., 0-1-valued) random variables with correlation structures by converting multivariate random variables to binary variables. The package includes a postscript file of a technical report describing the method, here's the abstract: ********************************************************** The
2011 Dec 20
1
Help Transforming sums into observations
I need to measure kurtosis, skew, and maybe dip test on some distributions I have. Currently my data is in the form of 2 vectors x and y. Where x is 10 bins and y is the number of observations found in that bin. It seems that the measures I want to run require the actual observations laid out rather than already summed like I have them. Any suggestions on how to transform the data automatically? I