Description Usage Arguments Value
This function is used to update G matrix
1 |
A |
numeric matrix |
Gdata |
the dataset used to update G |
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 |
refG |
a vector of reference categories |
a list of outputs:
NewG: the updated G matrix
loglikeK: the loglikelihood when updating G
sderr: standard errors for the coefficient matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.