| 1 |
Changes in Version 0.9-40 |
| 2 |
|
| 3 |
* bptest() now optionally also accepts a "weights" argument and processes |
| 4 |
weighted "lm" objects correctly (suggested by Robert Gulotty). |
| 5 |
|
| 6 |
* The degrees of freedom (df) in the default coeftest() method can now also |
| 7 |
be a vector of the same length as the coefficients. |
| 8 |
|
| 9 |
|
| 10 |
Changes in Version 0.9-39 |
| 11 |
|
| 12 |
o Small improvements in handling of "df" attribute in coeftest() methods. |
| 13 |
|
| 14 |
o In case update() is called within the default waldtest() method, it tries |
| 15 |
harder to evaluate this in the calling environment (reported by Vincent |
| 16 |
Arel-Bundock). This is still not guaranteed to find the right data but |
| 17 |
should be more robust than the previous implementation. To avoid any such |
| 18 |
issues it is recommended to call waldtest(object1, object2) and fitted |
| 19 |
model objects (and not just update formulas). |
| 20 |
|
| 21 |
|
| 22 |
Changes in Version 0.9-38 |
| 23 |
|
| 24 |
o coeftest.default() now includes attributes for "nobs" and "logLik" provided |
| 25 |
that nobs() and logLik() extractors are available. This is in order to |
| 26 |
facilitate model summaries a la broom::glance for "coeftest" objects |
| 27 |
(suggested by Grant McDermott). The attributes can be extracted again |
| 28 |
from the coeftest object with nobs() and logLik(), respectively. |
| 29 |
|
| 30 |
o Optionally, the entire original model object x is saved as an attribute |
| 31 |
"object" in coeftest(x, save = TRUE). Like nobs/logLik above, this should |
| 32 |
also facilitate model summaries. |
| 33 |
|
| 34 |
o waldtest.default() is stricter about detecting non-nestedness of models, |
| 35 |
e.g., when under the alternative variables are added but the intercept |
| 36 |
dropped. |
| 37 |
|
| 38 |
o waldtest.lm() now uses . ~ 0 as the default reference model if waldtest(object) |
| 39 |
tests an object without intercept (suggested by Kevin Tappe). |
| 40 |
|
| 41 |
|
| 42 |
Changes in Version 0.9-37 |
| 43 |
|
| 44 |
o coeftest() gained a "df" attribute facilitating subsequent processing |
| 45 |
of its output, e.g., for computing the corresponding confidence intervals. |
| 46 |
Suggested by Alex Hayes in https://github.com/tidymodels/broom/issues/663. |
| 47 |
|
| 48 |
o Based on the new "df" attribute of "coeftest" objects, a method for |
| 49 |
confint() is added. confint(coeftest(object, ...)) should match the output |
| 50 |
of coefci(object, ...). |
| 51 |
|
| 52 |
o Based on the new "df" attribute of "coeftest" objects, a method for |
| 53 |
df.residual() is added. df.residual(coeftest(object, ...)) returns NULL |
| 54 |
if a normal (rather than t) approximation was used in |
| 55 |
coeftest(object, ...) even if df.residual(object) returned something |
| 56 |
different. |
| 57 |
|
| 58 |
|
| 59 |
Changes in Version 0.9-36 |
| 60 |
|
| 61 |
o resettest() gained a vcov and ... argument that - if present - are |
| 62 |
passed to waldtest() to carry out the F test. This enables the |
| 63 |
usage of robust sandwich covariances etc. |
| 64 |
|
| 65 |
o Various documentation improvements suggested by Kevin Tappe. |
| 66 |
|
| 67 |
o Added native routine registration for pan.f. |
| 68 |
|
| 69 |
|
| 70 |
Changes in Version 0.9-35 |
| 71 |
|
| 72 |
o Added a new function coefci() to accompany coeftest() for computing |
| 73 |
the Wald confidence intervals for coefficients, e.g., based on |
| 74 |
sandwich covariances. |
| 75 |
|
| 76 |
o The default coeftest() method -- and also coefci() -- now pass the |
| 77 |
... arguments on to the vcov.() function argument (if any). |
| 78 |
|
| 79 |
o Fixed bug in bptest() for degrees-of-freedom calculation when |
| 80 |
some regressors are aliased/collinear. Reported by Amrei Luise |
| 81 |
Stammann. |
| 82 |
|
| 83 |
o Various documentation improvements suggested by Kevin Tappe. |
| 84 |
|
| 85 |
|
| 86 |
Changes in Version 0.9-34 |
| 87 |
|
| 88 |
o Registered all default methods as S3 methods (in addition to fully |
| 89 |
exporting them). |
| 90 |
|
| 91 |
o Reference output updated for recent versions of R. |
| 92 |
|
| 93 |
|
| 94 |
Changes in Version 0.9-33 |
| 95 |
|
| 96 |
o Extended license to GPL-2 or GPL-3. |
| 97 |
|
| 98 |
o To make resettest() results numerically more reliable (especially |
| 99 |
for type = "fitted" when the fitted mean is large), the response |
| 100 |
is internally scaled. |
| 101 |
|
| 102 |
o The default coeftest() method checks whether coef() and vcov() |
| 103 |
output has unique names (which they may not have for some model |
| 104 |
classes, e.g., sampleSelection::selection). |
| 105 |
|
| 106 |
|
| 107 |
Changes in Version 0.9-32 |
| 108 |
|
| 109 |
o Small improvements in residual degrees of freedom computation |
| 110 |
within default waldtest() method. |
| 111 |
|
| 112 |
o Updated Imports/Suggests to conform with current R CMD check. |
| 113 |
|
| 114 |
|
| 115 |
Changes in Version 0.9-31 |
| 116 |
|
| 117 |
o Included Farebrother/Cummins as "aut" in DESCRIPTION for pan.f |
| 118 |
Fortran code. |
| 119 |
|
| 120 |
o Made starting values in the auxiliary regression of bgtest() |
| 121 |
optional. By default still 0, but could also be NA. |
| 122 |
|
| 123 |
o Avoid spurios errors about missing nobs() methods in lrtest(). |
| 124 |
|
| 125 |
|
| 126 |
Changes in Version 0.9-30 |
| 127 |
|
| 128 |
o coeftest(), lrtest(), and waldtest() can now also be used for |
| 129 |
S4 objects provided that methods to the corresponding S4 generics |
| 130 |
from stats4 are supplied. |
| 131 |
|
| 132 |
o Added output of examples and vignettes as .Rout.save for |
| 133 |
R CMD check. |
| 134 |
|
| 135 |
o Moved vignette to "vignettes" directory in source package. |
| 136 |
|
| 137 |
|
| 138 |
Changes in Version 0.9-29 |
| 139 |
|
| 140 |
o dwtest() now catches weighted regressions and throws an error |
| 141 |
because weighted regressions are not supported (yet). |
| 142 |
|
| 143 |
o bgtest() now returns an object of class "bgtest" (inheriting from |
| 144 |
"htest"). This has coef(), vcov() and df.residual() methods |
| 145 |
- and thus enable calling coeftest() - to show the results of the |
| 146 |
auxiliary regression. |
| 147 |
|
| 148 |
|
| 149 |
Changes in Version 0.9-28 |
| 150 |
|
| 151 |
o Fixed typo in print output of dwtest() for two-sided alternatives. |
| 152 |
|
| 153 |
o Fixed problem in coeftest() method for "breakpointsfull" objects |
| 154 |
(from strucchange). The vcov() method was not called correctly, |
| 155 |
resulting in an error. |
| 156 |
|
| 157 |
|
| 158 |
Changes in Version 0.9-27 |
| 159 |
|
| 160 |
o Modified grangertest() default method to workaround a bug |
| 161 |
in as.zoo(). |
| 162 |
|
| 163 |
|
| 164 |
Changes in Version 0.9-26 |
| 165 |
|
| 166 |
o added coeftest() method for "mlm" objects |
| 167 |
(needed for matching coef() output to vcov() method) |
| 168 |
|
| 169 |
|
| 170 |
Changes in Version 0.9-25 |
| 171 |
|
| 172 |
o enhanced documentation for new Rd parser. |
| 173 |
|
| 174 |
|
| 175 |
Changes in Version 0.9-24 |
| 176 |
|
| 177 |
o Added new specification test: PE test for linear vs. |
| 178 |
log-linear specification in linear regressions is |
| 179 |
now available as petest(). |
| 180 |
|
| 181 |
|
| 182 |
Changes in Version 0.9-23 |
| 183 |
|
| 184 |
o enhanced documentation for new Rd parser. |
| 185 |
|
| 186 |
|
| 187 |
Changes in Version 0.9-22 |
| 188 |
|
| 189 |
o included lmtest.bib in inst/doc for vignette. |
| 190 |
|
| 191 |
o removed \itemize in .Rd files for new R-devel. |
| 192 |
|
| 193 |
|
| 194 |
Changes in Version 0.9-21 |
| 195 |
|
| 196 |
o corrected degrees of freedom for bgtest(..., type = "F") |
| 197 |
(bug spotted by Oscar Becerra). |
| 198 |
|
| 199 |
|
| 200 |
Changes in Version 0.9-20 |
| 201 |
|
| 202 |
o fixed error in Mandible data. Mandible[158,2] was 34 but |
| 203 |
should really be 37 (see Table 1 in Royston & Altman 1994). |
| 204 |
Spotted by Christian Ritz. |
| 205 |
|
| 206 |
|
| 207 |
Changes in Version 0.9-19 |
| 208 |
|
| 209 |
o changed the default behaviour of waldtest.default(): |
| 210 |
Chisq test (instead of F test) is now used by default |
| 211 |
which is more sensible for most models (with linear |
| 212 |
models as a notable exception). |
| 213 |
|
| 214 |
o added waldtest.lm() method that switches the default |
| 215 |
test back to F test (instead of Chisq test). |
| 216 |
|
| 217 |
|
| 218 |
Changes in Version 0.9-18 |
| 219 |
|
| 220 |
o forgot to export print() method for "coeftest" objects |
| 221 |
|
| 222 |
|
| 223 |
Changes in Version 0.9-17 |
| 224 |
|
| 225 |
o added NAMESPACE |
| 226 |
|
| 227 |
o improved dependency declaration in DESCRIPTION |
| 228 |
|
| 229 |
|
| 230 |
Changes in Version 0.9-16 |
| 231 |
|
| 232 |
o updated all .rda data sets to RDX2 |
| 233 |
|
| 234 |
o enhanced sanity checking in dwtest() |
| 235 |
|
| 236 |
|
| 237 |
Changes in Version 0.9-15 |
| 238 |
|
| 239 |
o new generic with flexible default method for lrtest(), |
| 240 |
implementing asymptotic likelihood ratio tests. This works |
| 241 |
if a logLik() method is provided and suitable methods for |
| 242 |
updating models and checking consistency. |
| 243 |
|
| 244 |
o simplified print output in coeftest() |
| 245 |
|
| 246 |
|
| 247 |
Changes in Version 0.9-14 |
| 248 |
|
| 249 |
o now a default method for waldtest() is provided (replacing the |
| 250 |
lm method). It works for "lm", "glm" and "survreg" objects. |
| 251 |
Furtheremore, it is object-oriented and generally works if the |
| 252 |
following methods are available: terms(), formula(), coef() (which |
| 253 |
needs to be named, matching the names in terms() and vcov()), |
| 254 |
vcov() (which can alternatively be user-supplied), df.residual(), |
| 255 |
residuals() and update() (unless only fitted objects are supplied). |
| 256 |
|
| 257 |
o the default coeftest() was enhanced, works now out of the box for |
| 258 |
"mle" objects, a "survreg" method is added (needed because coef() |
| 259 |
and vcov() do not necessarily match for "survreg" objects). |
| 260 |
|
| 261 |
o the vcov argument was changed (almost) everywhere to vcov. to |
| 262 |
avoid name clashes with the vcov() function. |