similar to: correlated binary random numbers

Displaying 20 results from an estimated 5000 matches similar to: "correlated binary random numbers"

2002 Apr 09
3
readline editor
Dear all, I have a problem with the readline editor of R since it doesn't work. Setting ./configure --with-readline does not the fix the problem. Does anyone have an idea how to fix this? Many thanks in advance! Peter Schlattmann -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
2002 Jun 12
5
How to stack the columns of matrix
Dear all, I need to stack the columns of a matrix with a variable number of columns. I am aware of new<-c(a[,1],a[,2]) if I have a matrix 'a' with e.g. two columns. For a simulation study I need to stack the matrix with a variable number of columns. Is there a way to do this? Many thanks in advance Peter
2002 Jan 16
2
list indexing
Hello I've got a question about list indexing. If anyone can help or point in the direction of some documentation, that'd be great. I've checked the Introduction to R and R language definition. Say you have a list of vectors: >
2001 Nov 23
3
compiling R under hpux
Dear R user, I'm wondering if anyone was succesful in compiling R under hpux 10.20 I couldn't compile verion 1.2.1 or 1.3. I asked this question two weeks ago, but nobody replyed. Looks that not many people are using hpux machines. Thanks Frank Mattes Department of Virology Royal Free Hospital London -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
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]]
2002 Feb 20
3
Feature Request: "matrix[1:10,1:10, block=F] <- 1:10"
Hi Guys, I've again been surprised when something like > m <- matrix("", nrow=3,ncol=3) > index_i <- c(2,1,3) > index_j <- c(1,3,2) > vals <- c("a","b","c") > m[ index_i, index_j ] <- vals > m gives block-wise application of the assignment: [,1] [,2] [,3] [1,] "b" "b" "b" [2,]
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
2001 Mar 30
1
SVM support vector machine
Hi all, sorry for my previuos question that was incomplete... i would like to test the SVM (support vector machine) algorithm? is somebody know if there are available program for R or S? thanks... -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Olivier MARTIN phone: (33) 04 76 61 53 55 Projet IS2 06 08 67 93 42 INRIA Rhone-Alpes
2002 Aug 10
1
How to concatenate a variable and assign value
for(i in c(1,50,100,250)){ Then I want to create a variable called: graph++i <- histogram... } Any ideas? With hist it is easy to create multiple graphs on a page but with the trellis histogram, I am finding it a bit more awkward. It seems that I have to use print(graph1, split=c(1,1,1,2), more=T) to achieve the desired result. Does anyone have code they are willing to share which
2003 Jan 31
1
svm regression in R
Hallo, I have a question concerning SVM regression in R. I intend to use SVMs for feature selection (and knowledge discovery). For this purpose I will need to extract the weights that are associated with my features. I understand from a previous thread on SVM classification, that predictive models can be derived from SVs, coefficiants and rhos, but it is unclear for me how to transfer this
2003 Feb 06
1
svm
Hello list, I want to apply svm from library e1071, and I want to supply class weights. I do not really understand the help entry (and there is no example) class.weights: a named vector of weights for the different classes, used for asymetric class sizes. Not all factor levels have to be supplied (default weight: 1). All components have to be named. I have two
2003 Apr 03
1
SVM module: scaling data applied to new test set without using SVM again
Hello! We are new in using R. We use the SVM module from the library ''e1071'' for training. Problem formulation: a classification has been performed using SVM module (linear kernel). Later, a new data set (test set) comparable to the training data shall be scaled in the same way as the training set (using the same scaling parameter set, but without using the SVM again
2003 Mar 29
1
Goodness of fit tests
I have a dataset which I want to model using a Poisson distribution, with a given parameter. I would like to know what is the proper way to do a ''goodness of fit'' test using R. I know the steps I''d take if I were to do it ''manually'': grouping the numbers into classes, calculating the expected frequencies using ''ppois'', then
2002 Dec 06
2
R 1.6.1 segmentation fault
Hi, We have been running R ver 1.4.1 on a redhat linux (7.1)cluster without problem for quit some time. Now, some user wanted me to install version 1.6.1, and it compiled fine, but it crashes with "segmentation fault" when you run it. I used gcc296 (default) for compiling, Should I change compiler or is there some other thing I could do to avoid this problem. Regards Per-Anders
2001 Apr 21
2
display URL in browser
Does anyone know whether one can ``remotely'' make konqueror display a URL a la netscape -remote 'openURL(url)', and how this can be done? Thanks -k -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2003 Mar 08
3
where is kurtosis??
Dear friends, I try to get started with R and can’t estimate kurtosis of a random sample by using one command. I have installed R 1.6.2. Please help. Max --------------------------------- ur needs [[alternate HTML version deleted]]
2001 Nov 22
2
Using rsync from Windows
I've just installed the Cygwin version of rsync, with an aim of syncing to the development version, as recommended on <http://cran.r-project.org/sources.html>. Could someone give an example of the syntax to invoke it? From the man page, I expected rsync rsync.rproject.org:: to give me a file listing, but I get: unknown host: rsync.rproject.org Other network utilities (e.g. ssh)
2002 Apr 19
2
merge
Dear R-users, I'm trying to merge 2 data.frames that have different number of rows, with a common column. Is this possible? Here a simple exemple, with the error that I get: a <- 1:20 b <- 21:40 ab <- data.frame(a, b) a <- 1:40 c <- 41:80 ac <- data.frame(a, c) rm(a, b, c) zz <- merge(ab, ac, by.x=ab$a, by.y=ac$a) Error in fix.by(by.x, x) : `by' must match numbers of
2005 Jan 04
2
x11 is not available
Dear list, I have problems installing R-2.0.1 on SUSE Linux 9.2. I used the following commands in order install R in /usr/local ./configure --with x11 --with-readline make make install When starting R and trying to display a plot on the X-window system output is written to a postscript file. When I try to run x11 with >x11() Error in X11(): X11 is not available. I do have a running
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]]