fit | R Documentation |
Generic function
fit(object)
object |
Depending on the class of |
Generic Function
The five fit measurements defined below are based on the most common sampled within period changepoint vector:
Log of the marginalised sampling distribution and segment prior distributions. This is used in the core of the PeriodCPT algorithm.
Log of maximum value from the sampling distribution and segment prior distributions. This point corresponds to the posterior mode of the segment parameters.
Log of the integrated sampling distribution over the segment parameters.
Log of the sampling distribution evaluated at the segment parameter posterior mode.
Log of the maximum value of the sampling distribution. This corresponds to evaluation at the maximum likelihood values.
All the above measures are multiplied by -2 to give the returned fit values.
Depends on the calss of object
, see individual methods
Simon Taylor Rebecca Killick
fit-methods
x = new("pcpt") # new pcpt object
fit(x) = 100
fit(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.