Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Network analysis using nwcommands

    Dear All,

    I am trying to do some network analysis. I know that there are different packages, but nwcommands attracted my attention. I installed the package from github. Then I am trying to replicate some of the eamples in the help file. I typed:

    Code:
    webnwuse florentine
    However, Stata reports

    Code:
    webnwuse florentine
    command webnwuse is unrecognized
    r(199)
    I can see the help file for webnwuse, so I am sure it exists in my installation. So, I am wondering if I need to initialize this set of commands, before I start my analysis. Any suggestion about?

    Thanks in advance,

    Dario
    Last edited by Dario Maimone Ansaldo Patti; 23 May 2024, 04:00.

  • #2
    Maybe I found a solution. I downloaded the full set of commands included in nwcommands from https://github.com/ThomasGrund/nwcommands/archive/master.zip

    Then I copy all the files in C:\Users\dario\ado\plus\n, noticing that not all files were installed.
    Finally some ado files where under a wrong extention, something like "nwcommands-ado.pkg" (in particular this refers to almost all the files starting with nwcommands). Therefore, I renamed them using cmd.

    Now Stata can locate the file nwcommands if I type:

    Code:
    which nwcommands
    C:\Users\dario\ado\plus\n\nwcommands.ado
    However

    Code:
    which webnwuse
    command webnwuse not found as either built-in or ado-file
    But the file is where it should be!

    Click image for larger version

Name:	nwcommands.png
Views:	1
Size:	13.3 KB
ID:	1754260
    Last edited by Dario Maimone Ansaldo Patti; 23 May 2024, 04:39.

    Comment

    Working...
    X