Functional regression models for the prediction of Covid-19