testbtw |

Test equality of the mean, median or variances of the columns in a matrix.

Syntax

matrix_name.testbtw(options)

By default, testbtw will test for equality of means, but you may specify instead tests of medians or variances as an option, and choose whether to use balanced or unbalanced samples.

Options

mean (default) | Test equality of means. |

med | Test equality of medians. |

var | Test equality of variances. |

c | Use common (balanced) sample for computing statistics after removing rows with missing values for any element in the row. By default, EViews computes the statistics for each column using a individual (potentially unbalanced) sample after removing observations with missing values for the column. |

prompt | Force the dialog to appear from within a program. |

p | Print the test results. |

Examples

The command

mat1.testbtw

uses both parametric ANOVA and nonparametric approaches to test the equality of the means of the columns of MAT1 using individual samples. Alternately, the command,

mat1.testbtw(var, c)

tests for equality of the column variances using a balanced sample after listwise deletion of rows with missing values.

Cross-references

See
“Tests of Equality” for further discussion of these tests.

See also
Series::testby and
Series::teststat.