51 cout << endl<<
" ======================================================== " <<endl;
63 tr.SetPoissonBkgBinomEff(x,y,z,tau,m);
66 cout <<
"For model 1: Poisson / Binomial" << endl;
67 cout <<
"the Profile Likelihood interval is :" << endl;
68 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
76 cout << endl<<
" ======================================================== " <<endl;
87 tr.SetPoissonBkgGaussEff(x,y,em,tau,sde);
90 cout <<
"For model 2 : Poisson / Gaussian" << endl;
91 cout <<
"the Profile Likelihood interval is :" << endl;
92 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
100 cout << endl<<
" ======================================================== " <<endl;
111 tr.SetGaussBkgGaussEff(x,bm,em,sde,sdb);
113 cout <<
"For model 3 : Gaussian / Gaussian" << endl;
114 cout <<
"the Profile Likelihood interval is :" << endl;
115 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
117 cout <<
"***************************************" << endl;
118 cout <<
"* some more example's for gauss/gauss *" << endl;
119 cout <<
"* *" << endl;
121 tr.GetSensitivity(slow,shigh);
122 cout <<
"sensitivity:" << endl;
123 cout <<
"[" << slow <<
"," << shigh <<
"]" << endl;
126 tr.GetLimitsQuantile(slow,shigh,outx,0.5);
127 cout <<
"median limit:" << endl;
128 cout <<
"[" << slow <<
"," << shigh <<
"] @ x =" << outx <<endl;
130 tr.GetLimitsML(slow,shigh,outx);
131 cout <<
"ML limit:" << endl;
132 cout <<
"[" << slow <<
"," << shigh <<
"] @ x =" << outx <<endl;
134 tr.GetSensitivity(slow,shigh);
135 cout <<
"sensitivity:" << endl;
136 cout <<
"[" << slow <<
"," << shigh <<
"]" << endl;
139 cout <<
"the Profile Likelihood interval is :" << endl;
140 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
144 tr.GetCriticalNumber(ncrt);
145 cout <<
"critical number: " << ncrt << endl;
148 tr.GetCriticalNumber(ncrt);
149 cout <<
"critical number for 5 sigma: " << ncrt << endl;
151 cout <<
"***************************************" << endl;
159 cout << endl<<
" ======================================================== " <<endl;
170 tr.SetPoissonBkgKnownEff(x,y,tau,e);
173 cout <<
"For model 4 : Poissonian / Known" << endl;
174 cout <<
"the Profile Likelihood interval is :" << endl;
175 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
183 cout << endl<<
" ======================================================== " <<endl;
193 tr.SetGaussBkgKnownEff(x,bm,sdb,e);
196 cout <<
"For model 5 : Gaussian / Known" << endl;
197 cout <<
"the Profile Likelihood interval is :" << endl;
198 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
206 cout << endl<<
" ======================================================== " <<endl;
216 tr.SetKnownBkgBinomEff(x, z,m,b);
219 cout <<
"For model 6 : Known / Binomial" << endl;
220 cout <<
"the Profile Likelihood interval is :" << endl;
221 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
229 cout << endl<<
" ======================================================== " <<endl;
241 tr.SetKnownBkgGaussEff(x,em,sde,b);
244 cout <<
"For model 7 : Known / Gaussian " << endl;
245 cout <<
"the Profile Likelihood interval is :" << endl;
246 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
262 tr.SetPoissonBkgBinomEff(x,y,z,tau,m);
263 tr.SetBounding(
true);
266 cout <<
"Example of the effect of bounded vs unbounded, For model 1" << endl;
267 cout <<
"the BOUNDED Profile Likelihood interval is :" << endl;
268 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;
271 tr.SetBounding(
false);
274 cout <<
"the UNBOUNDED Profile Likelihood interval is :" << endl;
275 cout <<
"[" << ll <<
"," << ul <<
"]" << endl;