gof.dr4pl: Perform the goodness-of-fit (gof) test for the 4PL model.

Description Usage Arguments Details Value References Examples

View source: R/auxiliary.R

Description

Perform the goodness-of-fit (gof) test for the 4PL model when there are at least two replicates for each dose level.

Usage

1
gof.dr4pl(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.

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).

Value

A list of results in the order of a F-statistic value, p-value and a degree of freedom.

References

\insertRef

Seber1989dr4pl

Examples

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

dr4pl documentation built on Oct. 7, 2019, 5:05 p.m.