Description Usage Arguments Details Value Examples
Inference by contrast of parameters in a fitted model.
| 1 2 3 4 5 6 7 8 9 10 | 
| object, x | an object of class " | 
| C | contrast matrix. The number of column should be same as the length of  | 
| confint | logical value for whether the confidence interval is computed (only if C has one row). | 
| level | the confidence level required (only if C has one row). | 
| ... | further arguments passed to or from other methods. | 
This function provide the inference based on contrast after applying the function sanon.
The contrast matrix C should be defined by the user. If the the number of row of C = 1, the confidence interval for the estimator is produced.
| C | contrast matrix | 
| Cb | contrast estimates | 
| VCb | variance and covariance matrix of  | 
| se | standard error of  | 
| level | confidence level | 
| UL | upper confidence limit (only if the number of row of C = 1, otherwise  | 
| LL | lower confidence limit (only if the number of row of C = 1, otherwise  | 
| Q | test statistic | 
| df | degree of freedom | 
| p | p-value | 
| 1 2 3 4 5 6 7 8 9 10 11 | ##### Example 3.2 Randomized Clinical Trial of Respiratory Disorder #####
data(resp)
P = rbind(rep(0, 4), diag(4), rep(0, 4))
out23 = sanon(cbind(baseline, visit1, visit2, visit3, visit4) ~ grp(treatment, ref="P")
 + strt(center) + strt(sex) + covar(age), data=resp, P=P)
# Homogeneity of the xi_k across the four visits
contrast(out23, C=cbind(diag(3), rep(-1, 3)))
# Comparison between treatments for the average of the xi_k across the 4 visits
contrast(out23, C=matrix(rep(1, 4)/4, ncol=4))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.