Smoothing Functional Data with a Bayesian Hierarchical Model and Robust Fitting of a Weibull Model with Optional Censoring