Top Banner
Statistical Challenges in Modeling High Resolution X-ray Spectra Aneta Siemiginowska Vinay Kashyap (CfA/CXC/CHASC)
29

Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

May 29, 2018

Download

Documents

leliem
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Statistical Challenges in Modeling

High Resolution X-ray Spectra

Aneta Siemiginowska Vinay Kashyap

(CfA/CXC/CHASC)

Page 2: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Challenges

• Global fitting • Line detection and fitting low counts lines • Massive model misspecification • Building complex models

Page 3: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Lack of Pretty Pictures?

Page 4: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

4

Global Fitting• Poisson data • Poisson Likelihood in modeling the data

• Cash/Cstat/Wstat • Bias in chi-gehrels 1+sqrt(di+0.75)

• Background? • Group data ? • High S/N - Fit individual lines • Large number of parameters

• MCMC methods (Markov-Chain Monte Carlo) • Bayesian methodology

Page 5: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Buchner et al 2014

Ungrouped for Fitting

Model Comparison

Group for visualization

Page 6: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Line detection• Critical for plasma diagnostics

• Densities from line ratios, e.g. He-like OVI and NeIX • Temperature diagnostics

• Measurements of line intensities: • Accounting for background, continuum, instrumental line

spread, effective area calibration, contamination from other lines, line profile fitting.

• Issues • Binning the data • Uncertainties • Line significance

Page 7: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

7

Binning

• Loss of resolution • blending of lines • line disappearing • wrong line properties etc.

• Loss of information • binned lines can contribute to the continuum • wrong normalization and source flux

Page 8: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

8

Continuum vs. Lines

Thanks to Mike Nowak

Page 9: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Detecting Lines in Poisson Data

Park et al 2008

Computational challenges Multimodal likelihood Bayesian methods

Profile posterior distribution

Page 10: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Uncertainties

Park et al 2008

PDF

Based on MCMC samples

Page 11: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

11Uncertainties via MCMC?

Blended Lines

Page 12: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Significance of the Line - Simulations

Park et al 2008 Protassov et al 2002

Page 13: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Model Misspecification

• Atomic data bases have offsets between theoretical and true line locations

• Blending of individual lines

• Problems with pseudo-continuum

• Variable abundances across the line-of-sight

• Multi-temperature plasmas require DEM analyses - subject to high frequency instabilities, requiring ad hoc regularization

Page 14: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Building Complex Models: Decision Process

• First look at the residuals, use some simple tests: 1. symmetry of distribution 2. Cumulative sums 3. Model the residuals and then move this model to the primary model

• Look at the parameters posterior pdf if you have them

• If you do MCMC, always double check the convergence • Multiple starting points • Lots of iterations

Page 15: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Giustini et al 2015

Nicastro et al 2013

Look at Residuals

Page 16: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Scott et al 2014

NGC 3783 - variability

Page 17: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

17

Page 18: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

18

Page 19: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Building Complex Models: Decision Process

• Selecting a model - number of parameters vs. model simplicity:

• Ockham’s razor - selecting a simpler model • AIC/BIC/DIC/MDL - criteria as a guide • Bayes Factors - calculation of integrals, depending on prior

• Classical tests require that a simpler model must be nested inside a complex model

• mixture models • KDE (kernel density estimates)

Page 20: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

20

Classical Model Selections

• χ2 - goodness of fit test • F-test • Likelihood Ratio Tests • AIC - Akaike Information Criterion Given ML for a set of models. The model with the largest value provides

the best description of the data. Need to incorporate number of model parameters. The model with the lowest AIC value is the best model.

K - number of model parameters N - number of data points

χ2 - assuming Normalityfinite sample correction

Page 21: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

21

Example

Kelly et al 2014, ApJ 788,33

Page 22: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

22AstroML package

Mixture Models: Example

Page 23: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Summary

• Global fitting • Line detection and fitting low counts lines • Massive model misspecification • Building complex models

• Statistical methods exist and can be applied • Need good statistics software tools.

Page 24: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

24

Bayesian Model Selection

• Odds Ratio

• Bayes Factors

• BIC - Bayesian Information Criterion

• DIC - Deviance Information Criterion

M2,M1 - modelsl

Page 25: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Equal tail HPD Highest Posterior Density

Page 26: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Buchner et al. 2014

Model Summaries: Posterior Distributions

Page 27: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

28

Calibrate the test statistics

Simulated null

χ25%Actual false/positive

Page 28: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Ness et al 2003

Multi-line model of NeIX region in HEG spectrum of Capella

Page 29: Statistical Challenges in Modeling High Resolution …cxc.harvard.edu/cdo/hrxs2015/presentations/aneta_siem.pdfStatistical Challenges in Modeling High Resolution X-ray Spectra ...

Ness et al 2003

Line Ratios as Density diagnostics