Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
The homogeneity of variances test is a useful tool in many scientific applications. Boos and Brownie (2004) and Conover et al. (1981) give a broad review.
Here, we developed an m-file as an alternative to the homogeinity of variances test considering the modification of the Bartlett's test investigated by Boos and Brownie (1989). As Lim and Loh (1996) pointed out, the modification did is motivated by the fact that under weak regularity conditions the Bartlett's statistic tends to the Chi-squared times one-half the kurtosis-1 under Ho.
BBTEST treats NaN values as missing values, and removes them.
Syntax: function bbtest(X,alpha)
Inputs:
X - data matrix (Size of matrix must be n-by-2; data=column 1,
sample=column 2)
alpha - significance level (default = 0.05)
Outputs:
- Sample variances vector
- Whether or not the homoscedasticity was met
Citar como
Antonio Trujillo-Ortiz (2026). bbtest (https://es.mathworks.com/matlabcentral/fileexchange/33827-bbtest), MATLAB Central File Exchange. Recuperado .
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y MATLAB Answers.
Información general
- Versión 1.1.0.0 (3,32 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
