View source: R/SM_output.logis_fe.R
SM_output.logis_fe | R Documentation |
logis_fe
objectProvide direct/indirect standardized ratios/rates for a fixed effect logistic model.
## S3 method for class 'logis_fe'
SM_output(
fit,
parm,
stdz = "indirect",
measure = c("rate", "ratio"),
null = "median",
threads = 2,
...
)
fit |
a model fitted from |
parm |
specifies a subset of providers for which confidence intervals are to be given.
By default, all providers are included. The class of |
stdz |
a character string or a vector specifying the standardization method(s). The possible values are:
|
measure |
a character string or a vector indicating whether the output measure is "ratio" or "rate"
|
null |
if |
threads |
an integer specifying the number of threads to use. The default value is 2. |
... |
additional arguments that can be passed to the function. |
A list contains standardized measures, as well as the observed and expected outcomes used for calculation,
depending on the user's choice of standardization method (stdz
) and measure type (measure
).
indirect.ratio |
standardization ratio using indirect method if |
direct.ratio |
standardization ratio using direct method if |
indirect.rate |
standardization rate using indirect method if |
direct.rate |
standardization rate using direct method if |
OE |
a list of data frames containing the observed and expected outcomes used for calculating standardized measures. |
He, K. (2019). Indirect and direct standardization for evaluating transplant centers. Journal of Hospital Administration, 8(1), 9-14.
data(ExampleDataBinary)
outcome = ExampleDataBinary$Y
covar = ExampleDataBinary$Z
ID = ExampleDataBinary$ID
fit_fe <- logis_fe(Y = outcome, Z = covar, ID = ID, message = FALSE)
SR <- SM_output(fit_fe, stdz = "direct", measure = "rate")
SR$direct.rate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.