R/d2th_dmu2_mk.R

Defines functions d2th_dmu2_mk

Documented in d2th_dmu2_mk

d2th_dmu2_mk <- function(fml){
	switch(fml,
		binomial = function(mu, mi) 1 / (mi - mu)^2 - 1 / mu^2,
		poisson = function(mu, mi) - 1 / mu^2,
		Gamma = function(mu, mi) - 2 / mu^3,
		inverse.gaussian = function(mu, mi) - 3 / mu^4
	)
}

Try the dglars package in your browser

Any scripts or data that you put into this service are public.

dglars documentation built on Oct. 9, 2018, 5:04 p.m.