Re: [R] Need help on a R script part

2011-06-26 Thread Hugo Mildenberger
Duncan, it isn't really that difficult to diagnose. A google search for ss11=sample(x1, n1, replace=TRUE) turned up this documented R-script ttp://www2.latech.edu/~dcahoy/TwoSampleEqualVarTest.R as a likely source for his fragmented and mangled post; other variable names

[R] Need help on a R script part

2011-06-25 Thread Lusk Aris
Hi all, I need all your help on this. I have the next part of code:e1=x1-mean(x1)e2=x2-mean(x2)n1=length(x1)n2=length(x2N=(n1 + n2)nu2=sum( c( ( x1 -mean(x1) )^2 , ( x2-mean(x2) )^2 ) )/Nss=c(e1,e2) b3= N*sum(ss^4)/ (sum( ss^2)^2)what do lines 6-8 (mathematical

Re: [R] Need help on a R script part

2011-06-25 Thread Hugo Mildenberger
Lusk, if I were in your business, I would tackle such a problem with help from a little formatting ... e1=x1-mean(x1) e2=x2-mean(x2) n1=length(x1) n2=length(x2) N=(n1 + n2) nu2=sum( c( ( x1 -mean(x1) )^2 , ( x2-mean(x2) )^2 ) )/N ss=c(e1,e2) b3=N*sum(ss^4)/(sum( ss^2)^2)

Re: [R] Need help on a R script part

2011-06-25 Thread Mike Miller
I'm curious about what would cause this (see below), if it isn't a joke. Is it possible that it didn't look ridiculous in the deleted HTML but the text looked bad? It's almost unreadable. I guess the HTML gets deleted because it is a waste of space, but I received a 14 MB message from this

Re: [R] Need help on a R script part

2011-06-25 Thread Duncan Murdoch
On 11-06-25 11:33 AM, Mike Miller wrote: I'm curious about what would cause this (see below), if it isn't a joke. Is it possible that it didn't look ridiculous in the deleted HTML but the text looked bad? It's almost unreadable. I guess the HTML gets deleted because it is a waste of space, but