Description Usage Arguments Details Value References Examples
Perform the goodness-of-fit (gof) test for the 4PL model when there are at least two replicates for each dose level.
1 | gof.dr4pl(object, n.signif.digit = 4)
|
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. |
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).
A list of results in the order of a F-statistic value, p-value and a degree of freedom.
Seber1989dr4pl
1 2 | obj.dr4pl <- dr4pl(Response ~ Dose, data = sample_data_4) # Fit a 4PL model to data
gof.dr4pl(obj.dr4pl) # Print the goodness-of-fit test results
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.