Statistics for Stability analysis and optimal control of a time-fractional diffusion systems