gof-dr4pl: Perform the goodness-of-fit (gof) test for the 4PL model.
Description
Perform the goodness-of-fit (gof) test for the 4PL model when there
are at least two replicates for each dose level.
Usage
# S3 method for dr4pl
gof(object, n.signif.digit = 4, ...)
Arguments
object
An object of the dr4pl class.
n.signif.digit
Number of significant digits after the decimal point to be
printed. The default value is 4, but users can change the value on their own.
...
dots for future extensions
Value
A list of results in the order of a F-statistic value, p-value and a
degree of freedom.
Details
Perform a goodness-of-fit (gof) test for the goodness of the 4PL models
for dose-response data. There should be at least two replicates at each dose
level. The test statistic follows the F distribution with degress of freedom
(n - 4) and (N - n) where N stands for the total number of observations and n
stands for the number of dose levels. For detailed explanation of the method,
please refer to Subsection 2.1.5 of Seber and Wild (1989).
# NOT RUN {obj.dr4pl <- dr4pl(Response ~ Dose, data = sample_data_4) # Fit a 4PL model to datagof(obj.dr4pl) # Print the goodness-of-fit test results# }