search for: s_1

Displaying 14 results from an estimated 14 matches for "s_1".

Did you mean: s1
2011 Feb 01
1
multi-Operations on a matrix
Hello everybody. I have this object procedure property sensor_data sensor_date 1 S_10 nord 626821.0 2002-09-30T00:00:00+0200 2 S_10 nord 626821.0 2002-12-05T00:00:00+0100 3 S_10 nord 626821.1 2008-07-31T00:00:00+0200 4 S_1000 nord 626496.8 2002-09-30T00:00:00+0200 5 S_1000 nord 626496.8 2002-12-05T00:00:00+0100 6 S_1000 nord 62649...
2010 Mar 26
1
how to read this special form of data
Dear R listers, I have a data file looks like the following: Testing marker: s_1 --------------------------------------------- Allele df(0) -LnLk(0) df(T) -LnLk(T) ChiSq p 3 7995 29320.30 7994 29311.85 16.90 4e-05 (2229/8000 probands) Testing marker: s_2 --------------------------------------------- Allele df(0) -LnLk(0) df(T...
2013 Feb 21
1
limitations to random number generator in 64-bits machines
...al for R-help's audience". I apologise if this is not the case. The period 2^19937 - 1 mentioned in the help page of 'RNG' for the Mersenne-Twister generator, is it the same for 32-bits machines and 64-bits ones ? In addition: -) If I want to generate two consecutive sequences s_1 and s_2 of n pseudo-random numbers each, and knowing how the Random number generator is coded, can we estimate in advance the correlation coefficient rho between s1 and s2? -) Let us say that we compute the correlation coefficient rho between s_1 and s_2 and find it is not null. How small shou...
2017 Nov 05
5
Extreme bunching of random values from runif with Mersenne-Twister seed
On 04/11/2017 10:20 PM, Daniel Nordlund wrote: > Tirthankar, > > "random number generators" do not produce random numbers. Any given > generator produces a fixed sequence of numbers that appear to meet > various tests of randomness. By picking a seed you enter that sequence > in a particular place and subsequent numbers in the sequence appear to > be unrelated.
2011 Jan 21
2
ordering a vector
Hi, is there a R function that order a matrix according to some criteria based on the rows(or cols) of that matrix? For example, let's say that my matrix S is composed by n rows S_1, S_2,.., S_n and that I compute some real value g_i=g(S_i) for each row. Then I want to order this set of g_i (from smaller to bigger) and order the correspondent row to the new position. Is it possible (apart from looping on the index) to do this with some predefined R function? Thanks, Frances...
2017 Nov 05
0
Extreme bunching of random values from runif with Mersenne-Twister seed
...would say that it must be, and he should be investigating how that happens if he is worried about the output, he shouldn't be worrying about R's RNG. > Hmm, no. The basic issue is that RNGs are constructed so that with x_{n+1} = f(x_n), x_1, x_2, x_3,... will look random, not so that f(s_1), f(s_2), f(s_3), ... will look random for any s_1, s_2, ... . This is true, even if seeds s_1, s_2, ... are not chosen so as to mess with the RNG. In the present case, it seems that the seeds around 86e6 tend to give similar output. On the other hand, it is not _just_ the similarity in magnitude t...
2009 Nov 01
1
Calculate Volume in a PCA
Hi, my data frame consist of 8 Variables and 120 000 observations. With those datas I am running a PCA and after I want to calculate the Volume of the PCA-cloud of certain subsets of my data. Does anyone have an idea about a function that can do this? Thanks [[alternative HTML version deleted]]
2012 Mar 07
4
Difference in Kaplan-Meier estimates plus CI
I thought this would be trivial, but I can't find a package or function that does this. I'm hoping someone can guide me to one. Imagine a simple case with two survival curves (e.g. treatment & control). I just want to calculate the difference in KM estimates at a specific time point (e.g. 1 year) plus the estimate's 95% CI. The former is straightforward, but the estimates not
2011 May 07
5
CD start help.
I am currently trying to in stall The StrongHold Collection from a retail cd i just bought about an hour ago. ubuntu will not even recognize that there is a cd in the drive. what can i do to install the game?
2006 Sep 01
1
integration problem with gamma function
...2 + Di^2 Dsii <- (Nii-1) / Nii * sii^2 + Dii^2 DsD <- (Ni * Dsi + Nii * Dsii) / NN ss <- sqrt(NN * (DsD - DD^2) / (NN-1)) ### descriptive statistics print(" \n------------- Data ---------------------------------------\n") print(paste("N_1 = ",Ni ," : Mean_1 ? s_1 = ", Di," ? ",si, sep="")) print(paste("N_2 = ",Nii," : Mean_2 ? s_2 = ", Dii," ? ",sii, sep="")) print(paste("N = ", NN ," : Mean_comb ? s_comb = ", DD," ? ",ss, sep="")) print(&q...
2009 Apr 07
6
Sequences
Hi, I am trying to make a sequence and am using a for loop for this. I want to start off with an initial value ie S[0]=0 then use the loop to create other values. This is what I have so far but I just keep getting error messages. #To calculate the culmulative sums: s<-rep(0,207) #as this is the length of the vector I know I will have s<-as.vector(s)
2015 May 18
4
How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?
My question: On Windows, R's system() command prepends several directories to those in the Windows Path variable. >From ?system The search path for 'command' may be system-dependent: it will include the R 'bin' directory, the working directory and the Windows system directories before 'PATH'. This shadows any executables on the Path that share a
2011 Jan 22
0
how to call BayesX in R to see the graph
...<AANLkTi=VD3G1DxnnVpk4c3nUjQy+KndHDNdcqHi_=wVH@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi, is there a R function that order a matrix according to some criteria based on the rows(or cols) of that matrix? For example, let's say that my matrix S is composed by n rows S_1, S_2,.., S_n and that I compute some real value g_i=g(S_i) for each row. Then I want to order this set of g_i (from smaller to bigger) and order the correspondent row to the new position. Is it possible (apart from looping on the index) to do this with some predefined R function? Thanks, Frances...
2012 Mar 25
2
avoiding for loops
I have data that looks like this: > df1 group id 1 red A 2 red B 3 red C 4 blue D 5 blue E 6 blue F I want a list of the groups containing vectors with the ids. I am avoiding subset(), as it is only recommended for interactive use. Here's what I have so far: df1 <- data.frame(group=c("red", "red", "red", "blue",