Models Theories Lecture 2 Joe Zuntz Overview Notes on Gaussians - - PowerPoint PPT Presentation

models theories lecture 2
SMART_READER_LITE
LIVE PREVIEW

Models Theories Lecture 2 Joe Zuntz Overview Notes on Gaussians - - PowerPoint PPT Presentation

Models Theories Lecture 2 Joe Zuntz Overview Notes on Gaussians Type 1A Supernova Likelihoods (data Building Priors modelling) Building Likelihoods What is perturbation theory Distance measures in cosmology


slide-1
SLIDE 1

Models ⇔Theories Lecture 2

Joe Zuntz

slide-2
SLIDE 2

Overview

  • Notes on Gaussians
  • Building Priors
  • Building Likelihoods
  • Distance measures in

cosmology

  • Cepheid Likelihoods

(fitting a straight line)

  • Type 1A Supernova

Likelihoods (data modelling)

  • What is perturbation

theory

  • Weak Lensing

Likelihoods (handling systematic errors)

slide-3
SLIDE 3

Notes on Gaussians

slide-4
SLIDE 4

Gaussians:
 Properties

  • Central limit theorem:


Given a collection of random variables Xi:

  • Provided that:

1 sn

n

X

i=1

(Xi − µi) → N(0, 1) s2

n = n

X

i=1

σ2

i

1 s2

n

X E ⇥ (X − µi)2⇤ → 0

slide-5
SLIDE 5

Gaussians:
 Properties

  • Central limit theorem:

Single
 distribution Mean of 2 Mean of 3 Mean of 4

slide-6
SLIDE 6

Gaussians:
 Multivariate

  • C is the covariance matrix - describes correlations

between quantities

  • For example: data points often have correlated

errors P(x; µ, C) = 1 (2π)

n 2 |C| exp

 −1 2(x − µ)T C−1(x − µ)

slide-7
SLIDE 7

Descriptive Statistics: Covariance

X Y X Y

σXY > 0

σXY < 0

slide-8
SLIDE 8

Building Likelihoods:
 General Rules

  • Most of this is physics!
  • When you don’t know something, marginalize over it
  • Reduce to probabilities you do know
  • Use the problem logic to understand things
  • What quantities are independent?
  • Basic distributions like Poisson, Gaussian, etc., very useful
slide-9
SLIDE 9

Building Priors

  • Priors encode what you knew about the parameters

before you got this new data

  • Results of previous experiments!
  • Physical limits (e.g. positivity)
  • Experiment to check dependence of answers
  • If changing your prior changes the results

significantly then new data not very informative

slide-10
SLIDE 10

Building Priors

  • Lazy: just use flat priors on things
  • Remember how probabilities transform:

u = f(x) P(u) = P(x)/f 0(x)

slide-11
SLIDE 11

Data Sets, Likelihoods, and Limitations

  • Cepheid Variables
  • Type IA Supernovae
  • Baryon Acoustic

Oscillations

  • Strong Lensing
  • Light element abundances
  • Globular cluster ages
  • Cosmic Microwave

Background

  • Redshift Space Distortions
  • Weak Lensing
  • Large-Scale Structure
  • Cluster Counts
  • 21cm line structure
  • Lyman Alpha Forest
slide-12
SLIDE 12

Data Sets, Likelihoods, and Limitations

  • Cepheid Variables
  • Type IA Supernovae
  • Baryon Acoustic 


Oscillations

  • Strong Lensing
  • Light element abundances
  • Globular cluster ages
  • Cosmic Microwave

Background

  • Redshift Space Distortions
  • Weak Lensing
  • Large-Scale Structure
  • Cluster Counts
  • 21cm line structure
  • Lyman Alpha Forest
slide-13
SLIDE 13

Distance Measures in Cosmology

Different distance measures depending on exactly what you

  • measure. See Hogg (2000).
slide-14
SLIDE 14

Co-moving LOS Distance

  • Co-moving line of sight distance describes integral
  • f distances scaled to the cosmic expansion

Dc(z) = Z z dz0 H(z0) H(z) = H0 p ΩM(1 + z)3 + Ωk(1 + z)2 + ΩΛ

slide-15
SLIDE 15

Co-moving Transverse Distance

  • Co-moving transverse distance accounts for the

curvature of space: DM = c H0 p |Ωk| sink c H0 p |Ωk| Dc ! sink(x) = 8 < : sin x x > 0 x x = 0 sinh x x < 0

slide-16
SLIDE 16

Luminosity Distance

  • Luminosity Distance describes relationship

between flux emitted from a source and luminosity received.

  • Fluxes and redshifts are observable quantities: we

are getting somewhere useful!

  • Measure DL and z of some objects 


⟹ constraint the H(z) and Ω values DL ≡ r L 4πS = (1 + z)DM

slide-17
SLIDE 17

Angular Diameter Distance

  • Describes relationship between angle subtended

by object and object physical size

  • If we can measure angle of object with known size

