Dear all,
I'm generating a spatial weighting matrix from mata and would like to create an Sp spatial matrix. I explored that " spmatrix spfrommata Wnew= W v" could copy a matrix from Mata to an Sp spatial weighting matrix.
But then an error shows: command spmatrix is unrecognized .
Then I tried "spmat spfrommata Wnew= W v" , an error shows again: spfrommata unknown subcommand
I tried to install this command but could not find the installation package. Does anyone know anything about this command? I'm using STATA 14. Thank you very much!
I'm generating a spatial weighting matrix from mata and would like to create an Sp spatial matrix. I explored that " spmatrix spfrommata Wnew= W v" could copy a matrix from Mata to an Sp spatial weighting matrix.
But then an error shows: command spmatrix is unrecognized .
Then I tried "spmat spfrommata Wnew= W v" , an error shows again: spfrommata unknown subcommand
I tried to install this command but could not find the installation package. Does anyone know anything about this command? I'm using STATA 14. Thank you very much!
Comment