search for: 1vs2

Displaying 2 results from an estimated 2 matches for "1vs2".

Did you mean: 1vs
2010 Jan 25
3
binary
Hi all Assume I have a data set xx; Group: 1=group1 ?, 2=group2 IQ: ?1= High, 0 =low fit <- glm(IQ ~group, data = xx, family = binomial()) summary(fit) Results ?????? ????????????Estimate Std. Error z value Pr(>|z|) (Intercept) -2.55456??? 0.210 -12.273? < 5e-16 *** group????????? 0.36180 ?????0.076?? 3.952 ????5.24e-05 *** the odd ratio = exp(0.36180 )= 1.435912 My question
2012 Aug 01
3
repeating a function across a data frame
...and #sample y, respectively distance<-sqrt(sum((x-y).^2)) distanceCorrected<-distance/sqrt(length(x))#to force the maximum possible value to =1 print(distanceCorrected) } The next thing I want to do is to make this function run to compare all possible combinations of my samples (1vs1, 1vs2, 1vs3...2vs1, 2vs2 etc). In python, the only other programming language I have ever used, I would just use a "for" loop. I have asked the internet how to do this, but the overwhelming response seems to be "you don't want to do it like that - use the 'apply' functions&qu...