Displaying 3 results from an estimated 3 matches for "nb10".
Did you mean:
n10
2012 Feb 04
2
How to Compare the median to the mean?
Okay, so I have a homework projecr for R, and we had to input the following
link as some sort of data:
nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10").
Afterwards, we have to use
fivenum(nb10) to find max, min, quantiles, and sd, but I'm okay with this.
The next question is where I'm stuck. The question is as follows;
Compare the median (use the quantiles...
2012 Feb 05
1
How to Calculate Percentage of Data within certain SD of Mean
How do you calculate the percentage of data within 2SD, 3SD, 4SD, 5SD, and
6SD of the mean? I used the following link as the data I'm working with:
nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10") if
this helps answer my question. Can you please explain how to calculate the
SD's? Please be specific in which part of the function changes when
calculating the next SD up.
Thanks.
--
View this message in c...
2005 Aug 04
1
Where the error message comes from?
...]
c1[ind] <- sqrt(sw2)*(x*r+y*sqrt(1-r**2))+means[u]
g[ind] = u
mu1[ind] =means[u]
}}
data.frame(g=factor(g),c,e=(c1 > mean(c1)+z*sd(c1))+0)
}
#################################################################
sk1=sk2=sk11=sk21=skR=k1=m1=R2=R1=n10=f10=nb10=b10=s10=p10=bca10=NULL
n.cp=f.cp=nb.cp=b.cp=s.cp=p.cp=bca.cp=NULL
for (k in c(12,24,48)) {
for (m in c(25,50,100)) {
for (j in 1:1000) {
#### PREPARING CLUSTER LEVEL DATA ######
d1=SimClust(k,m,mu=30,sb2=25,sw2=75,r=0.5,z=0.841621) # for p=0.2
d2=SimClust(k,m,mu=20,sb2=25,sw2=75,r...