summary.apc: Summary for an apc object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/summary.apc.R

Description

Produces a useful summary of an apc object

Usage

1
2
## S3 method for class 'apc'
summary(object, ...)

Arguments

object

apc object

...

other arguments

Value

none

Author(s)

Arden Miller and Abu Zar Md. Shafiullah

See Also

apc, plot.apc

Examples

1
2
3
4
5
6
## This example demonstrates the analysis of an artificial data set for a unreplicated 
## factorial design for four two-level factors. The values of "resp" were generated as
## "resp<-round(10+8*x1+5*x3+7*x4+6*x1*x4+rnorm(16), 2)". The data is contained in the 
## data frame "testdata". A maximum model size of 6 and an IER of .05 are used.
my.apc = apc(resp~x1*x2*x3*x4, maxsize=6, data=testdata, method=1, level=.05, reps=9000)
summary(my.apc)

Example output

Error control:  IER  at  0.05 
     Model Size       RSS    APC Active
 intercept    0 2850.4838 7.9552    *  
      + x1    1 1781.5208 7.8702    *  
      + x4    2 1050.8999 7.7484    *  
   + x1:x4    3  393.2339 7.2024    *  
      + x3    4   11.2268 4.1313    *  
   + x1:x2    5    8.3876 4.3868       
      + x2    6    6.0467 4.4985       
--- 
Minimum APC: 4.131306 
Penalties: 0 0.385 0.791 1.228 1.713 2.26 2.699 
Active Effects: x1, x1:x4, x3, x4 
Non-active Effects: x1:x2, x1:x2:x3, x1:x2:x3:x4, x1:x2:x4, x1:x3, x1:x3:x4, x2, x2:x3, x2:x3:x4, x2:x4, x3:x4 

APCanalysis documentation built on May 1, 2019, 6:27 p.m.