company id year score outcome 1 1990 . . 1 1991 . . 1 1992 . . 1 1993 12 12 1 1994 . 12 2 1990 15 15 2 1991 . 15 2 1992 . 15 2 1993 17 17 2 1994 . 17 2 1995 19 19 2 1996 . 19 3 1990 15 15 3 1991 . 15 3 1992 . 15 3 1993 15 15 3 1994 . 15 3 1995 16 16 3 1996 . 16 Hi i have a dataset. column 1-3 that has company id, year, and score. i want to arrive at column4. column 3 only has 1990, 1993, 1995 data. i want to replace 1991, 1992 outcome with 1990 score. i want to replace 1994 outcome with 1993 score. i want to replace 1996 outcome with 1995 score. i think i have to use replace but cud u please help me? thank you!
... View more