confint.linear_fe {pprof} | R Documentation |
Get confidence intervals for provider effects or standardized measures from a fitted linear_fe
object
Description
Provide confidence intervals for provider effects or standardized measures from from a fixed effect linear model.
Usage
## S3 method for class 'linear_fe'
confint(
object,
parm,
level = 0.95,
option = "SM",
stdz = "indirect",
null = "median",
alternative = "two.sided",
...
)
Arguments
object |
a model fitted from |
parm |
specify a subset of providers for which confidence intervals are given.
By default, all providers are included. The class of |
level |
the confidence level. The default value is 0.95. |
option |
a character string specifying whether the confidence intervals should be provided for provider effects or standardized measures:
|
stdz |
a character string or a vector specifying the standardization method
if |
null |
a character string or a number specifying the population norm for calculating standardized measures
if |
alternative |
a character string specifying the alternative hypothesis, must be one of
|
... |
additional arguments that can be passed to the function. |
Value
A list of data frames containing the confidence intervals based on the values of option
and stdz
.
CI.gamma |
Confidence intervals for provider effects if |
CI.indirect |
Confidence intervals for indirect standardized differences if |
CI.direct |
Confidence intervals for direct standardized differences if |
Examples
data(ExampleDataLinear)
outcome <- ExampleDataLinear$Y
covar <- ExampleDataLinear$Z
ProvID <- ExampleDataLinear$ProvID
fit_linear <- linear_fe(Y = outcome, Z = covar, ProvID = ProvID)
confint(fit_linear)