R/Pk.us.R

Defines functions Pk.us

Pk.us <- function(CIF, data, bl) {
  p1a <- nrow(data$Sig) - 1
  b <- as.vector(bl[1:p1a])
  w <- bl[p1a+1]
  CIF/exp(-data$CH01*exp(data$X2%*%data$gamma1 + data$alpha1%*%b + data$nu1*w)-
            data$CH02*exp(data$X2%*%data$gamma2 + data$alpha2%*%b + data$nu2*w)
  )
  
}

Try the JMH package in your browser

Any scripts or data that you put into this service are public.

JMH documentation built on June 22, 2024, 7:08 p.m.