Displaying 20 results from an estimated 10000 matches similar to: "similarity test with R"
2006 Oct 19
5
binom.test
R-experts:
A quick question, please.
>From a lab exp, I got 12 positives out of 50.
To get 90% CI for this , I think binom.test might be the one to be used.
Is there a better way or function to calculate this?
> binom.test(x=12, n=50, p=12/50, conf.level = 0.90)
Exact binomial test
data: 12 and 50
number of successes = 12, number of trials = 50, p-value = 1
alternative
2006 Dec 03
4
prop.trend.test issue
I have the clinical study data.
Year 0 Year 3
Retinol (nmol/L) N Mean +-sd Mean +-sd
Vitamin A group 73 1.89+-0.36 2.06+-0.53
Trace group 57 1.83+-0.31 1.78+-0.30
where N is the number of male for the clinical study.
I want to test if the mean serum retinol has increased over 3 years
among subjects in the vitamin A group.
> 1.89+0.36
2006 Oct 27
3
Power of test
What would be the R formulae for a two-sided test?
I have a formula for a one-sided test:
powertest <- function(a,m0,m1,n,s){
t1 = -qnorm(1-a)
num = abs(m0-m1) * sqrt(n)
t2 = num/s
pow = pnorm(t1 + t2)
}
Would you pls let me know if you know of?
Thank you,
ej
2006 Dec 02
1
Chi-squared approximation may be incorrect in: chisq.test(x)
I am getting "Chi-squared approximation may be incorrect in:
chisq.test(x)" with the data bleow.
Frequency distribution of number of male offspring in families of size 5.
Number of Male Offspring N
0 518
1 2245
2 4621
3 4753
4 2476
5
2006 Sep 12
2
extract a value from vector
A quick question, please!
How do you extract a certain value of vector?
i.e. x = c(2,5,3,6,21,3,6,24, ....)
How do you get the 1st one (which is 2); the 5th one (which is 21); etc?
thx much,
ej
[[alternative HTML version deleted]]
2007 Feb 27
1
prop.test or chisq.test ..?
Hi everyone,
Suppose I have a count the occurrences of positive results, and the total
number of occurrences:
pos <- 14
total <- 15
testing that the proportion of positive occurrences is greater than 0.5 gives
a p-value and confidence interval:
prop.test( pos, total, p=0.5, alternative='greater')
1-sample proportions test with continuity correction
data: 14 out of
2005 Jun 06
1
Similarity between variables
Hi,
I would like to know the similarity between variables, but I don't exactly how begin and as from what dataframe or matrix!
I have a matrix where in row I have 'Good', 'Medium','Bad' and in columns I have my Criterions !
What function and package should I use?
Thanks a lot
Sabine
---------------------------------
ils, photos et vidéos !
[[alternative
2011 Feb 12
2
Test for equivalence
Hi!
is there a way in R to check whether the outcome of two different
experiments is statistically distinguishable or indistinguishable? More
preciously, I used the wilcoxon test to determine the differences between
controls and treated subjects for two different experiments. Now I would
like to check whether the two lists of analytes obtained are statistically
distinguishable or
2006 Dec 13
1
Problem with tuned Rblas from CRAN with R-2.4.0
I encountered the following problem in R-2.4.0 for Windows binary downloaded from CRAN (data from R-help post by Ethan Johnsons). I was also using the contributed binary Rblas.dll for Intel P4 chip. The problem doesn't occur with the default Rblas.dll.
x=c(3.05176E-05, 0.000457764, 0.003204346, 0.0138855, 0.04165649, 0.09164429, 0.1527405, 0.1963806, 0.1963806, 0.1527405, 0.09164429,
2006 Oct 19
1
Re : CI
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20061019/dc66a793/attachment.ksh
2006 Sep 11
9
rename cols
A quick question please!
How do you rename column names? i.e. V1 --> Apple; V2 --> Orange, etc.
thx much
ej
[[alternative HTML version deleted]]
2008 May 06
4
categorical data analysis
hie all
i am trying to carry out a categorical data analysis but my problem is that when in i use the chi squared test some of my expected values are less than 5. is there a test that can handle this situation. the data is not a 2*2 table. its more from the social sciences where you have from strongly agree to strongly disagree. i know i can collapse vthe tables but there is a loss of
2006 Oct 19
1
CI
I have a quick question, please.
Does R have function to compute i.e. a 90% confidence interval for the
mean for these numbers?
> mean (6,11,5,14,30,11,17,3,9,3,8,8)
[1] 6
I thought pt or qt would give me the interval, but it seems not.
thx much.
ej
2006 Dec 09
1
Error in rmultinom(n, size, prob) : too few positive probabilities
// R 2.3.1
Can someone please explain why this error returns?
> y=numeric(100)
> x=matrix(runif(16),4,4)
> for(i in 2:100)
+ {
+ y[i]=which(rmultinom(1, size = 1, prob = x[y[i-1], ])==1)
+ }
Error in rmultinom(n, size, prob) : too few positive probabilities
thx much
ej
2006 Aug 13
1
Gower Similarity Coefficient
I'm interested in clustering my data using the Gower Similarity Coefficient,
and I was wondering if R is capable of using that metric
Timothy Rye
[[alternative HTML version deleted]]
2012 Jul 04
9
Sobre categorías de factores extraídos de un data.frame
Hola estimados miembros de la lista,
Tengo una inquietud.
Les cuento: tengo un conjunto de datos en un data.frame. Algunas de las
variables que están en él son del tipo factor. Estos factores,
naturalmente, tiene categorías: a veces demasiadas categorías y muchas de
ellas con 1 individuo contemplando el data.frame más de 1 millón de
individuos.
Estas pequeñas cantidades creo que me están
2012 May 02
2
interactive loop
Dear R-helpers,
I have a number of point configurations representing skull shapes, but
some of them contain superfluous points. I want to write a loop in
which each configuration is plotted and I am asked to write the
numbers of points that are superfluous. However, I don't know how to
introduce this interactive element.
Would you give me an advice?
Best regards
Ond?ej Mikula
--
Ond?ej
2009 Sep 16
2
T-test to check equality, unable to interpret the results.
Hi,
I have the precision values of a system on two different data sets.
The snippets of these results are as shown:
sample1: (total 194 samples)
0.6000000238
0.8000000119
0.6000000238
0.2000000030
0.6000000238
...
...
sample2: (total 188 samples)
0.80000001
0.20000000
0.80000001
0.00000000
0.80000001
0.40000001
...
...
I want to check if these results are statistically significant? Intuitively,
2012 Aug 31
6
[Bug 2039] New: Give proper credits for ECDSA patch
https://bugzilla.mindrot.org/show_bug.cgi?id=2039
Priority: P5
Bug ID: 2039
Assignee: unassigned-bugs at mindrot.org
Summary: Give proper credits for ECDSA patch
Severity: normal
Classification: Unclassified
OS: All
Reporter: ondrej at sury.org
Hardware: All
Status: NEW
Version:
2007 Jan 23
2
Exact phrase score
Sorry if this has been beaten to death here but I couldn''t find the
exact answer I was looking for.
In the app I''m writing, we convert the score to a percentage and display
it with the search results. The problem is when you search for an exact
phrase (for example) and it matches the title of a document exactly, you
only get a 17% match.
Has anyone seen a way to either curve