Fixed the description file: NeedsCompilation is now set to “no”.
Updated the reference to the main article.
Fixed the ptsr.link function. Now both derivatives corresponding to the identity link return a vector of ones with the same size of the function’s argument.
Fixed an error: Inside the function predict.ptsr, the argument xreg was not being passed to the internal function “.ptsr.predict.”.
Fixed an error: in the internal function “.ptsr.predict.”, the MA lags were incorrectly specified. This was causing an error in the prediction for some models.
Release date: 2022-02-08
Added check for infinity and NAN in the log-likelihood function. Now, “Inf” and “NAN” are replaced by 2.2e+10 and “-Inf” is replaced by -2.2e+10 avoiding issues with the optim function.
Added an internal function to calculate the numerical hessian. This function is only used if the inversion of the output of numDeriv::hessian fails.
Release date: 2022-02-01