
The function GridP returns a vector with the interval limits (breaks) for the baseline failure rate of the PEM.
GridP(Yt, Event, nT = NULL)
is a vector with the failure/censored times.
is a censoring indicator (a vector).
is the number of intervals/breaks. Optional argument. If nT==NULL, it is built one interval per failure is built.
a vector with the interval limits (breaks).
Typical usages are
GridP(Yt, Event, nT = NULL)
Gamerman, D., Santos, T. R., and Franco, G. C. (2013). A Non-Gaussian Family of State-Space Models with Exact Marginal Likelihood. Journal of Time Series Analysis, 34(6), 625-645.
Santos T. R., Gamerman, D., Franco, G. C. (2017). Reliability Analysis via Non-Gaussian State-Space Models. IEEE Transactions on Reliability, 66, 309-318.
# NOT RUN {
library(NGSSEML)
data(gte_data)
Yt=gte_data$V1
Xt=NULL
Zt=NULL
model="PEM"
amp=FALSE
Event=gte_data$V2
Break=GridP(Yt, Event, nT = NULL)
# }
Run the code above in your browser using DataLab