Changeset 98 for trunk/src/ROC.h


Ignore:
Timestamp:
Jun 10, 2004, 5:24:05 PM (19 years ago)
Author:
Peter
Message:

tScore added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ROC.h

    r78 r98  
    66// C++ tools include
    77/////////////////////
     8#include "Score.h"
    89#include "vector.h"
    9 
    1010#include <gsl/gsl_cdf.h>
    1111
     
    1818namespace cpptools { 
    1919  ///
    20   /// Class for ROC (Reciever Operating Characteristic).
     20  /// Class for ROC (Reciever Operating Characteristic). 
    2121  ///   
    22   class ROC
     22 
     23  class ROC : public Score
    2324  {
    2425 
     
    2930    ROC(const gslapi::vector&, const gslapi::vector&);
    3031         
     32    ///
     33    /// Destructor
     34    ///
     35    virtual ~ROC(void) {};
     36         
    3137    /// Equivalent to the Mann-Whitney score, but normalized to be
    3238    /// between zero and one.  @return the area under the ROC curve
    3339    ///
    34     double ROC::area(void);
     40    double score();
    3541       
    36 
    37 
    3842    ///
    3943    ///Calculates the p-value, i.e. the probability of observing an area
     
    4751    /// @return the one-sided p-value
    4852    ///
    49     double ROC::get_p(const double);
     53    double p_value();
    5054         
    5155    ///
     
    5963    double nof_pos_;
    6064    u_int minimum_size_;
     65    double area_;
    6166    ///
    6267    ///
Note: See TracChangeset for help on using the changeset viewer.