Displaying 2 results from an estimated 2 matches for "imberger".
2011 Apr 20
5
Fibonacci
Hi!
I am trying to work out the code to get a Fibonacci sequence, using the
while() loop and only one variable. And I can't figure it out.
Fibonacci<-c(1,1)
while (max(Fibonacci)<500){
Fibonacci<-c(Fibonacci, (max(Fibonacci) + ?(Fibanacci)))
}
How can I tell R to take the value one before the max value? (Without
defining another variable)
(Probably super easy... I am a
2011 May 12
1
Simple 95% confidence interval for a median
Hi!
I have a data set of 86 values that are non-normally distributed (counts).
The median value is 10. I want to get an estimate of the 95% confidence
interval for this median value.
I tried to use a one-sample Wiolcoxin test:
wilcox.test(Comps,mu=10,conf.int=TRUE)
and got the following output:
Wilcoxon signed rank test with continuity correction
data: Comps
V = 2111, p-value = 0.05846