ProfileLikelihood Class Reference

Profile likelihood calculator. More...

#include <XeStat.h>

Inheritance diagram for ProfileLikelihood:
Likelihood PValue XeCombinable XeStat XeStat XeMath XeObject XeMath XeObject XeCore XeCore XeCore XeCore CombinedProfileLikelihood PLcountingSB S1S2PL

List of all members.

Public Member Functions

virtual bool checkPValue ()
 check that p-values are all ok for limit computations
void doForceSigmaPositive (bool force)
 Force estimated sigma to be positive or zero.
void estimateCrossSection ()
 estime cross section and save corresponding likelihood
double getLodD ()
 Return the log likelilood for the estimated sigma.
double getSigmaHat ()
 Method returning current estimated sigma.
XeGraphnewGraphOfLogLikelihood (EventRange *er=NULL)
void printFlagsAndParameters ()
 print All flags and parameters
 ProfileLikelihood (string name)
 Constructor.
 ProfileLikelihood ()
 Empty constructor for root.
double pValueS (double sigma)
 Compute the p-value for a given cross section.
double qExclusion (double sigma)
void updateSigmaUnit ()
 Virtual method: update cross section, in cm^2, corresponding to 1 event.

Protected Member Functions

void setup ()
 Technical routine for constructors.

Protected Attributes

bool forceSigmaPositive
double LogD
double sigmaHat
LKParametersigPar

Detailed Description

Profile likelihood calculator.


Constructor & Destructor Documentation

ProfileLikelihood::ProfileLikelihood ( string  name  ) 

Constructor.

Parameters:
name name of the object

Member Function Documentation

void ProfileLikelihood::doForceSigmaPositive ( bool  force  ) 

Force estimated sigma to be positive or zero.

Parameters:
force true or false
double ProfileLikelihood::getSigmaHat (  )  [virtual]

Method returning current estimated sigma.

Returns:
current value of estimated sigma

Reimplemented from PValue.

XeGraph* ProfileLikelihood::newGraphOfLogLikelihood ( EventRange er = NULL  ) 
Returns:
an XeGraph of Likelihood for a sigma range
Parameters:
er Event range
double ProfileLikelihood::pValueS ( double  sigma  )  [virtual]

Compute the p-value for a given cross section.

Returns:
double pValue for a given cross section
Parameters:
sigma Cross section being tested

Implements PValue.

double ProfileLikelihood::qExclusion ( double  sigma  )  [virtual]
Returns:
q(sigma) according to PL recipe
Parameters:
sigma cross sections being testes

Reimplemented from PValue.


Member Data Documentation

Force estimated sigma to be >0?

double ProfileLikelihood::LogD [protected]

Saved value of Log Likelihood at estimated sigma

double ProfileLikelihood::sigmaHat [protected]

Saved value of estimated sigma

Pointer to main parameter of interest


The documentation for this class was generated from the following file:
 All Classes Functions Variables

Generated on 10 Apr 2015 for Xephyr by  doxygen 1.6.1