Learn R Programming

pprof (version 1.0.2)

summary.logis_fe: Result Summaries of Covariate Estimates from a fitted logis_fe object

Description

Provide the summary statistics for the covariate estimates for a fixed effect logistic model.

Usage

# S3 method for logis_fe
summary(object, parm, level = 0.95, test = "wald", null = 0, ...)

Value

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 test = "wald".

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 test = "wald".

CI.lower

the upper bound of the confidence interval, included only when test = "wald".

Arguments

object

a model fitted from logis_fe.

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 \(1 - \text{level}\). The default value is 0.95.

test

a character string specifying the type of testing method. The default is "wald".

  • "wald": wald test.

  • "lr": likelihood ratio test.

  • "score": score test.

null

a number defining the null hypothesis for the covariate estimates. The default value is 0.

...

additional arguments that can be passed to the function.

Examples

Run this code
data(ExampleDataBinary)
outcome = ExampleDataBinary$Y
covar = ExampleDataBinary$Z
ProvID = ExampleDataBinary$ProvID

fit_fe <- logis_fe(Y = outcome, Z = covar, ProvID = ProvID, message = FALSE)
summary.wald <- summary(fit_fe, level = 0.95, test = "wald")
summary.wald

Run the code above in your browser using DataLab