Learn R Programming

siRSM (version 1.1)

single.run: Fit siRSM Once Based on One Initial Value

Description

Internal function called by siRSM. Do NOT use.

Usage

single.run(data, w0, int.only=FALSE, eps=0.005, precision=1e-6, max.iter=10000, debug=FALSE, trace=TRUE)

Arguments

data
y, X, Z together
w0
initial guess
int.only
fit an interaction-only model
eps
step size for gradient descent
precision
convergence criterion
max.iter
maximum number of iteractions
debug
can be turned on for debugging
trace
if TRUE, reports progress as function runs