View source: R/summary.logis_fe.R
summary.logis_fe | R Documentation |
logis_fe
objectProvide the summary statistics for the covariate estimates for a fixed effect logistic model.
## S3 method for class 'logis_fe'
summary(
object,
parm,
level = 0.95,
test = "wald",
null = 0,
alternative = "two.sided",
...
)
object |
a model fitted from |
parm |
Specifies a subset of covariates for which the result summaries should be output. By default, all covariates are included. |
level |
the confidence level during the hypothesis test, meaning a significance level of |
test |
a character string specifying the type of testing method. The default is "wald".
|
null |
a number defining the null hypothesis for the covariate estimates. The default value is |
alternative |
a character string specifying the alternative hypothesis when |
... |
additional arguments that can be passed to the function. |
A data frame containing summary statistics for covariate estimates, with the following columns:
Estimate |
the estimates of covariate coefficients. |
Std.Error |
the standard error of the estimate, included only when |
Stat |
the test statistic. |
p value |
the p-value for the hypothesis test. |
CI.upper |
the lower bound of the confidence interval, included only when |
CI.lower |
the upper bound of the confidence interval, included only when |
data(ExampleDataBinary)
outcome = ExampleDataBinary$Y
covar = ExampleDataBinary$Z
ID = ExampleDataBinary$ID
fit_fe <- logis_fe(Y = outcome, Z = covar, ID = ID, message = FALSE)
summary.wald <- summary(fit_fe, level = 0.95, test = "wald")
summary.wald
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.