Ignore:
Timestamp:
Jan 4, 2007, 5:07:16 PM (16 years ago)
Author:
Peter
Message:

added virtual function s2 in OneDimensional?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/Naive.cc

    r727 r728  
    6666 
    6767
     68  double Naive::s2(void) const
     69  {
     70    return chisq()/(ap_.n()-1);
     71  }
     72
     73
    6874  double Naive::standard_error2(const double x) const
    6975  {
    70     return chisq()/ap_.n()/(ap_.n()-1);
     76    return s2()/ap_.n();
    7177  }
    7278
Note: See TracChangeset for help on using the changeset viewer.