Announcement

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

  • Identifying variables that serve as unique identifiers

    Hello everyone


    I want to write a program that accepts numeric and string variables as input, that works for arbitrary number of variables, identifies unique values of each variable, displays variable/s that uniquely identify/ies observations and that also works if two or more variables are unique identifiers.

    Any idea ?

    Kind regards

    Johann

  • #2
    See the built-in commands -isid-, -duplicates-, and -levelsof-, any of which might be of use to you here.. The user-written -distinct- might also be relevant. I don't suspect it's necessary to write a program.

    Comment

    Working...
    X