LikelihoodRatioResults
- class sherpa.sim.simulate.LikelihoodRatioResults(ratios, stats, samples, lr, ppp, null, alt)[source] [edit on github]
Bases:
NoNewAttributesAfterInit
The results of a likelihood ratio comparison simulation.
- ratios
The likelihood ratio for each simulation.
- Type:
numpy array
- stats
The fit statistic for the null and alternative models for each simulation. The shape is (nsim, 2).
- Type:
numpy array
- samples
The parameter samples array for each simulation.
- Type:
numpy array
- lr
The likelihood ratio of the observed data for the null and alternate models.
- Type:
number
- ppp
The p value of the observed data for the null and alternate models.
- Type:
number
- null
The fit statistic of the null model on the observed data.
- Type:
number
- alt
The fit statistic of the alternate model on the observed data.
- Type:
number
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: