Statistics for Estimation for Linear and Semi-linear Infinite-dimensional Systems