| Gupdate {RRMLRfMC} | R Documentation | 
Gupdate
Description
This function is used to update G matrix
Usage
Gupdate(A, Gdata, p, q, I, refG)
Arguments
| 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 | 
Value
a list of outputs:
- NewG: the updated G matrix 
- loglikeK: the loglikelihood when updating G 
- sderr: standard errors for the coefficient matrix 
[Package RRMLRfMC version 0.4.0 Index]