Description Usage Arguments Value

Check the deviance of sifted and original data parameter estimates under a parametric model. Model specification is needed for the check.

1 2 3 4 5 6 7 | ```
betarate_g(
sdata,
oridata,
covtrue = c(10, 0.2, 5, 1, 2),
form = as.formula("Y~x1+x2+x3+visit+(1|ID)"),
family = gaussian(link = "identity")
)
``` |

`sdata` |
The Sifted data frame. |

`oridata` |
The original data frame. |

`covtrue` |
Ture or estimated coefficients of the target model. |

`form` |
Model formula according to "covtrue" order. |

`family` |
Family object to specify the link function for the outcome. |

covrate - Absolute deviance between the sifted and original coefficients over the absolute value of original coefficients.

covrate_t - Absolute deviance between the sifted and true coefficients over the absolute value of true coefficients.

covrate_ori_t - Absolute deviance between the original and true coefficients over the absolute value of true coefficients.

overlap - If the sifted and original CIs overlap.

trueinci - If the true coefficients are in the sifted CIs.

c1 - Confidence Intervals for the Sifted model.

trueinorici - If the true coefficients are in the original CIs.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.