 The psychologist Larry (Bill Daily) was Bob Newharts next door  neighbor on The Bob Newhart Show, where Bob played a psychologist.  In addition, his patient on this episode, Mr. Carlin(Jack Riley),  was Bobs patient as well.