then constrain expansion DA = ∆x ∆θ = DM/(1 + z)

slide-18
SLIDE 18

Small Distances

  • These distances equal for close objects

v = cz = H0D

slide-19
SLIDE 19

Magnitudes

  • Astronomers use logarithmic system of luminosities/

distances

  • Apparent Magnitude m:


Log of observed luminosity relative to standard

  • Absolute Magnitude M:


What apparent magnitude would be if object
 were 10 parsecs away

  • Distance Modulus:

µ ≡ m − M = 5 log10  DL 1 pc

  • − 5
slide-20
SLIDE 20

Cepheid Variables

Fitting straight lines with two sources of error

slide-21
SLIDE 21
slide-22
SLIDE 22

Cepheid Likelihoods:
 Model

  • Linear relation between

log period and magnitude

  • Scatter clearly not just

from noise

  • intrinsic scatter
slide-23
SLIDE 23

Cepheid Likelihoods:
 Standard Inference

  • Find extragalactic

Cepheids too!

  • Use the same linear fit to

deduce their luminosity

  • Get redshift-distance

relation H0

slide-24
SLIDE 24

Cepheid Likelihoods:
 Model

V obs

i

∼ N(Vi, σ2

i )

µi = α + β log10 [Pi/Days] Vi ∼ N(µi, σ2

int)

slide-25
SLIDE 25

Aside: Bayesian Networks

P V obs

i

Vi σi α σint β

  • Nice way to build/

illustrate Bayesian Networks aka Hierarchical Models

  • Can use for inference
slide-26
SLIDE 26

Cepheid Likelihoods:
 Standard Inference

P(V obs|p) = Y

i

P(V obs|p) p ≡ {α, β, σint} We want P(p|V obs)

slide-27
SLIDE 27

Cepheid Likelihoods:
 Standard Inference

P(V obs

i

|p) = Z P(V obs

i

|pVi)P(Vi|p) dVi = Z P(V obs

i

|Vi)P(Vi|p) dVi = Z N(V obs

i

; Vi, σ2

i ) N(V obs i

; α + β log10 Pi, σ2

int) dVi

slide-28
SLIDE 28

Building Likelihoods:
 Example

  • Exercise 1


Show that this is given by:

  • In one of the exercises you will evaluate and use

this likelihood using some simulated data

P(V obs

i

|p) ∝ 1 σ2

int + σ2 i

exp −0.5 ✓(V obs

i

− (α + β log10 Pi))2 σ2

int + σ2 i

slide-29
SLIDE 29

H0 Likelihoods:

  • Standard approach:
  • Use the LMC to find maximum likelihood values of the

alpha, beta, and sigma parameters

  • Fix these parameters to analyse cosmological
slide-30
SLIDE 30

H0 Likelihoods A better way!

  • Simultaneously analyse LMC data and

cosmological cepheids!

slide-31
SLIDE 31

Exercise 2

  • Exercise 2: Extend this

Bayesian Network diagram to do the simultaneous analysis

  • f LMC and

extragalactic Cepheids

P

V obs

i

Vi σi α σint β

slide-32
SLIDE 32

Exercise 3

  • Code up a function to calculate this

likelihood

slide-33
SLIDE 33

Type IA Supernovae

“Standardizing” using modelling

slide-34
SLIDE 34

Type IA Supernovae Physics

  • White Dwarf accretes matter

from binary companion.

  • Reaches Chandrasekhar

limit 1.39 M☉

  • Core becomes relativistic

=> equation of state changes => core cannot support mass =>supernova!

  • Same mass => same

brightness

slide-35
SLIDE 35

Type IA Supernovae Observations

  • Detection

Old image New image Difference

http://supernova.galaxyzoo.org/discoveries

slide-36
SLIDE 36

Type IA Supernovae Observations

  • Spectroscopic follow up
  • redshift
  • type

http://supernova.lbl.gov/

slide-37
SLIDE 37

Type IA Supernovae Observations

  • Photometric follow up
  • Light curve

http://supernova.lbl.gov/

slide-38
SLIDE 38

Type IA Supernovae Observations

  • Standardizable Candle
  • Calculate luminosity from curve shape
  • Various empirical methods


SALT2: color and stretch parameters

slide-39
SLIDE 39

Type IA Supernovae
 Inference

  • Measure distance modulus (log luminosity)

µ = 5 log10 ✓ DL 1 Mpc ◆ + 25 µ = m − M Apparent
 Magnitude (measured) Absolute
 Magnitude (modelled)

slide-40
SLIDE 40

Type IA Supernovae
 Inference

  • Need a model for

the absolute magnitude given light curve shape

  • First, model the

shape of the light curve

  • color and stretch
slide-41
SLIDE 41

Light Curve Model

c = (B V )max hB V i M0(t, λ) = hM(t, λ)i M(λ, t) = x0 [M0(t, λ) + x1M1(t, λ) + ...] e[cf(λ)] M1(t, λ) = First principal component of M

slide-42
SLIDE 42

