betarate_g: Sifted Data Utility Check

Description Usage Arguments Value

View source: R/betarate_g.R

Description

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

Usage

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")
)

Arguments

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.

Value


SOCR/DataSifterII documentation built on Dec. 15, 2021, 10:29 a.m.