Power And Probability Calculations In Longitudinal Outcome Measures And Image Analysis, With Applications To Biomedical Data