Changeset 2523


Ignore:
Timestamp:
Jul 18, 2011, 11:32:36 PM (10 years ago)
Author:
Peter
Message:

added function to retrieve stored oddsratio in Fisher

Location:
trunk/yat/statistics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/Fisher.cc

    r2382 r2523  
    55  Copyright (C) 2005 Peter Johansson
    66  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    7   Copyright (C) 2009, 2010 Peter Johansson
     7  Copyright (C) 2009, 2010, 2011 Peter Johansson
    88
    99  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    112112
    113113
     114  double Fisher::oddsratio(void) const
     115  {
     116    return oddsratio_;
     117  }
     118
     119
    114120  double Fisher::p_value() const
    115121  {
  • trunk/yat/statistics/Fisher.h

    r2316 r2523  
    77  Copyright (C) 2004, 2005 Peter Johansson
    88  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    9   Copyright (C) 2009 Peter Johansson
     9  Copyright (C) 2009, 2011 Peter Johansson
    1010
    1111  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    148148                     const unsigned int c, const unsigned int d);
    149149
     150    /**
     151       \return oddsratio loaded via oddsratio(4)
     152
     153       \since New in yat 0.8
     154     */
     155    double oddsratio(void) const;
     156
    150157  private:
    151158    bool calculate_p_exact() const;
Note: See TracChangeset for help on using the changeset viewer.