Description Usage Arguments Value
This function is used to update A matrix
1 |
Dfix |
the coefficient matrix for study covariates |
Gamma |
the G matrix value |
Adata |
the dataset |
R |
the rank of reduced rank model |
p |
the number of covariates in the dimension reduction |
q |
the numbne of study covariates |
I |
a U by U incidence matrix with elements; I(i,j)=1 if state j can be accessed from state i in one step and 0 otherwise |
iniA |
initial value for the iteration |
eps |
the tolerance for convergence, default is 10^-5 |
refA |
a vector of reference categories |
a list of outputs:
NewA: the updated A matrix
loglikeA: the loglikelihood when updating A
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.