wanova

版本 1.0.1.0 (2.2 KB) 作者: Andrew Penn
Performs Welch's alternative to one-way analysis of variance (ANOVA).
486.0 次下载
更新时间 2022/8/30

查看许可证

% Function File: [p, F, df1, df2] = wanova (y, g)
%
% Perform a Welch's alternative to one-way analysis of variance
% (ANOVA). The goal is to test whether the population means of data
% taken from k different groups are all equal. This test does not
% require the condition of homogeneity of variances be satisfied.
% For post-tests, it is recommended to run the function 'multicmp'.
%
% Data should be given in a single vector y with groups specified by
% a corresponding vector of group labels g (e.g., numbers from 1 to
% k). This is the general form which does not impose any restriction
% on the number of data in each group or the group labels.
%
% Under the null of constant means, the Welch's test statistic F
% follows an F distribution with df1 and df2 degrees of freedom.
%
% The p-value (1 minus the CDF of this distribution at F) is
% returned in the p output variable.
%
% Bibliography:
% [1] Welch (1951) On the Comparison of Several Mean Values: An
% Alternative Approach. Biometrika. 38(3/4):330-336
% [2] Tomarken and Serlin (1986) Comparison of ANOVA alternatives
% under variance heterogeneity and specific noncentrality
% structures. Psychological Bulletin. 99(1):90-99.

引用格式

Andrew Penn (2024). wanova (https://www.mathworks.com/matlabcentral/fileexchange/61661-wanova), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 ANOVA 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.1.0

Corrected some of the comments

1.0.0.0

Provided a more comprehensive description

Removed conflicting GPL licence statement