I'm trying to convert an matrix of weight in .gwt to STATA, however I'm having some problems.
I'm using the following commands:
ssc install sppack
spmat import myobj using municipios_2010_4v.GWT, geoda
spmat getmatrix myobj S
getmata (x*) = S ************ In this step is giving the error ****************
However, the last command is giving the following error:
x4755: float invalid
no room to add more variables
Up to 5,000 variables are currently allowed, although you could reset the maximum using
set maxvar; see help memory.
st_addvar(): 900 Stata returned error
post_variables_i_j(): - function returned error
post_variables_i(): - function returned error
post_variables(): - function returned error
get(): - function returned error
<istmt>: - function returned error
r(900);
What needs to be done to solve this problem?
Iappreciate any tipandhelp.
I'm using the following commands:
ssc install sppack
spmat import myobj using municipios_2010_4v.GWT, geoda
spmat getmatrix myobj S
getmata (x*) = S ************ In this step is giving the error ****************
However, the last command is giving the following error:
x4755: float invalid
no room to add more variables
Up to 5,000 variables are currently allowed, although you could reset the maximum using
set maxvar; see help memory.
st_addvar(): 900 Stata returned error
post_variables_i_j(): - function returned error
post_variables_i(): - function returned error
post_variables(): - function returned error
get(): - function returned error
<istmt>: - function returned error
r(900);
What needs to be done to solve this problem?
Iappreciate any tipandhelp.
Comment