Announcement

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

  • Jaccard save data error

    Hello,

    I am trying to use the new Jaccard function written by Nick Cox to save some jaccard data however I am receiving an error.

    jaccard sk_2013_*, savedata(\jaccard.dta)

    I have 266 variables that I want to compare. The graph produces ok, but saving the data does not work.

    I get the following error:

    invalid 'N'
    r(198);


    I then tried with two variables:

    . jaccard sk_2013_1111 sk_2013_1122 , savedata(jaccard.dt
    > a)

    +---------------------------------------------------------------+
    | intersection union Jaccard |
    |---------------------------------------------------------------|
    1. | sk_2013_1111 sk_2013_1111 39 39 1 |
    2. | sk_2013_1111 sk_2013_1122 10 56 .1785714 |
    |---------------------------------------------------------------|
    3. | sk_2013_1122 sk_2013_1111 10 56 .1785714 |
    4. | sk_2013_1122 sk_2013_1122 27 27 1 |
    +---------------------------------------------------------------+
    invalid 'N'
    r(198);

    end of do-file

    r(198);



  • #2
    I don't know how to delete this post, but I solved it. There was an issue with the file path.

    Comment


    • #3
      No way or need for you to delete the post. Thanks for the closure.

      Comment

      Working...
      X