[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: grading
On Tuesday, June 10, 2003, at 02:33 AM, Chris wrote:
Top 15% get honors; next 25% get high pass, everyone else above 299
Everyone else fails. [Now is not the time to debate "relative"
don't like it either, but the powers-that-be at my university tell me
to do it
I could just -list- the sorted dataset and eyeball it to assign final
grades, but I'm lazy. Can Stata do this for me? I've been looking at
and -pctile-. They look promising, but I can't figure out how to use
this purpose. Or is there another, better, command?
pctile gr = score, nq(20)
xtile pc = score, cut(gr)
g str9 grade="Fail"
replace grade="Honors" if pc<=3
replace grade="High Pass" if pc>3 & pc<8
replace grade="Pass" if grade=="Fail" & score>299
Kit Baum, Boston College Economics email@example.com
* For searches and help try: