日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人工智能 > 循环神经网络 >内容正文

循环神经网络

matlab f检验 f值,如何用matlab进行F检验

發布時間:2024/3/12 循环神经网络 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 matlab f检验 f值,如何用matlab进行F检验 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

匿名用戶

1級

2016-05-01 回答

The following explaination may help U:

Two-sample F-test for equal variances

Syntax

H = vartest2(X,Y)

H = vartest2(X,Y,alpha)

H = vartest2(X,Y,alpha,tail)

[H,P] = vartest2(...)

[H,P,CI] = vartest2(...)

[H,P,CI,STATS] = vartest2(...)

[...] = vartest2(X,Y,alpha,tail,dim)

Description

H = vartest2(X,Y) performs an F test of the hypothesis that two independent samples, in the vectors X and Y, come from normal distributions with the same variance, against the alternative that they come from normal distributions with different variances. The result is H = 0 if the null hypothesis (variances are equal) cannot be rejected at the 5% significance level, or H = 1 if the null hypothesis can be rejected at the 5% level. X and Y can have different lengths. X and Y can also be matrices or n-dimensional arrays.

For matrices, vartest2 performs separate tests along each column, and returns a vector of results. X and Y must have the same number of columns. For n-dimensional arrays, vartest2 works along the first nonsingleton dimension. X and Y must have the same size along all the remaining dimensions.

H = vartest2(X,Y,alpha) performs the test at the significance level (100*alpha)%. alpha must be a scalar.

H = vartest2(X,Y,alpha,tail) performs the test against the alternative hypothesis specified by tail, where tail is one of the following single strings:

'both' — Variance is not Y (two-tailed test). This is the default.

'right' — Variance is greater than Y (right-tailed test).

'left' — Variance is less than Y (left-tailed test).

[H,P] = vartest2(...) returns the p-value, i.e., the probability of observing the given result, or one more extreme, by chance if the null hypothesis is true. Small values of P cast doubt on the validity of the null hypothesis.

[H,P,CI] = vartest2(...) returns a 100*(1-alpha)% confidence interval for the true variance ratio var(X)/var(Y).

[H,P,CI,STATS] = vartest2(...) returns a structure with the following fields:

'fstat' — Value of the test statistic

'df1' — Numerator degrees of freedom of the test

'df2' — Denominator degrees of freedom of the test

[...] = vartest2(X,Y,alpha,tail,dim) works along dimension dim of X. To pass in the default values for alpha or tail use [].

Example

Is the variance significantly different for two model years, and what is a confidence interval for the ratio of these variances?

load carsmall

[H,P,CI] = vartest2(MPG(Model_Year==82),MPG(Model_Year==76))

總結

以上是生活随笔為你收集整理的matlab f检验 f值,如何用matlab进行F检验的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。