#include <TRobustEstimator.h>
Inheritance diagram for TRobustEstimator:
Definition at line 23 of file TRobustEstimator.h.
TRobustEstimator::TRobustEstimator | ( | ) |
Definition at line 127 of file TRobustEstimator.cxx.
Definition at line 134 of file TRobustEstimator.cxx.
References TObject::Error(), fExact, fH, fN, fNvar, fVarTemp, fVecTemp, and TObject::Warning().
virtual TRobustEstimator::~TRobustEstimator | ( | ) | [inline, virtual] |
Definition at line 78 of file TRobustEstimator.h.
TRobustEstimator::TRobustEstimator | ( | ) |
virtual TRobustEstimator::~TRobustEstimator | ( | ) | [inline, virtual] |
Definition at line 78 of file TRobustEstimator.h.
Definition at line 772 of file TRobustEstimator.cxx.
Referenced by Classic(), CreateOrtSubset(), CreateSubset(), CStep(), Evaluate(), Exact2(), and RDist().
void TRobustEstimator::ClearSscp | ( | TMatrixD & | sscp | ) | [protected] |
Definition at line 789 of file TRobustEstimator.cxx.
Referenced by Classic(), CreateOrtSubset(), CreateSubset(), CStep(), Evaluate(), Exact2(), and RDist().
void TRobustEstimator::Classic | ( | ) | [protected] |
Definition at line 801 of file TRobustEstimator.cxx.
References AddToSscp(), ClearSscp(), Correl(), Covar(), fCovariance, fData, fMean, fN, fNvar, fSd, i, and j.
Referenced by Evaluate().
void TRobustEstimator::Covar | ( | TMatrixD & | sscp, | |
TVectorD & | m, | |||
TMatrixDSym & | cov, | |||
TVectorD & | sd, | |||
Int_t | nvec | |||
) | [protected] |
Definition at line 819 of file TRobustEstimator.cxx.
References fNvar, i, j, m, and TMath::Sqrt().
Referenced by Classic(), CreateOrtSubset(), CreateSubset(), CStep(), Evaluate(), Exact2(), and RDist().
void TRobustEstimator::Correl | ( | ) | [protected] |
Definition at line 842 of file TRobustEstimator.cxx.
References fCorrelation, fCovariance, fNvar, i, j, and TMath::Sqrt().
Referenced by Classic().
void TRobustEstimator::CreateSubset | ( | Int_t | ntotal, | |
Int_t | htotal, | |||
Int_t | p, | |||
Int_t * | index, | |||
TMatrixD & | data, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
Definition at line 862 of file TRobustEstimator.cxx.
References AddToSscp(), ClearSscp(), Covar(), data, TMatrixTSym< Element >::Determinant(), fCovariance, fInvcovariance, fMean, fNvar, fSd, gRandom, i, TDecompChol::Invert(), j, kFALSE, KOrdStat(), kTRUE, num, and TRandom::Uniform().
Referenced by Evaluate().
void TRobustEstimator::CreateOrtSubset | ( | TMatrixD & | dat, | |
Int_t * | index, | |||
Int_t | hmerged, | |||
Int_t | nmerged, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
Definition at line 958 of file TRobustEstimator.cxx.
References TMath::Abs(), AddToSscp(), ClearSscp(), Covar(), fCovariance, fHyperplane, fMean, fNvar, fSd, i, j, and KOrdStat().
Referenced by Evaluate().
Double_t TRobustEstimator::CStep | ( | Int_t | ntotal, | |
Int_t | htotal, | |||
Int_t * | index, | |||
TMatrixD & | data, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
Definition at line 984 of file TRobustEstimator.cxx.
References AddToSscp(), ClearSscp(), Covar(), data, TMatrixTSym< Element >::Determinant(), fCovariance, fInvcovariance, fMean, fNvar, fSd, i, TDecompChol::Invert(), j, and KOrdStat().
Referenced by Evaluate().
Definition at line 1028 of file TRobustEstimator.cxx.
References TMath::Abs(), fCovariance, fData, fHyperplane, fMean, fN, fNvar, TMatrixDSymEigen::GetEigenValues(), TMatrixDSymEigen::GetEigenVectors(), i, and j.
Referenced by Evaluate(), and Exact2().
Int_t TRobustEstimator::Exact2 | ( | TMatrixD & | mstockbig, | |
TMatrixD & | cstockbig, | |||
TMatrixD & | hyperplane, | |||
Double_t * | deti, | |||
Int_t | nbest, | |||
Int_t | kgroup, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
Definition at line 1060 of file TRobustEstimator.cxx.
References AddToSscp(), ClearSscp(), Covar(), Exact(), fCovariance, fData, fExact, fH, fHyperplane, fMean, fN, fNvar, fSd, i, j, TMath::LocMax(), and nh.
Referenced by Evaluate().
Definition at line 1161 of file TRobustEstimator.cxx.
References AddToSscp(), ClearSscp(), Covar(), fCovariance, fData, fInvcovariance, fMean, fN, fNvar, fRd, fSd, TVectorT< Element >::GetMatrixArray(), i, TDecompChol::Invert(), j, kChiQuant, and TMath::Median().
Referenced by Evaluate().
Definition at line 1227 of file TRobustEstimator.cxx.
References fN, gRandom, i, j, k, m, and TRandom::Uniform().
Referenced by Evaluate().
Double_t TRobustEstimator::KOrdStat | ( | Int_t | ntotal, | |
Double_t * | arr, | |||
Int_t | k, | |||
Int_t * | work | |||
) | [protected] |
Definition at line 1260 of file TRobustEstimator.cxx.
References i, j, kFALSE, kTRUE, and l.
Referenced by CreateOrtSubset(), CreateSubset(), and CStep().
void TRobustEstimator::AddColumn | ( | Double_t * | col | ) |
Definition at line 171 of file TRobustEstimator.cxx.
References fCorrelation, fCovariance, fData, fHyperplane, fInvcovariance, fMean, fN, fNvar, fVarTemp, i, TMatrixTSym< Element >::ResizeTo(), TMatrixT< Element >::ResizeTo(), and TVectorT< Element >::ResizeTo().
void TRobustEstimator::AddRow | ( | Double_t * | row | ) |
Definition at line 194 of file TRobustEstimator.cxx.
References fData, fN, fNvar, fRd, fSd, fVecTemp, i, TMatrixT< Element >::ResizeTo(), and TVectorT< Element >::ResizeTo().
void TRobustEstimator::Evaluate | ( | ) |
Definition at line 212 of file TRobustEstimator.cxx.
References TMath::Abs(), AddToSscp(), Classic(), ClearSscp(), Covar(), CreateOrtSubset(), CreateSubset(), CStep(), TMatrixTSym< Element >::Determinant(), Exact(), Exact2(), fCovariance, fData, fExact, fH, fHyperplane, fMean, fN, fNvar, fOut, fRd, fSd, i, j, k, Rgl::Mc::k1, Rgl::Mc::k2, kChiQuant, kTRUE, TMath::LocMax(), TMath::LocMin(), nh, par, Partition(), RDist(), RDraw(), TArrayI::Set(), and TObject::Warning().
void TRobustEstimator::EvaluateUni | ( | Int_t | nvectors, | |
Double_t * | data, | |||
Double_t & | mean, | |||
Double_t & | sigma, | |||
Int_t | hh = 0 | |||
) |
Definition at line 598 of file TRobustEstimator.cxx.
References i, j, kFALSE, len, TMath::Min(), TMath::Sort(), and TMath::Sqrt().
Int_t TRobustEstimator::GetBDPoint | ( | ) |
void TRobustEstimator::GetCovariance | ( | TMatrixDSym & | matr | ) |
Definition at line 687 of file TRobustEstimator.cxx.
References fCovariance, fNvar, TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSym< Element >::ResizeTo(), and TObject::Warning().
const TMatrixDSym* TRobustEstimator::GetCovariance | ( | ) | const [inline] |
void TRobustEstimator::GetCorrelation | ( | TMatrixDSym & | matr | ) |
Definition at line 699 of file TRobustEstimator.cxx.
References fCorrelation, fNvar, TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSym< Element >::ResizeTo(), and TObject::Warning().
const TMatrixDSym* TRobustEstimator::GetCorrelation | ( | ) | const [inline] |
void TRobustEstimator::GetHyperplane | ( | TVectorD & | vec | ) |
Definition at line 724 of file TRobustEstimator.cxx.
References TObject::Error(), fExact, fHyperplane, fNvar, TVectorT< Element >::GetNoElements(), TVectorT< Element >::ResizeTo(), and TObject::Warning().
const TVectorD * TRobustEstimator::GetHyperplane | ( | ) | const |
Definition at line 711 of file TRobustEstimator.cxx.
References TObject::Error(), fExact, and fHyperplane.
Int_t TRobustEstimator::GetNHyp | ( | ) | [inline] |
void TRobustEstimator::GetMean | ( | TVectorD & | means | ) |
Definition at line 740 of file TRobustEstimator.cxx.
References fMean, fNvar, TVectorT< Element >::GetNoElements(), TVectorT< Element >::ResizeTo(), and TObject::Warning().
const TVectorD* TRobustEstimator::GetMean | ( | void | ) | const [inline] |
void TRobustEstimator::GetRDistances | ( | TVectorD & | rdist | ) |
Definition at line 752 of file TRobustEstimator.cxx.
References fN, fRd, TVectorT< Element >::GetNoElements(), TVectorT< Element >::ResizeTo(), and TObject::Warning().
const TVectorD* TRobustEstimator::GetRDistances | ( | ) | const [inline] |
Int_t TRobustEstimator::GetNumberObservations | ( | ) | const [inline] |
Int_t TRobustEstimator::GetNvar | ( | ) | const [inline] |
const TArrayI* TRobustEstimator::GetOuliers | ( | ) | const [inline] |
Int_t TRobustEstimator::GetNOut | ( | ) |
void TRobustEstimator::ClearSscp | ( | TMatrixD & | sscp | ) | [protected] |
void TRobustEstimator::Classic | ( | ) | [protected] |
void TRobustEstimator::Covar | ( | TMatrixD & | sscp, | |
TVectorD & | m, | |||
TMatrixDSym & | cov, | |||
TVectorD & | sd, | |||
Int_t | nvec | |||
) | [protected] |
void TRobustEstimator::Correl | ( | ) | [protected] |
void TRobustEstimator::CreateSubset | ( | Int_t | ntotal, | |
Int_t | htotal, | |||
Int_t | p, | |||
Int_t * | index, | |||
TMatrixD & | data, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
void TRobustEstimator::CreateOrtSubset | ( | TMatrixD & | dat, | |
Int_t * | index, | |||
Int_t | hmerged, | |||
Int_t | nmerged, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
Double_t TRobustEstimator::CStep | ( | Int_t | ntotal, | |
Int_t | htotal, | |||
Int_t * | index, | |||
TMatrixD & | data, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
Int_t TRobustEstimator::Exact2 | ( | TMatrixD & | mstockbig, | |
TMatrixD & | cstockbig, | |||
TMatrixD & | hyperplane, | |||
Double_t * | deti, | |||
Int_t | nbest, | |||
Int_t | kgroup, | |||
TMatrixD & | sscp, | |||
Double_t * | ndist | |||
) | [protected] |
Double_t TRobustEstimator::KOrdStat | ( | Int_t | ntotal, | |
Double_t * | arr, | |||
Int_t | k, | |||
Int_t * | work | |||
) | [protected] |
void TRobustEstimator::AddColumn | ( | Double_t * | col | ) |
void TRobustEstimator::AddRow | ( | Double_t * | row | ) |
void TRobustEstimator::Evaluate | ( | ) |
void TRobustEstimator::EvaluateUni | ( | Int_t | nvectors, | |
Double_t * | data, | |||
Double_t & | mean, | |||
Double_t & | sigma, | |||
Int_t | hh = 0 | |||
) |
Int_t TRobustEstimator::GetBDPoint | ( | ) |
void TRobustEstimator::GetCovariance | ( | TMatrixDSym & | matr | ) |
const TMatrixDSym* TRobustEstimator::GetCovariance | ( | ) | const [inline] |
void TRobustEstimator::GetCorrelation | ( | TMatrixDSym & | matr | ) |
const TMatrixDSym* TRobustEstimator::GetCorrelation | ( | ) | const [inline] |
void TRobustEstimator::GetHyperplane | ( | TVectorD & | vec | ) |
const TVectorD* TRobustEstimator::GetHyperplane | ( | ) | const |
Int_t TRobustEstimator::GetNHyp | ( | ) | [inline] |
void TRobustEstimator::GetMean | ( | TVectorD & | means | ) |
const TVectorD* TRobustEstimator::GetMean | ( | void | ) | const [inline] |
void TRobustEstimator::GetRDistances | ( | TVectorD & | rdist | ) |
const TVectorD* TRobustEstimator::GetRDistances | ( | ) | const [inline] |
Int_t TRobustEstimator::GetNumberObservations | ( | ) | const [inline] |
Int_t TRobustEstimator::GetNvar | ( | ) | const [inline] |
const TArrayI* TRobustEstimator::GetOuliers | ( | ) | const [inline] |
Int_t TRobustEstimator::GetNOut | ( | ) |
Int_t TRobustEstimator::fNvar [protected] |
Definition at line 27 of file TRobustEstimator.h.
Referenced by AddColumn(), AddRow(), AddToSscp(), Classic(), ClearSscp(), Correl(), Covar(), CreateOrtSubset(), CreateSubset(), CStep(), Evaluate(), Exact(), Exact2(), GetCorrelation(), GetCovariance(), GetHyperplane(), GetMean(), GetNvar(), RDist(), and TRobustEstimator().
Int_t TRobustEstimator::fH [protected] |
Definition at line 28 of file TRobustEstimator.h.
Referenced by Evaluate(), Exact2(), GetBDPoint(), and TRobustEstimator().
Int_t TRobustEstimator::fN [protected] |
Definition at line 29 of file TRobustEstimator.h.
Referenced by AddColumn(), AddRow(), Classic(), Evaluate(), Exact(), Exact2(), GetBDPoint(), GetNumberObservations(), GetRDistances(), Partition(), RDist(), RDraw(), and TRobustEstimator().
Int_t TRobustEstimator::fVarTemp [protected] |
Definition at line 31 of file TRobustEstimator.h.
Referenced by AddColumn(), and TRobustEstimator().
Int_t TRobustEstimator::fVecTemp [protected] |
Int_t TRobustEstimator::fExact [protected] |
Definition at line 34 of file TRobustEstimator.h.
Referenced by Evaluate(), Exact2(), GetHyperplane(), GetNHyp(), and TRobustEstimator().
TVectorD TRobustEstimator::fMean [protected] |
Definition at line 36 of file TRobustEstimator.h.
Referenced by AddColumn(), Classic(), CreateOrtSubset(), CreateSubset(), CStep(), Evaluate(), Exact(), Exact2(), GetMean(), and RDist().
TMatrixDSym TRobustEstimator::fCovariance [protected] |
Definition at line 37 of file TRobustEstimator.h.
Referenced by AddColumn(), Classic(), Correl(), CreateOrtSubset(), CreateSubset(), CStep(), Evaluate(), Exact(), Exact2(), GetCovariance(), and RDist().
TMatrixDSym TRobustEstimator::fInvcovariance [protected] |
Definition at line 38 of file TRobustEstimator.h.
Referenced by AddColumn(), CreateSubset(), CStep(), and RDist().
TMatrixDSym TRobustEstimator::fCorrelation [protected] |
Definition at line 39 of file TRobustEstimator.h.
Referenced by AddColumn(), Correl(), and GetCorrelation().
TVectorD TRobustEstimator::fRd [protected] |
Definition at line 40 of file TRobustEstimator.h.
Referenced by AddRow(), Evaluate(), GetRDistances(), and RDist().
TVectorD TRobustEstimator::fSd [protected] |
Definition at line 41 of file TRobustEstimator.h.
Referenced by AddRow(), Classic(), CreateOrtSubset(), CreateSubset(), CStep(), Evaluate(), Exact2(), and RDist().
TArrayI TRobustEstimator::fOut [protected] |
Definition at line 42 of file TRobustEstimator.h.
Referenced by Evaluate(), GetNOut(), and GetOuliers().
TVectorD TRobustEstimator::fHyperplane [protected] |
Definition at line 43 of file TRobustEstimator.h.
Referenced by AddColumn(), CreateOrtSubset(), Evaluate(), Exact(), Exact2(), and GetHyperplane().
TMatrixD TRobustEstimator::fData [protected] |
Definition at line 46 of file TRobustEstimator.h.
Referenced by AddColumn(), AddRow(), Classic(), Evaluate(), Exact(), Exact2(), and RDist().