LoginSignup
0
1

More than 5 years have passed since last update.

同等性検定 パッケージ "equivalence" R

Posted at

たまに有意差が無い = 群は同程度 と結論付けているが、厳密には有意差が無いからといって
群が一緒とは言えない。厳密には同等性の検定が必要になる。
サンプルコード

#パッケージの読み込み
library(equivalence)

#データ例の作成
seed(999)
Data1 <- rnorm(10, mean = 0, sd = 1)
Data2 <- rnorm(12, mean = 1, sd = 2)

#平均値で同等性を検定:tostコマンド
tost(Data1, Data2, epsilon = 0.2)

この場合の仮説は群の差異が区間内にあるになる。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1