Learn R Programming

WH (version 2.0.0)

get_diagnosis: Diagnosis for Model Fit

Description

Diagnosis for Model Fit

Usage

get_diagnosis(dev, pen, sum_edf, n_pos, p, q, s, lambda, R, l_sat = 0)

Value

A data.frame containing various diagnosis about the fit

Arguments

dev

Deviance of the model

pen

Penalization force

sum_edf

Effective dimension

n_pos

Number of strictly positive weights

p

Number of parameters

q

Orders of the penalization matrices

s

eigenvalues for the penalization matrix

lambda

smoothing parameters

R

triangular factor

l_sat

likelihood for the saturated model