Description Usage Arguments Value Author(s) See Also Examples
Function for checking that Relative Risk rr
equals
1
when evaluated in 0
.
1 | check.rr(X, thetahat, rr, tol = 1e-08)
|
X |
Random sample (data.frame) which includes exposure and covariates. or sample mean if approximate method is selected. |
thetahat |
Estimator (vector or matrix) of |
rr |
Function for Relative Risk which uses parameter
|
tol |
Tolerance for concluding numeric equality. |
boolean Indicating TRUE
if relative risk rr
is as desired.
Rodrigo Zepeda-Tello rzepeda17@gmail.com
Dalia Camacho-GarcĂa-FormentĂ daliaf172@gmail.com
check.confidence
, check.thetas
,
check.cft
, check.xvar
,
check.exposure
, check.integrals
1 2 3 | X <- data.frame(rnorm(100))
rr <- function(X, theta){exp(X*theta)}
check.rr(X, 1, rr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.