Multiple paired t test on data with groups

10 ビュー (過去 30 日間)
Hamad Bin Muslim
Hamad Bin Muslim 2022 年 12 月 19 日
回答済み: Muskan 2023 年 3 月 23 日
Hi, i have a dataset that contains dielectric values from two locations. I want to conduct paired t test on it. The data is for 1000 feet, so I want to decide it into 50 feet intervals and thus consuct 20 t tests and save the results into a table. I have imported the data and specified the groups (from 1 to 20) in the first column. Now I want to write a code that recognizes the entries for each group and conduct the test; thus, will get 20 t tests (one for each group). How can I do that without splitting and saving the data for each data subset?

回答 (1 件)

Muskan
Muskan 2023 年 3 月 23 日
Hi Hamad,
As per my understanding of the question you can use themultcompare function. You can refer to the following documentations for reference.
I hope this helps.
Thanks,
Muskan

カテゴリ

Help Center および File ExchangeHypothesis Tests についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by