First letter of Student’s Last Name
HW3#
SLBTM -> Ning Meng
YZRVU -> Natalie Daya Malek
KGHJW -> Xujun Gu
FIDXC -> Maya Aboumrad
APEON -> Darien Colson-Fearon
HW5#
MIFJD -> Ning Meng
HYGUZ -> Natalie Daya Malek
QAKSN -> Xujun Gu
LOPXR -> Maya Aboumrad
ETCWVB -> Darien Colson-Fearon
HW6#
VRUBZN -> Ning Meng
QEIYF -> Natalie Daya Malek
CDTMK -> Xujun Gu
WSGPO -> Maya Aboumrad
HLXAJ -> Darien Colson-Fearon
HW7 ( 🎓 Graduating students to be graded by 9am 05/17)#
WGEBV -> Ning Meng
DFJTZS -> Natalie Daya Malek
APQRK -> Xujun Gu
CNIYX -> Maya Aboumrad
MHOUL -> Darien Colson-Fearon
qui {
if 1 { //N=26
cls
clear
set obs 26
capture log close
log using tokenize.log, replace
}
if 2 { //Int 1-26
egen lastname = seq(), f(1) t(26)
tostring lastname, replace
tokenize "`c(ALPHA)'"
}
if 3 { //Tokenize
forval i = 1/26 {
replace lastname = "``i''" if lastname == "`i'"
}
}
if 4 { //Randomly
//set seed 340600 //HW3 seed
//set seed 340700 //HW5 seed
//set seed 340800 //HW6 seed
set seed 340900 //HW7 seed
g randomorder=runiform()
sort random
drop random
}
if 5 { //Output
noi list
log close
}
}