anova statistics

1 visualizzazione (ultimi 30 giorni)
병욱
병욱 il 23 Lug 2024
Commentato: 병욱 il 25 Lug 2024
% anova2
[pJtASTAnova2(1,:), ~] = anova2( [SumAbsJtCbnMeanAST(:,2:5,5)-SumAbsJtCbnMeanAST(:,1,5); SumAbsJtCbnMeanAST(:,2:5,1)-SumAbsJtCbnMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(2,:), ~] = anova2( [SumAbsJtMtpMeanAST(:,2:5,5)-SumAbsJtMtpMeanAST(:,1,5); SumAbsJtMtpMeanAST(:,2:5,1)-SumAbsJtMtpMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(3,:), ~] = anova2( [SumAbsJtAnkMeanAST(:,2:5,5)-SumAbsJtAnkMeanAST(:,1,5); SumAbsJtAnkMeanAST(:,2:5,1)-SumAbsJtAnkMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(4,:), ~] = anova2( [SumAbsJtKneMeanAST(:,2:5,5)-SumAbsJtKneMeanAST(:,1,5); SumAbsJtKneMeanAST(:,2:5,1)-SumAbsJtKneMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(5,:), ~] = anova2( [SumAbsJtHipMeanAST(:,2:5,5)-SumAbsJtHipMeanAST(:,1,5); SumAbsJtHipMeanAST(:,2:5,1)-SumAbsJtHipMeanAST(:,1,1)], 11, "off" );
I would like to run this code, so I would appreciate it if you could let me know how.

Risposta accettata

Angelo Yeo
Angelo Yeo il 23 Lug 2024
Simple answer: Read the doc for anova2. There are examples which you can use to understand "how" to use anova2. Also, the doc can be also helpful.
So, what are SumAbsJtCbnMeanAST, SumAbsJtMtpMeanAST, SumAbsJtAnkMeanAST, SumAbsJtKneMeanAST, SumAbsJtHipMeanAST?
Without background information, no one can understand what you need but can only assume. With random values with random size, the code runs. What's your question?
SumAbsJtCbnMeanAST = rand(33,5,5);
SumAbsJtMtpMeanAST = rand(33,5,5);
SumAbsJtAnkMeanAST = rand(33,5,5);
SumAbsJtKneMeanAST = rand(33,5,5);
SumAbsJtHipMeanAST = rand(33,5,5);
% anova2
[pJtASTAnova2(1,:), ~] = anova2(...
[SumAbsJtCbnMeanAST(:,2:5,5)-SumAbsJtCbnMeanAST(:,1,5); ...
SumAbsJtCbnMeanAST(:,2:5,1)-SumAbsJtCbnMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(2,:), ~] = anova2(...
[SumAbsJtMtpMeanAST(:,2:5,5)-SumAbsJtMtpMeanAST(:,1,5); ...
SumAbsJtMtpMeanAST(:,2:5,1)-SumAbsJtMtpMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(3,:), ~] = anova2(...
[SumAbsJtAnkMeanAST(:,2:5,5)-SumAbsJtAnkMeanAST(:,1,5); ...
SumAbsJtAnkMeanAST(:,2:5,1)-SumAbsJtAnkMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(4,:), ~] = anova2(...
[SumAbsJtKneMeanAST(:,2:5,5)-SumAbsJtKneMeanAST(:,1,5); ...
SumAbsJtKneMeanAST(:,2:5,1)-SumAbsJtKneMeanAST(:,1,1)], 11, "off" );
[pJtASTAnova2(5,:), ~] = anova2(...
[SumAbsJtHipMeanAST(:,2:5,5)-SumAbsJtHipMeanAST(:,1,5); ...
SumAbsJtHipMeanAST(:,2:5,1)-SumAbsJtHipMeanAST(:,1,1)], 11, "off" );
display(pJtASTAnova2)
pJtASTAnova2 = 5x3
0.8158 0.0019 0.9914 0.9757 0.0468 0.9605 0.8336 0.0251 0.9905 0.8994 0.0014 0.9372 0.9045 0.2244 0.9431
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
  1 Commento
병욱
병욱 il 25 Lug 2024
Thank you for your reply, maybe I should assure them more for myself. Hope you have a great day. Thank you!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 빅 데이터 처리 in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!