Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: dropping the lowest three observations


From   "John Levendis" <johnlevendis@business.loyno.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: dropping the lowest three observations
Date   Thu, 14 Feb 2013 12:38:35 -0600

Hello Statalisters,

I'm doing my grading on Stata, and I'd like to drop each student's
lowest three grades. Each row is a student, and for each student I have
their quiz grades as Q1, Q2, Q3, and so on. How can I compute their
average grades while dropping their lowest three Qs? Incidentally, these
quiz grades are out of 10 pts, so it is quite common for students to
have multiple quizzes with the same scores. (Some kind of nested rmin()
function, I'm sure, but I can't figure it out.)

Thanks, as always, for you help.

--John Levendis

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index