-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mselect results not consistent with modelFit - LOF only 0 #31
Comments
With mselect() you can get LOFs only if you add the argument 'nested = T'. See the code below:
Considering the output, the LOFs are OK, while it is more difficult to understand what the nested F tests are. Indeed, nested F tests make sense only for the LL.3() and LL.5() models, which are, indeed, nested with LL.4() (I mean, LL3 is nested within LL.4 and LL.4 is nested within LL.5).
I do not know what the nested F test is for the model W2.4(), which is not nested with any other models... |
Dear drc-Team,
for some reason,
mselect()
only returns 0 values for the LOF (Lack of fit) when comparing multiple models. However, when I am runningmodelFit()
I get p values clearly above the sign. threshold of 0.05.To reproduce the error I used the ryegrass dataset as shown below:
From my understanding of the mselect() and modelFit() function the computation of the Lack of fit values is based on a more general ANOVA model. Hence it should return similar p-values, shouldn't it?
I am using drc package version 3.2.0 and R version 4.2.1 on a Windows System.
The text was updated successfully, but these errors were encountered: