Stata Graph Library Quality Assurance
08/14/2011 update: Test do-files and C++ files uploaded.
NOTE: Materials provided here deal with Unix operating system, C++, and R, and thus having knowledge of these things would be helpful. The test do-files were used to produce results reported in section Function and performance testing of the SGL working paper.
Attachments:
rgraph.ado: Code to generate random graphs.
rsource.ado: Code written by Roger Newson that allows R programs to be written from within Stata.
test1b2.do: Test program for undirected unweigted networks.
test2b2.do: Test program for directed unweighted networks.
test3b2.do: Test program for undirected weighted networks.
test4b2.do: Test program for directed weighted networks.
test_max_flow.do: Test program for max-flow min-cut.
Important details:
The "b2" series test do-files all require rgraph.ado, rsource.ado, bgl.plugin, and R statistical package libraries sna and igraph.
test_max_flow.do requires rgraph.ado and test_max_flow.out.