Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: detecting repeated observations

From   Estrella Gomez <>
Subject   st: detecting repeated observations
Date   Mon, 14 Jan 2013 12:58:10 +0100


I am working with a database that contains music records. I would like
to detect observations in which the title is the same title but the
artist is different; for instance, "The power of love" is a song from
Celine Dion, but also from Huey Lewis & the News. I have tried this

list if title==title & artist!=artist

but reports nothing.

In addition, I would like to find observations with the same title but
different identifier; however,

list if title==title & id!=id

again reports nothing

Any idea?

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index