search for: n_ap

Displaying 1 result from an estimated 1 matches for "n_ap".

Did you mean: n_a
2010 Mar 02
0
selection simulation
...imulation that I'm trying to develop and I was hoping if someone could help. Basically, I have a matrix with a random generated numbers representing scores on the variables. The rows represent applicants and columns represent the variables. # Number of variables p<-5 # Number of applicants n_ap<-100 # Create random scores for the applicants across five variables z<-rnorm(n_ap*p,0,1) #Put z into a matrix dim(z)<-c(n_ap,p) #Rank applicant scores on variable X1 d1 <- rev(order(z[,1])) #Rank applicant scores on variable X2 d2 <- rev(order(z[,2])) #Rank applicant scores o...