Description Usage Arguments Value Author(s) References Examples
This function provides the changes over time of the final size and turning point estimates (for specific models and model average) from the time point required until the last time point available. The output of the function are two tables, one for final size and the other for turning point. the rows represent the data used for the estimation of the model parameters.
1 2 | ## Object of the S3 class dengue
changetimeFSTP(inc, time, ini, start = NULL)
|
inc,time |
Vector of equal length specifying incidence (number of reported cases per time unit) and time interval (from the start of outbreak). |
ini |
Time point from which is required to see the changes over time of the final size and turning point estimates |
start |
A list with the starting values of the model to be used for fitting the data. If model="all" the imput must be a list of a list with the starting values of Richards, 3P logistic, Sigmoid Emax, Gompertz, Weibull and 5P logistic model parameters. By default, the initial values are provided by self-starting functions. |
An object with the changes over time of the final size and turning point estimates for specific models and model average. It is a list:
Incidence |
All the available incidences |
Time |
All the available time points |
Period |
Time period required to see the changes over time of the final size and turning point estimates |
FSchangetime |
A Table with the changes over time of the final size for the time period required |
TPchangetime |
A Table with the changes over time of the turning point for the time period required |
function.type |
Name of the function |
model.type |
models used to estimate |
Generic functions such as plot and summary have methods to show the results of the fit.
Carlos Sebrango, Lizet Sanchez, Ziv Shkedy
K. Burnham, D. R. Anderson, Model Selection and Multimodel Inference: A Practical Information-theoretic Approach,
2nd Edition, Springer-Verlag, New York, 2002.
G. Claeskens, N. L. Hjort, Model selection and model averaging, Cambridge University Press, 2008.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
## (data example 2)
data("dengueoutbreak2")
##Time point from which is required to see the changes over time
##of the final size and turning point estimates:20
t2<-changetimeFSTP(dengueoutbreak2$Incidence,dengueoutbreak2$Time,20)
##summary function for changetimeFSTP object
summary(t2)
## plot function for changetimeFSTP object
plot(t2,which=c(5,6))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.