scoreVectDS {dsBase} | R Documentation |
This function is called by the client function 'ds.gee' to produced the score vector and information matrix.
scoreVectDS(data, formula, family, clusterID, corstr, alpha, phi, startBetas, zcor = NULL)
data |
the input dataframe which contains the variable specified in the formula. |
formula |
a regression formula. |
family |
the link function for the regression. |
clusterID |
the name of the column that holds the cluster IDs. |
corstr |
the correlation structure. |
alpha |
the parameter alpha |
phi |
the parameter alpha |
startBetas |
a character, the starting values concatenated by comma |
zcor |
the user defined matrix user if the correlation structure is 'fixed'. |
the score vector and information matrix are calculated according to the correlation structure.
a list
Gaye, A.; Jones EM.