Ranking function
- From: vjtadepalli@xxxxxxxxx
- Date: 3 Aug 2005 16:08:35 -0700
Hello all, I have a set of values. Each value in the set should be
compared to a constant, say for example 1.5. Based on how close the
given value is to this constant, it is assigned a 'rank' between 1 to
10. When the given value is equal to the constant, the record is
assigned a 'rank' 10. For example assume the following set of values,
ID Given Value Constant
1 1.3 1.5
2 1.7 1.5
3 1.2 1.5
4 1.5 1.5
In the above data, record 4 should be assigned 10, as it is the best
possible match. But, how do I go about assigning ranks to the values
that is either greater or lesser than 1.5? The negative and positive
error has the same effect on the ranking, i.e., 1.3 and 1.7 both should
be assigned same rank.
Thanks in advance.
Vijay.
.
- Follow-Ups:
- Re: Ranking function
- From: Richard Ulrich
- Re: Ranking function
- Prev by Date: Difference between LMM and GEE?
- Next by Date: Data Mining Algorithm results.
- Previous by thread: Difference between LMM and GEE?
- Next by thread: Re: Ranking function
- Index(es):
Relevant Pages
|