…ixed the specific lines as per the comments, Removed function onecyclebackfit as it was only necessary using do-untill and Replaced RSS = zeros() initially untill first iteration, In calculation of Margin of error for intervals, Instead of calculating the variance of the whole training set, variance is now calculated by var = sqrt (SD) for each point.
…ixed the specific lines as per the comments, Removed function onecyclebackfit as it was only necessary using do-untill and Replaced RSS = zeros() initially untill first iteration, In calculation of Margin of error for intervals, Instead of calculating the variance of the whole training set, variance is now calculated by var = sqrt (SD) for each point.