I express my gratitude to my supervisor, Mattias Villani, for his patience and support over the years since the very beginning of this journey. Learning the know-how of Bayesian modeling with him has been a privilege. I am grateful for his persistence in going beyond the call of duty to get the most out of every model and paper. Many thanks also to my co-supervisor, Augusto Voltes-Dorta, for useful discussions and support.The Division of Statistics and Machine Learning (STIMA) and the Department of Computer and Information Science (IDA) provided a nice and stable academic environment that I have really enjoyed. I am particularly grateful to Oleg Sysoev, José Peña, Jolanta Pielaszkiewicz and Fredrik Lindsten for their advice and support. The administrative staff in general, and Anne Moe and Karin Baardsen in particular, have done an excellent job throughout my studies. I also acknowledge the Knut and Alice Wallenberg Foundation for funding my doctorate through the WASP program.Since we met in late 2017 through WASP, John Törnblom has been my best friend here in Linköping. I am grateful for all the coffees, beers, concerts, and long conversations that made my time here more fun. Felipe Boeira supported me as well with his Brazilian cheerfulness and willingness to join to any non-academic activity. I also thank my fellow WASP PhD student, Caroline Svahn, for the many fikas and walks. Sarah Alsaadi was kind and supportive from the start, as well as Per Sidén and Josef Wilzén. Special thanks to the Ljusgården's PhD and postdoc gang, including