Hi, please I have a dataset which is in this format (not real dataset)
I am trying to replace the "date last seen" with the midpoint for the "year last seen" (for example replacing observation 2 with - 01/06/2015).
Please are there any suggestions for an easy method to do this?
Thanks!
S/N | date last seen | year last seen | outcome |
1 | 19/05/2015 | 2015 | Alive |
2 | 2015 | 2015 | Alive |
4 | 2018 | Dead | |
5 | 21/06/2018 | 2018 | Dead |
6 | 2018 | Dead |
Please are there any suggestions for an easy method to do this?
Thanks!
Comment