-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmethods.tex
More file actions
124 lines (108 loc) · 7.98 KB
/
Copy pathmethods.tex
File metadata and controls
124 lines (108 loc) · 7.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
% !TEX root = ccsn.tex
\section{Description of the method}
\label{methods}
\begin{figure}[t]
\centering
\includegraphics[width=0.45\textwidth]{plots/model}
\caption{Ratio $M_{\rm PNS}/R_{\rm PNS}^2$ from our 18 1D simulations of the model set. The solid line is the maximum likelihood estimate of heteroscedastic cubic model with 95\% confidence bands (dashed lines) considering the 18 simulation data points. We have not made the distinction between the different simulations since we are only interested in the relationship between the variables.}
\label{fig:LMVAR}
\end{figure}
We next outline our strategy for estimating the time evolution of $r(t)$
%ratio $r=M_{\rm PNS}/R_{\rm PNS}^2$ (in units of solar mass and km)
from the observation of the $\mbox{}^2g_2$ oscillation mode in the GW detector data.
%An integral part of this strategy is the universal relations that relate the
%characteristic frequency of the PNS oscillation $f$, $g$ and $p$ modes with the mass
%and the radius of the PNS, the shock radius and the total mass inside the shock as
%demonstrated in \cite{Torres:2019b}.
To build the model of the ratio $r$ as a function of the frequency $f$ we use the
1D simulations of the {\it model set}. Figure~\ref{fig:LMVAR}
shows the data for the $18$ numerical simulations.
%As identified by \cite{Torres:2019b}, the only systematic deviation from a single universal relation is the numerical code used in the simulations.
%To avoid any systematic effect, we only use the $18$ simulations performed with the {\sc AENUS-ALCAR}
%code, which is the same code that was used in our test set.
%\mab{We defer a discussion of the possible consequences of this choice in Section \ref{sec:conclusion}.}
%The consequences of this choice are discussed in the conclusions.
Using these data we parametrize the discretized ratio $r_i$ with a cubic polynomial
regression with heteroscedastic errors
\begin{equation}
\label{eq:model1}
r_i=\beta_1 f_i + \beta_2 f_i^2 +\beta_3 f_i^3 + \epsilon_i\,,
\end{equation}
where $\epsilon_i$ are assumed to be independent zero-mean Gaussian errors with
variances $\sigma_i^2$ that increase with frequency $f_i$. The model for frequency-dependent
variances is
\begin{equation}
\log \sigma_i=\alpha_0+ \alpha_1 f_i + \alpha_2 f_i^2 + \delta_i\,,
\end{equation}
with independent and identically zero-mean Gaussian errors $\delta_i$. The R-package \texttt{lmvar}~\citep{lmvar:2019} that implements a maximum likelihood approach was used to fit the model.
For the mean of the ratios $r_i$, the cubic model has the best fitting amongst polynomials of lower degrees, and for the mean of the log standard deviation $\log\sigma_i$, the quadratic model has the best fit compared to a polynomial of degree one. The models were compared according to the Akaike information criterion. The estimated coefficients are given in Table \ref{tab:model} and the data and fit of the final model, including 95\% confidence bands, are displayed in Figure~\ref{fig:LMVAR}.
%The best fitting model amongst polynomials of degree 1, 2, and 3 was chosen according to the Akaike information criterion with coefficients given in Table \ref{tab:model}, which is actually the model defined in \eqref{eq:model1}. The data and fit of the model including 95\% confidence bands are displayed in Figure~\ref{fig:LMVAR}.
%\begin{equation}\label{eq:universal}
%r_i = \beta_1 f_i + \beta_3 f_i^3 + \epsilon_i
%\end{equation}
%The best-fitting model achieves a coefficient of determination of $R^2=0.9812$.
%The data and fit of the model including 95\% confidence bands are displayed in
%Figure~\ref{fig:LMVAR}.
\begin{table}[h]
% \begin{tabular}{lll}
% \hline
% Coefficient & Estimate & standard error \\
% \hline
% $\beta_1$ & $6.09 \times 10^{-7}$ & $1.75 \times 10^{-8}$ \\
% $\beta_3$ & $6.24 \times 10^{-13}$ & $8.79 \times 10^{-15}$ \\
% \hline
% \end{tabular}
\begin{tabular}{crr}
\hline
Coefficient & \multicolumn{1}{c}{Estimate} & Standard error \\
\hline
$\beta_1$ & $ 1.00 \times 10^{-06}$ & $2.12 \times 10^{-08}$ \\
$\beta_2$ & $-8.22 \times 10^{-10}$ & $5.00 \times 10^{-11}$ \\
$\beta_3$ & $ 1.01 \times 10^{-12}$ & $2.70 \times 10^{-14}$ \\
$\alpha_0$ & $-1.02 \times 10^{+01}$ & $6.80 \times 10^{-02}$ \\
$\alpha_1$ & $ 7.24 \times 10^{-04}$ & $1.56 \times 10^{-04}$ \\
$\alpha_2$ & $ 6.23 \times 10^{-07}$ & $8.15 \times 10^{-08}$ \\
\hline
\end{tabular}
\caption{Estimate and standard error of the coefficients of the best fit model describing the ratio $r=M_{\rm PNS}/R_{\rm PNS}^2$ as function of the frequency of the $\mbox{}^2g_2$ mode.}\label{tab:model}
\end{table}
{We use this model to infer the properties of the simulations in the
{\it test set} discussed in Section \ref{sec:simulations}.}
To describe the method we focus on the GW signal
of model {\texttt s20S}, originally
sampled at \unit[16384]{Hz} but downsampled at \unit[4096]{Hz}.
A spectrogram of this signal is shown in Figure \ref{fig:spectrogram} based on
autoregressive estimates~\citep{BrockwellPeterJ1991Tsta} of the local spectra for successive time intervals of length 200 with a 90\% overlap.
The dominant emission mode corresponds to the PNS oscillation $\mbox{}^2 g_2$-mode. We have
developed a time-frequency method to track the ridge $m(t) $ in the spectrogram,
taking into account that it is monotonically increasing with time.
This is a property of the $\mbox{}^2 g_2$-mode whose frequency
increases as the PNS becomes more massive and compact.
Starting from either the left- or right-most column of the time-frequency matrix
we identify and trace the sequence of amplitude peaks within a certain frequency
band given the monotonicity constraint. Specific details about the reconstruction of the $\mbox{}^2 g_2$-mode ridge
are provided in Appendix~\ref{app:gmode}.
\begin{figure}
\centering
\includegraphics[width=0.5\textwidth]{plots/spectrogram}
\caption{Spectrogram of the GW signal {\texttt s20S} sampled at \unit[4096]{Hz}.
The spectrogram is obtained using a data streach of 200 samples overlapping at 90\%
with each other. The open circles track the ridge $m(t) $ of the $\mbox{}^2 g_2$-mode. } \label{fig:spectrogram}
\end{figure}
We collect the instantaneous frequency $f(t_i)$ corresponding to the ridge $m(t_i)$ for
the midpoint $t_i$ of each local time interval of the spectrogram and interpolate $f(t)$
for values in between $t_i$. We then use our model given by Eq.~\eqref{eq:model1} to obtain
estimates of the time evolution of the ratio together with 95\% confidence intervals.
An example is given in Figure \ref{fig:ratio} where the red triangles are the point estimates and
the grey bands represent 95\% confidence bands. The size of the red triangles is proportional to the magnitude of the $\mbox{}^2 g_2$-mode frequency estimates.
Note that as the frequency of the $\mbox{}^2 g_2$-mode becomes higher our estimates show more uncertainty (bigger intervals) because our model allows for heterogeneous variance. Ratio values
computed using the mass and radius values obtained from the simulation code (i.e.~the true values)
are shown in black. In this example of a noise-free GW signal the coverage of our 95\% confidence band is 100\%
of the true values. In the next section we investigate the performance of the reconstruction of $r(t)$ when the GW
signal is embedded in noise. We also note that despite we have only explicitely shown results for the GW signal of the {\texttt s20S} model the same conclusions hold for any of the other waveforms of our test set.
\begin{figure}
\centering
\includegraphics[width=0.5\textwidth]{plots/ratio}
\caption{Comparison of the time evolution of the ratio $M_{\rm PNS}/R_{\rm PNS}^2$ estimated from the $\mbox{}^2 g_2$-mode of the {\texttt s20S} signal (shown by open triangles and by the 95\% confidence belt in grey) against the value derived from the PNS mass and radius given by the simulation code (shown by filled black circles). The size of the triangles are represented proportionally to the magnitude of the $\mbox{}^2 g_2$-mode frequency estimates.}
\label{fig:ratio}
\end{figure}