Description Usage Arguments Value Author(s)
Fits semiparametric pairwise regression models for infectious disease transmission using right-censored and/or left-truncated data on contact intervals in ordered pairs of individuals and infectious contact from external sources with individuals. Uses the Cox relative risk function. External sources of infection are handled by stratifying on an external row indicator.
1 2 3 4 5 6 7 8 9 10 11 12  | 
formula | 
 A formula of the form "response ~ terms". The response 
must be an object returned by   | 
sus | 
 A string giving the name of the variable in   | 
data | 
 A data frame containing the variables named in   | 
weights | 
 A vector of infector probabilities for the data rows. If 
who-infected-whom is not completely observed, these will be updated in an
EM algorithm. If missing, all possible infectors of each susceptible are
given equal initial weights. If who-infected-whom is observed, the weights 
are passed to   | 
subset | 
 An expression indicating which rows of   | 
na.action | 
 A missing-data filter applied to   | 
itermax | 
 The maximum number of EM algorithm iterations if who-
infected-whom is not completely observed. Setting   | 
L1tol | 
 The EM algorithm stops when the L1 distance between the old and 
new weights is below   | 
... | 
 Further arguments to be passed to   | 
method | 
 The method used to generate a monotonic cubic interpolating 
spline for the cumulative hazard. Options are   | 
A list of class transph with the following components:
callThe call to transph with complete formal 
arguments.
coefficientsThe estimated coefficients.
coxphThe coxph object returned by 
the final Cox regression.
dataThe data used to fit the model.
dfThe number of estimated coefficients.
formulaThe model formula.
iterThe number of iterations. It is one for a model in which who-infects-whom is completely observed. Otherwise, it is the number of EM algorithm iterations (including the initial model).
L1tolThe L1 tolerance per transmission event used to halt the EM algorithm.
loglikThe loglik element in the 
coxph.object returned by the final Cox 
regression, which contains the log partial likelihood at the 
initial coefficient values and the fitted coefficient values. For a 
null model, only the first element is present. This is NA when 
who-infected-whom is not completely observed.
smooth_methodThe method element in the 
coxph.object returned by the final Cox 
regression, which is the name of approximation used to handle ties.
spline_dfThe degrees of freedom in the smoothing spline used to calculate the contact interval hazard function(s).
susThe vector identifying the susceptible member of each #' pair in the data used to fit the model.
varThe covariance matrix for the coefficient estimates. #' The rows and columns are named for the corresponding covariates.
weightsThe final vector of estimated infector probabilities.
ymatThe outcome matrix returned by 
Surv
.
Eben Kenah kenah.1@osu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.