In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you what the R language variance homogeneity test is like, the content is concise and easy to understand, it can definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
T-test and analysis of variance require homogeneity of variance of grouped data, so homogenous test of variance needs to be done in advance.
Levene test is used by default in common SPSS statistical software. in order to facilitate the comparison between the results of R and SPSS, it is recommended to do Levene test in R.
In R, the method of Levene test is encapsulated in the car package. We first load the car package, and then call the leveneTest () function for statistical test.
Case data: sales training data
The purpose of the analysis is to investigate whether the variance of the training test data of the two groups of sales personnel is homogeneous.
Load car package ↓
Library (car)
↓ of Variance homogeneous Test
LeveneTest (score~fenzu,data=sales13,center=mean)
Result interpretation of ↓
The original assumption is that the variances of the two sets of data are homogeneous.
The test results showed that the variance of the two groups was homogeneous (P > 0.05). The above is what the R language variance homogeneity test is like. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.