Displaying 1 result from an estimated 1 matches for "zhit2".
Did you mean:
hit2
2006 Oct 23
2
getting the by() function to work properly
...==2,];
+ twosaved=x[saved==2,];
+ hit2=x[saved==2 & choice=="+",];
+ fa2=x [died==2 & choice=="+",]; d2=(qnorm(((nrow(hit2))/(nrow(twosaved))))-qnorm((nrow(fa2))/(nrow(twodied))));
+ hitrate=((nrow(hit2))/(nrow(twosaved))); FArate=((nrow(fa2))/(nrow(twodied)));
+ zhit2=qnorm(((nrow(hit2))/(nrow(twosaved))));zfa2=qnorm((nrow(fa2))/(nrow(twodied)));B2= -.5*(zhit2+zfa2);
+ tp2=mean(twosaved$resp);
+ ta2=mean(twodied$resp);
+ tpsd2=sd(twosaved$resp);
+ tasd2=sd(twodied$resp);
+ dmj2=((tp2-ta2)/((tasd2+tpsd2)/2));
+
+ L=list(d2=d2,B2=B2,dmj2=dmj2,tpsd2=tpsd...