Usage
gmmlogit(form,inst=NULL,winst=NULL,wmat=NULL,shpfile,
startb=NULL,startrho=0,blockid=0,cvcrit=.0001,data=NULL,silent=FALSE)
Arguments
inst
List of instruments not to be pre-multiplied by W. Entered as inst=~w1+w2 ...
Default: inst=NULL. See details for more information.
winst
List of instruments to be pre-multiplied by W before use. Entered as winst=~w1+w2 ...
Default: inst=NULL. See details for more information.
wmat
Directly enter wmat rather than creating it from a shape file. Default: not specified.
One of the wmat or shpfile options must be specified.
shpfile
Shape file to be used for creating the W matrix. Default: not specified. One of the wmat or shpfile options must be specified.
startb
Vector of starting values for B. Default: use estimates from splogit, the linearized version of the model.
Specified as startb=0.
startrho
Vector of starting values for $\rho$. Default: use estimates from splogit, the linearized version of the model.
Specified as startrho=0.
blockid
A variable identifying groups used to specify a block diagonal structure for the W matrix, e.g., blockid=state or blockid=region.
Imposes that all elements outside of the blocks equal zero and then re-standardizes W
cvcrit
Convergence criterion. Default: cvcrit = 0.0001.
data
A data frame containing the data. Default: use data in the current working directory
silent
If silent=T, no output is printed