Learn R Programming

speff2trial (version 1.0.2)

summary.speff: Summarizing results for semiparametric efficient estimation and testing for a 2-sample treatment effect

Description

summary method for an object of class "speff".

Usage

## S3 method for class 'speff':
summary(object,...)

Arguments

object
an object of class "speff".
...
for other methods.

Value

  • A list with the following components:
  • tabinferential table for the treatment effect.
  • methodsearch technique employed in the model selection procedure.
  • rsqa numeric vector of the R-squared statistics for the optimal selected regression models predicting the study endpoint.
  • formulaa list with components control and treatment containing formula objects for the optimal selected regression models.
  • predicteda logical vector; if TRUE, the built-in model selection procedure was employed for prediction of the study endpoint in the control and treatment group, respectively.

Details

print.summary.speff prints a formatted summary of results. In the initial section, formulas for the optimal selected regression models are printed with pertaining R-squared statistics for each treatment group. Further, an inferential table is produced with point and interval estimates of the treatment effect, standard error estimates, and Wald test p-values using both the naive and covariate-adjusted estimation methods. At least five significant digits are printed.

See Also

speff

Examples

Run this code
### from the example for 'speff':
fit1 <- speff(cd496 ~ age+wtkg+hemo+homo+drugs+karnof+oprior+preanti+
race+gender+str2+strat+symptom+cd40+cd420+cd80+cd820+offtrt,
postrandom=c("cd420","cd820","offtrt"), data=ACTG175, trt.id="treat")

summary(fit1)

Run the code above in your browser using DataLab