dfToLambda | R Documentation |
This function computes the regularization parameter corresponding to the given degrees of freedom.
dfToLambda(z, counts, splineDf, df, numberBin, penalty = NULL)
z |
sufficient statistics matrix, of dimension |
counts |
vector indicating the number of responses in each bin, of length |
splineDf |
the number of sufficient statistics. |
df |
degrees of freedom. |
numberBin |
the number of bins for response discretization. |
penalty |
separate penalty factors applied to each coefficient, of length |
The function returns the regularization parameter corresponding to the desired degrees of freedom.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.