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 on April 23, and its replacement, 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" <>
To   <>
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:

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