Description Usage Arguments Value
Get an initial set of putative variables for the GAM algorithm
1 2 3 4 5 6 7 8 9 10 11 12 13 |
initidx |
an initial set of variables to use in the fitting algorithm |
initval |
the values (-1 or 1) of the initial set of preditors |
Yr |
the response vector |
Xr |
the fixed-effect design matrix |
Z |
the matrix of all putative variables |
distr |
the GLM distribution to fit (N=Normal, B=binary, P=Poisson) |
randomize |
Boolean - whether to run the greedy or randomized version |
mincor |
a threshold of (absolute) correlation above which a pair is considered highly correlated |
maxsteps |
maximum number of GAM iterations |
minchange |
the minimum difference in log-likelihood between consecutive iterations below which we assume that the algorithm has converged |
ptf |
Boolean - whether to print debug messages to SEMMS.log |
a list containing the index of non-null variables (columns in Z), the mixture model parameters, the sign of the selected coefficients, a matrix with posterior probabilities, and an indicator array for locked out variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.