search for: s_2

Displaying 16 results from an estimated 16 matches for "s_2".

Did you mean: s_
2010 Mar 26
1
how to read this special form of data
...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) -LnLk(T) ChiSq p 3 7995 29339.25 7994 29338.31 1.88 0.1702 ( 121/8000 probands) Testing marker: s_3 --------------------------------------------- Allele df(0) -LnLk(0) df(T...
2013 Feb 21
1
limitations to random number generator in 64-bits machines
...-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 should it be...
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, Francesco
2017 Nov 05
0
Extreme bunching of random values from runif with Mersenne-Twister seed
...y 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 that does...
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
2006 Sep 01
1
integration problem with gamma function
...D^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(" ") print(paste("s_L = ",sL,", s_H = ",sH,"; L = ",L, ", H = ",H,&...
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
2003 Mar 02
1
Final Ogg 1.0 submission to IETF
...------- |segmentation (logically only) v packet_1 (5 segments) packet_2 (4 segs) p_3 (2 segs) ------------------------------ -------------------- ------------ .. |seg_1|seg_2|seg_3|seg_4|s_5 | |seg_1|seg_2|seg_3|| |seg_1|s_2 | .. ------------------------------ -------------------- ------------ | page encapsulation v page_1 (packet_1 data) page_2 (pket_1 data) page_3 (packet_2 data) ------------------------ ---------------- ------------------------...
2003 Mar 02
1
Final Ogg 1.0 submission to IETF
...------- |segmentation (logically only) v packet_1 (5 segments) packet_2 (4 segs) p_3 (2 segs) ------------------------------ -------------------- ------------ .. |seg_1|seg_2|seg_3|seg_4|s_5 | |seg_1|seg_2|seg_3|| |seg_1|s_2 | .. ------------------------------ -------------------- ------------ | page encapsulation v page_1 (packet_1 data) page_2 (pket_1 data) page_3 (packet_2 data) ------------------------ ---------------- ------------------------...
2003 Feb 13
2
Changes to Ogg format IETF I-D
...------- |segmentation (logically only) v packet_1 (5 segments) packet_2 (4 segs) p_3 (2 segs) ------------------------------ -------------------- ------------ .. |seg_1|seg_2|seg_3|seg_4|s_5 | |seg_1|seg_2|seg_3|| |seg_1|s_2 | .. ------------------------------ -------------------- ------------ | page encapsulation v page_1 (packet_1 data) page_2 (pket_1 data) page_3 (packet_2 data) ------------------------ ---------------- ------------------------...
2003 Feb 13
2
Changes to Ogg format IETF I-D
...------- |segmentation (logically only) v packet_1 (5 segments) packet_2 (4 segs) p_3 (2 segs) ------------------------------ -------------------- ------------ .. |seg_1|seg_2|seg_3|seg_4|s_5 | |seg_1|seg_2|seg_3|| |seg_1|s_2 | .. ------------------------------ -------------------- ------------ | page encapsulation v page_1 (packet_1 data) page_2 (pket_1 data) page_3 (packet_2 data) ------------------------ ---------------- ------------------------...
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, Francesco...
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",