Hi everyone,
I am new to Stata and Mata (please bear with me!). I just recently learned how to create adjacency matrices using mata. When I cross-checked the original data set with the matrix, I noticed that the matrix looked funny. All the ID numbers in the matrix are rounded to the nearest 100,000th (91600000 instead of 91578541). I adapted the code from UCLA ATS http://www.ats.ucla.edu/stat/stata/code/adj_matrix.htm. I would appreciate any insights.
Best,
Sarah Trinh
I am new to Stata and Mata (please bear with me!). I just recently learned how to create adjacency matrices using mata. When I cross-checked the original data set with the matrix, I noticed that the matrix looked funny. All the ID numbers in the matrix are rounded to the nearest 100,000th (91600000 instead of 91578541). I adapted the code from UCLA ATS http://www.ats.ucla.edu/stat/stata/code/adj_matrix.htm. I would appreciate any insights.
Best,
Sarah Trinh
Comment