The koch data frame has 288 rows and 4 columns.

koch

Format

This data frame contains the following columns:

trt

a numeric vector

day

a numeric vector

y

an ordered factor with levels: 1 < 2 < 3

id

a numeric vector

Examples


data(koch)
fit <- ordgee(ordered(y) ~ trt + as.factor(day), id=id, data=koch, corstr="exch")
summary(fit)
#> 
#> Call:
#> ordgee(formula = ordered(y) ~ trt + as.factor(day), id = id, 
#>     data = koch, corstr = "exch")
#> 
#> Mean Model:
#>  Mean Link:                 logit 
#>  Variance to Mean Relation: binomial 
#> 
#>  Coefficients:
#>                  estimate san.se    wald         p
#> Inter:1            3.1520 0.4311 53.4661 2.631e-13
#> Inter:2            0.2433 0.3676  0.4382 5.080e-01
#> trt               -1.0931 0.4207  6.7512 9.368e-03
#> as.factor(day)7   -1.2791 0.3632 12.3996 4.294e-04
#> as.factor(day)10  -1.3784 0.3073 20.1241 7.258e-06
#> as.factor(day)14  -3.1732 0.5808 29.8507 4.666e-08
#> 
#> Scale is fixed.
#> 
#> Correlation Model:
#>  Correlation Structure:     exch 
#>  Correlation Link:          log 
#> 
#>  Estimated Correlation Parameters:
#>       estimate san.se  wald       p
#> alpha    1.127 0.4766 5.591 0.01806
#> 
#> Returned Error Value:    0 
#> Number of clusters:   72   Maximum cluster size: 4 
#>