You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=========================================================================
Outputstructure: Result
=========================================================================
Result.time:Sortedevent occurrence times used in the fitting.Unitshould be days if the input time is already converted to days.Result.mag:Eventmagnitudes corresponding to Result.time.Result.Mmin:Referencemagnitude used in the ETAS productivity term:
exp(alpha_ref* (mag-Mmin)).
Result.Params_ref:Fixedreference stationary ETAS parameter vector:
[mu_ref, K0_ref, c_ref, alpha_ref, p_ref].
Inthis fixed-parameter version, these parameters are not optimized.Result.mu_ref:Referencebackground seismicity rate.Unit:events/day.
Result.K0_ref:Referenceproductivity coefficient of the triggering term.Result.c_ref:ReferenceOmori-Utsu time offset.Unit:days.
Result.alpha_ref:Referencemagnitude productivity scaling parameter.Result.p_ref:ReferenceOmori-Utsu temporal decay exponent.Result.N_knots:Numberof spline knots used for each anomaly function.Thetotal number of optimized spline parameters is:2*Result.N_knots.
Result.knots:Knotlocations of the natural cubic splines.Thesame knots are used for s_mu(t) and s_K(t).Result.W_mu_grid:Candidatesmoothing weights tested for the background anomaly q_mu(t).Result.W_K_grid:Candidatesmoothing weights tested for the productivity anomaly q_K(t).Result.ABIC_table:Grid-searchresulttableforsmoothingweightselection.
Columnsare:
[w_mu, w_K, ABIC_like, obj_min, logL, success]
Column1, w_mu:Smoothingweight for s_mu(t).Column2, w_K:Smoothingweight for s_K(t).Column3, ABIC_like:SimplifiedABIC-like criterion:
ABIC_like =2*obj_min+2*n_hyperwheren_hyper = 2.Column4, obj_min:Minimumpenalized negative log-likelihood:
obj_min =-logL+w_mu*R_mu+w_K*R_K.
Column5, logL:Unpenalizedlog-likelihood evaluated at the optimum.Column6, success:Optimizationsuccess flag.1means exitflag > 0; 0means not successful.Result.best_w_mu:Selectedsmoothing weight for q_mu(t), chosen by minimum ABIC_like.Result.best_w_K:Selectedsmoothing weight for q_K(t), chosen by minimum ABIC_like.Result.best_ABIC_like:MinimumABIC_like value over all smoothing-weight pairs.Result.best_obj:Minimumpenalized objective value for the selected smoothing weights:
best_obj =-best_logL+best_w_mu*R_mu+best_w_K*R_K.
Result.best_logL:Unpenalizedlog-likelihood at the optimal spline parameters.Result.params_opt:Optimizedspline coefficient vector:
[s_mu_knots;
s_K_knots]
Theseare not [mu, K0, c, alpha, p].Theyare the log-anomaly spline coefficients.Result.s_mu_knots:Optimizedvalues of s_mu(t) at the spline knots.Thebackground anomaly is:
q_mu(t) = exp(s_mu(t)).
Result.s_K_knots:Optimizedvalues of s_K(t) at the spline knots.Theproductivity anomaly is:
q_K(t) = exp(s_K(t)).
Result.q_mu_knots:Backgroundanomaly factors at knots:
q_mu_knots = exp(s_mu_knots).
Result.q_K_knots:Productivityanomaly factors at knots:
q_K_knots = exp(s_K_knots).
Result.R_mu:Roughnesspenalty component for s_mu(t):
R_mu =integral[s_mu''(t)]^2 dt.Result.R_K:Roughnesspenalty component for s_K(t):
R_K =integral[s_K''(t)]^2 dt.Result.penalty:Weightedtotal roughness penalty:
penalty =best_w_mu*R_mu+best_w_K*R_K.
Result.event:Structurecontaining fitted quantities evaluated at event times.Seethe "Result.event structure" section below.Result.grid:Structurecontaining fitted quantities evaluated on a regular time grid.Thisis mainly used for plotting smooth curves.Seethe "Result.grid structure" section below.Result.TransN:Transformedevent times from the time-rescaling theorem:
tau_i =integralfrom T0 to t_i of lambda(u | H_u) du.Ifthe model fits well, the transformed process should be close to aunit-ratePoissonprocess.
Result.NumEvents:Cumulativeevent count:
[1; 2; ...; N].Result.fai:Backgroundprobabilityforeachevent:
fai_i = mu(t_i) / lambda(t_i).
Thisis identical to:Result.event.fai.
Result.fs:Meanbackground probability:
fs = mean(fai) = sum(fai) /N.
Itcan be interpreted as the estimated background-event fraction;
=========================================================================
Result.event structure
=========================================================================
Result.event.lambda:Conditionalintensity evaluated at each event time:
lambda(t_i) = mu(t_i) + trig(t_i)
where:
mu(t_i) =mu_ref* q_mu(t_i)
and:
trig(t_i) = sum_{j:t_j<t_i}
K0_ref* q_K(t_j) * exp(alpha_ref*(m_j-M0))
* (t_i-t_j+c_ref)^(-p_ref).
Unit:events/day.
Result.event.mu:Time-varyingbackgroundrateevaluatedateventtimes:
mu(t_i) =mu_ref* q_mu(t_i).
Unit:events/day.
Result.event.trig:Triggeringcontribution to the conditional intensity at each event time:
trig(t_i) = lambda(t_i) - mu(t_i).
Unit:events/day.
Result.event.q_mu:Backgroundanomaly factor evaluated at event times:
q_mu(t_i) = exp(s_mu(t_i)).
Ifq_mu(t_i) > 1, the fitted background rate is higher than mu_ref.Ifq_mu(t_i) < 1, the fitted background rate is lower than mu_ref.Result.event.q_K:Productivityanomaly factor evaluated at event times:
q_K(t_i) = exp(s_K(t_i)).
Ifq_K(t_i) > 1, event productivity is higher than K0_ref.Ifq_K(t_i) < 1, event productivity is lower than K0_ref.Result.event.K0:Time-varyingproductivitycoefficientevaluatedateventtimes:
K0(t_i) =K0_ref* q_K(t_i).
Result.event.productivity:Fullproductivity of each source event:
productivity_i =K0_ref* q_K(t_i)
* exp(alpha_ref* (mag_i-M0)).
Thisquantity controls how strongly event i triggers future events.Result.event.fai:Backgroundprobability for each event:
fai_i = mu(t_i) / lambda(t_i).
Thisis the probability that event i belongs to the background componentratherthan being triggered by previous events.Result.event.fs:Meanbackground probability:
fs = mean(Result.event.fai).
Thisis the estimated average background fraction.
=========================================================================
Result.grid structure
=========================================================================
Result.grid.time:Regulartime grid from min(Result.time) to max(Result.time).Defaultlength is 600.Result.grid.lambda:Conditionalintensity evaluated on Result.grid.time:
lambda(t) = mu(t) + trig(t).
Unit:events/day.
Result.grid.mu:Time-varyingbackgroundrateevaluatedonthegrid:
mu(t) =mu_ref* q_mu(t).
Unit:events/day.
Result.grid.trig:Triggeringcontribution evaluated on the grid:
trig(t) = sum_{j:t_j<t}
K0_ref* q_K(t_j) * exp(alpha_ref*(m_j-M0))
* (t-t_j+c_ref)^(-p_ref).
Unit:events/day.
Result.grid.q_mu:Backgroundanomaly factor evaluated on the grid:
q_mu(t) = exp(s_mu(t)).
Result.grid.q_K:Productivityanomaly factor evaluated on the grid:
q_K(t) = exp(s_K(t)).
Result.grid.K0:Time-varyingproductivitycoefficientevaluatedonthegrid:
K0(t) =K0_ref* q_K(t).
Note:Inthe ETAS triggering sum, q_K is evaluated at source event timest_j, notat the target time t. Result.grid.K0 is mainly for plottingthesmooth fitted productivity anomaly over time.
=========================================================================
Internaldetails structure from logLikelihoodFixedETAS
=========================================================================
details.lambda_i:Conditionalintensity lambda(t_i) at event times.details.mu_i:Backgroundrate mu(t_i) at event times.details.trig_i:Triggeringcontribution at event times.details.q_mu_event:
q_mu(t_i) ateventtimes.
details.q_K_event:
q_K(t_i) ateventtimes.
details.productivity_j:Sourceproductivity of each event j:
productivity_j =K0_ref* q_K(t_j)
* exp(alpha_ref* (mag_j-M0)).
details.bg_part:Backgroundintegral in the log-likelihood:
bg_part =integralfrom T0 to T of mu_ref*q_mu(t) dt.details.trig_part:Triggeringintegral in the log-likelihood:
trig_part =sum_jproductivity_j*integralfromt_jtoT of (t-t_j+c_ref)^(-p_ref) dt.
Thefull log-likelihood is:
logL =sum_ilog(lambda_i) - bg_part - trig_part.
About
Modeling non-stationary ETAS models using spline functions, with weight coefficients as function inputs