我无法通过常规方法获得它们。
> x <- rnorm(1000, 10, 1)
> y <-rgamma(1000, shape=1, rate=x)
> myfit <- vglm(y~x, family=gammaff(link="reciprocal"))
> summary(myfit)
Call:
vglm(formula = y ~ x, family = gammaff(link = "reciprocal"))
Pearson residuals:
Min 1Q Median 3Q Max
1/mu -6.4126 -0.404 0.32118 0.69281 0.99917
Coefficients:
Estimate Std. Error z value
(Intercept) 0.050464 2.9415 0.017156
x 0.987358 0.2974 3.320015
Number of linear predictors: 1
Name of linear predictor: 1/mu
(Estimated) Dispersion Parameter for gammaff family: 0.96865
Residual deviance: 1106.494 on 998 degrees of freedom
Number of iterations: 6
> AIC(myfit)
numeric(0)
> showMethods("AIC")
Function: AIC (package stats)
object="ANY"
object="cao"
object="qrrvglm"
object="rrvglm"
object="vgam"
object="vglm"
object="vlm"
这里它指的是AIC.vglm
,但它甚至不存在。
我找到的最接近的函数是AICrrvglm
or AICvgam
,两者都不起作用。