LikelihoodRatioResults¶
-
class
sherpa.sim.simulate.LikelihoodRatioResults(ratios, stats, samples, lr, ppp, null, alt)[source] [edit on github]¶ Bases:
sherpa.utils.NoNewAttributesAfterInitThe results of a likelihood ratio comparison simulation.
-
samples¶ numpy array – The parameter samples array for each simulation.
-
stats¶ numpy array – The fit statistic for the null and alternative models for each simulation. The shape is (nsim, 2).
-
ratios¶ numpy array – The likelihood ratio for each simulation.
-
null¶ number – The fit statistic of the null model on the observed data.
-
alt¶ number – The fit statistic of the alternate model on the observed data.
-
lr¶ number – The likelihood ratio of the observed data for the null and alternate models.
-
ppp¶ number – The p value of the observed data for the null and alternate models.
Methods Summary
format()Convert the object to a string representation for display purposes. Methods Documentation
-
format()[source] [edit on github]¶ Convert the object to a string representation for display purposes.
Returns: txt – A string representation of the data stored in the object. Return type: str
-