Doubly truncated data analysis