Four years ago, almost to the day, I started my PhD period at the University of Oslo. I was excited, but also slightly worried. With my background in applied statistics and biology from the Norwegian University of Life Science (NMBU), I felt a certain awe upon entering the Department of Mathematics. Looking back I can attest that my worries were not misguided, the PhD process has partly been difficult. I had much more to learn than I anticipated, and during the first two years I considered giving up multiple times. Luckily, I stayed, and I have been rewarded with a much deeper and broader understanding of the field of statistics than I started out with. The original plans for this thesis were somewhat different from the final result. They were primarily concerned with ideas related to the last paper in this thesis, Paper IV. Eventually, other ideas emerged and caught our interest, sometimes originating from applied problems, for example leading to Papers II and III. However, in all these papers, similar methods came into use, and I therefore maintain that I did not stray too far from the intended path. My main supervisor, Nils Lid Hjort, has played an important role in this thesis. He has been a great support throughout the process; helpful and always enthusiastic. Importantly, he has encouraged me to pursue various activities outside of 'regular' PhD work, for example the writing of blog posts, which has led to a number of popular science talks. Also, Nils is the leader of the FocuStat group, and I am very grateful for having been part of such an active and close-knit research group. My deep thanks to all FocuStat members for a large number of interesting discussions and pleasant company. I am also very grateful to my other co-authors, Gudmund Horn Hermansen, Lars Walløe and Håvard Mokleiv Nygård. Lars, in particular, gave me the opportunity to present and defend my work at the Scientific Committee of the International Whaling Commission. Thanks to my co-supervisor Bo Lindqvist for pleasant conversations and meetings, most memorably at the ISI World Statistics Congress in Marrakech. I first learnt to love statistics at NMBU, for this I owe particular thanks to Trygve Almøy and Solve Saebø. Further, I am very grateful to professor Sylvia Richardson at the MRC Biostatistical Unit in Cambridge, where I was a visitor for the autumn semester in 2017, and to all the PhD students at the BSU for making my stay so pleasant and memorable. Special thanks to all colleagues at UiO, particularly the PhD students. Finally, I am grateful to friends and family for filling my life with joy and distractions. Particularly Jonas, for numerous discussions on statistical topics and great support, especially in the final weeks before submission; Sigrun, my oldest and best friend; my parents Josiane and Per Axel, for their help and encouragement; and my dear siblings, Christophe and Mélanie.