Description Usage Arguments Details Value Author(s) References Examples
Produces p-values of Bonferroni and Scheffe multiple comparison tests of several testable linear hypotheses.
1 |
y |
Responese vector in linear model. |
X |
Design/model matrix or matrix containing values of explanatory variables (generally including intercept). |
A |
Coefficient matrix (A.beta=xi is the set of multiple hypotheses that has to be tested). |
xi |
A vector of values (A.beta=xi is the set of multiple hypotheses that has to be tested). |
tol |
A relative tolerance to detect zero singular values while computing generalized inverse, in case X is rank deficient (default = sqrt(.Machine$double.eps)). |
Normal distribution of response (given explanatory variables and/or factors) is assumed.
Returns F statistics and p-values of Bonferroni and Scheffe multiple comparison tests of the set of linear hypotheses. A set of five vectors:
A |
Specified coefficient matrix. |
xi |
Specified values of A.beta. |
Fstat |
Set of F-ratios for each hypothesis. |
Bonferroni.p |
Set of Bonferroni p-values for different hypotheses. |
Scheffe.p |
Set of Scheffe p-values for different hypotheses. |
Debasis Sengupta <shairiksengupta@gmail.com>, Jinwen Qiu <qjwsnow_ctw@hotmail.com>
Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.