linksrm_convert {PtProcess} | R Documentation |
Parameter Conversion for Linked Stress Release Model
Description
Converts parameter values between two different parameterisations (described in Details below) of the linked stress release model.
Usage
linksrm_convert(params, abc=TRUE)
Arguments
params |
a vector of parameter values of length n2+2n , where n is the number of regions in the model.
|
abc |
logical. If TRUE (default), then the input value of params is that of the abc parameterisation. See Details for further explanation.
|
Details
If abc == TRUE
, the conditional intensity for the i
th region is assumed to have the form
λg(t,i∣Ht)=exp{ai+bi[t−∑j=1ncijSj(t)]}
with params
=(a1,⋯,an,b1,⋯,bn,c11,c12,c13,⋯,cnn)
.
If abc == FALSE
, the conditional intensity for the i
th region is assumed to have the form
λg(t,i∣Ht)=exp{αi+νi[ρit−∑j=1nθijSj(t)]}
where θii=1
for all i
, n=length(params)+1−1
, and
params
=(α1,⋯,αn,ν1,⋯,νn,ρ1,⋯,ρn,θ12,θ13,⋯,θ1n,θ21,θ23,⋯,θn,n−1).
Value
A list object with the following components is returned:
params |
vector as specified in the function call.
|
a |
vector of length n as in the abc parameterisation.
|
b |
vector of length n as in the abc parameterisation.
|
c |
n by n matrix as in the abc parameterisation.
|
alpha |
vector of length n as in the alternative parameterisation.
|
nu |
vector of length n as in the alternative parameterisation.
|
rho |
vector of length n as in the alternative parameterisation.
|
theta |
n by n matrix with ones on the diagonal as in the alternative parameterisation.
|
See Also
linksrm_gif
[Package
PtProcess version 3.3-16
Index]