Abs Magnitude Model

  • Find empirically from nearby SNe with known

Cepheid distance that: Mi = M − αx1i + βci

slide-43
SLIDE 43

Type IA Supernovae
 Inference

  • Nuisance parameters included in model:

µ = m∗ − M0 + αx1 − βc Measured from light curves Fitted nuisance parameters

slide-44
SLIDE 44

Type IA Supernovae
 Inference

  • So overall parameters =
  • Steps:
  • Theory:
  • “Observable”:

Dtheory

L

(zobs) = DL(ΩM, ΩΛ) µtheory = 5 log10 Dtheory

L

1 Mpc ! + 25 µobs = m∗obs − M0 + αxobs

1

− βcobs {Ωm, ΩΛ, H0, M0, α, β}

slide-45
SLIDE 45

Type IA Supernovae
 Inference

  • Covariance = (Messy Combination of noise and

nuisance params)!

  • Likelihood multivariate Gaussian
  • Caution! The priors do matter here! But by coincidence

the maximum-likelihood nuisance params work okay.
 See arxiv:1207.3705

L ∝ |C|−1 exp −1 2(µobs − µtheory)T C−1(µobs − µtheory)

slide-46
SLIDE 46

Perturbations

slide-47
SLIDE 47

Perturbations

  • Can probe fluctuations on top of the background

mean cosmology

  • Need relativistic perturbation theory to predict
  • Will very briefly discuss extreme basics now!
  • Discuss codes that solve these for you, and

approximations

slide-48
SLIDE 48

Perturbation Theory

ds2 = a2 dτ 2 + dx2 ds2 = a2 −(1 + 2Ψ)dτ 2 + (1 − 2Φ)dx2 perturb ρ(t) ρ(t) + δρ(x, t)

slide-49
SLIDE 49

Perturbation Theory

  • Phi and Psi are linear order perturbations to metric


Have similar perturbations to densities, velocities, and moments.

  • All quantities in Fourier space
  • Insert perturbed forms into Einstein and geodesic

equations

slide-50
SLIDE 50

Perturbation Theory

Conformal Newtonian
 Gauge

slide-51
SLIDE 51

Boltzmann Codes

  • Convert second order equations into first order by

introducing derivatives as new variables: ∂A ∂τ = f(A) Boltzmann Equation

  • Numerically integrate
slide-52
SLIDE 52

Perturbation Theory

  • Boltzmann Codes (CAMB, CLASS) solve the

Boltzmann equation and evolve perturbations at different k

  • Actually evolve standard deviation for that

wavelength - Gaussian fields - see CMB lectures

  • This gives linear evolution - small scales are

nonlinear

slide-53
SLIDE 53
slide-54
SLIDE 54
  • 3. Weak Lensing

Modelling systematic errors with new parameters

slide-55
SLIDE 55

Weak Lensing

  • Observation: galaxy

ellipticities and magnitudes

  • Compute 2D Fourier

space correlation function

slide-56
SLIDE 56

Weak Lensing

  • Lensing is a spin-2 field
  • Decompose into E and B

modes

  • E mode carries

cosmological information

slide-57
SLIDE 57

Weak Lensing
 Likelihood

  • Based on simulations
  • Note that covariance depends on parameters!

P( ˆ Cij

` |p) = N

⇣ Cij

` (p), Σij ` (p)

slide-58
SLIDE 58

Shear Spectra

Wi(χ) = a χ Z χ ni(χ0) χ0 − χ χ0 dχ0 Compute with 
 Boltzmann + NL Background
 evolution Photometric
 redshifts CEE

`

= ✓3H2

0ΩM

2c2 ◆2 Z ∞ Wi()Wj() 2 P(k = `/, ) d

slide-59
SLIDE 59

Photometric Redshifts

http://www.stsci.edu/~dcoe

slide-60
SLIDE 60

Photometric Redshift Methods

  • Templates
  • Machine

Learning

slide-61
SLIDE 61

Photo-z Errors

Actual n(z) Assumed
 (biased) n(z)

slide-62
SLIDE 62

Photo-z Errors

  • Let ni(z) -> ni(z+bi)
  • Our likelihood now includes an additional set of

parameters bi

  • Marginalize over bi
slide-63
SLIDE 63

Shear Errors

e = a − b a + b

slide-64
SLIDE 64

Shear Errors

  • Introduce nuisance parameters with multiplicative

errors e → (1 + m)e = ⇒ C` → (1 + 2m)C`

slide-65
SLIDE 65

Boltzmann
 P(k) and DA(z) Nonlinear P(k) Photometric
 redshift n(z) Theory shear
 Cℓ Binned Theory
 Cb Likelihood Measured
 Cb

slide-66
SLIDE 66

Boltzmann
 P(k) and DA(z) Nonlinear P(k) Photometric
 redshift n(z) Theory shear
 Cℓ Binned Theory
 Cb Likelihood Measured
 Cb Photo-z Systematics Shape Errors