Hi every body,
I would like to import a distance matrix in stata which is already constructed. So, I try to use spmat command;
My matrix is in a csv (and txt) files with value which are separated by space as recommended in the help file.
I'm using the following command:
spmat import nameofmymatrix using nameofmyfiles.txt/csv, replace
However, I have the following error message: Error in line 1 of file dfa.txt: Invalid bands
I do not understand the problem...
Thank you very much for your help,
Best regards,
Thomas
I would like to import a distance matrix in stata which is already constructed. So, I try to use spmat command;
My matrix is in a csv (and txt) files with value which are separated by space as recommended in the help file.
I'm using the following command:
spmat import nameofmymatrix using nameofmyfiles.txt/csv, replace
However, I have the following error message: Error in line 1 of file dfa.txt: Invalid bands
I do not understand the problem...
Thank you very much for your help,
Best regards,
Thomas
Comment