running the test case example with estimated df nobs = 60 df_resid = 58 df_model = 1 ok 1 explanatory variable df_null would be 3, 3 parameters constant, scale and df k_params = df_model + constant + 2 (extra) = 4 however also nparams looks wrong, it only count exog, not + 2 extra res.model.nparams, res.model.k_params, len(res.params) (2, 4, 4) It could be that I messed this up during refactoring of GenericLikelihoodModel, no unit tests for it in miscmodels.
Activity
josef-pkt commentedon Sep 30, 2021
it looks like unit tests are against https://cran.r-project.org/web/packages/hett/index.html
R commands are in test results module, but doesn't mention the package
I think under full MLE and asymptotic normal distribution, df_resid is not used anywhere.
aic, bic might be wrong.
josef-pkt commentedon Dec 5, 2022
fixed in #8476