search for: mytau

Displaying 2 results from an estimated 2 matches for "mytau".

Did you mean: mytag
2012 Oct 20
1
Logistic regression/Cut point? predict ??
...output<-c(int,slope,cutmid,accuracy,auc) names(output)<-c("Intercept","Slope","CutPoint","Accuracy","AUC") return(output) } y<-fitglm(.05,1) y nreps <- 500; output<-data.frame(matrix(rep(NA),nreps,6,ncol=6)) mysigma<-.5 mytau<-.1 i<-1 for(j in 1:nreps) { output[j,1:5]<-fitglm(mysigma,mytau) output[j,6]<-j } names(output)<-c("Intercept","Slope","CutPoint","Accuracy","AUC","Iteration") apply(output,2, mean) apply(output,2, var) [[alte...
2012 Mar 20
3
Graphic legend with mathematical symbol, numeric variable and character variable
Hi, I'd like to make a legend with a mix of mathematical symbol (tau), numeric variable and character variables.I have tried : types<-c("Type 1","Type 2","Type 2") tau<-c(1,3,2) legend(x="topright",legend=paste(types,"tau=",expression(tau))) but it doesn't work: the 'tau' symbol is not written in its 'symbol