Reparametrization of the ExpFam distribution in canonical form
1 2 3 | ## S3 method for class 'ExpFam_dist_canonical'
ExpFam_reparametrize(param.obj, reparam.obj,
hints = list(), param.type)
|
1 2 3 4 5 6 7 8 9 10 | ExpFam_reparametrize.ExpFam_dist_canonical(
param.obj = ,
reparam.obj = Reparam_Logit(),
hints = list(
B.from.theta = function(theta) -log(1 - theta), #log-normaliser for mean parametrisation
B.grad = function(theta) -1 / (1 + theta),
B.hess = function(theta) 1 / (1 + theta) ^ 2
),
param.type = "mean"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.