getBeta {gldrm} | R Documentation |
Beta optimization routing
Description
Beta optimization routing
Usage
getBeta(
x,
y,
spt,
ySptIndex,
f0,
linkinv,
mu.eta,
offset,
sampprobs,
betaStart,
thStart,
thetaControl = theta.control(),
betaControl = beta.control()
)
Arguments
x |
Covariate matrix. |
y |
Response vector. |
spt |
Vector of unique observed support points in the response. |
ySptIndex |
Index of each |
f0 |
Current values of f0. |
linkinv |
Inverse link function. |
mu.eta |
Derivative of inverse link function. |
offset |
Vector of known offset values to be added to the linear combination (x' beta) for each observation. Mostly intended for likelihood ratio and score confidence intervals. |
sampprobs |
Optional matrix of sampling probabilities. |
betaStart |
Starting values for beta (typically the estimates from the previous iteration). |
thStart |
Starting theta values. Needs to be a list of values matching
the output of the |
thetaControl |
A "thetaControl" object returned from the |
betaControl |
A "betaControl" object returned from the |
Value
A list containing the following:
-
beta
Updated values. -
mu
Updated mean for each observation. -
th
Updated list returned from thegetTheta
function. -
llik
Updated log-likelihood. -
iter
Number of iterations until convergence. (Will always be one unlessmaxiter
is increased to something greater than one using thebetaControl
argument.) -
conv
Convergence indicator. (Will always be FALSE unlessmaxiter
is increased to something greater than one using thebetaControl
argument.)