[R-sig-ME] Comparing two models with different sample sizes

Thierry Onkelinx th|erry@onke||nx @end|ng |rom |nbo@be
Wed Oct 6 09:24:25 CEST 2021

No. The likelihood of a model is given the data. Only compare models based
on the same data. Therefore make sure there are no missing values in the
covariates when comparing models. When na.action = na.omit the model will
silently ignore observations with missing values a covariate.

ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx using inbo.be
Havenlaan 88 bus 73, 1000 Brussel

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey


Op wo 6 okt. 2021 om 07:44 schreef Simon Harmel <sim.harmel using gmail.com>:

> Dear Colleagues,
> I had to remove three extremely outlying (in terms of residuals, cook's
> distances, and hat values) observations from my model.
> Now, can I compare the fit of my initial model that has three more
> observations with my outlier-corrected model using AICc?
> Thanks,
> Simon
>         [[alternative HTML version deleted]]
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

	[[alternative HTML version deleted]]

More information about the R-sig-mixed-models mailing list