Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Checking if two box plots are significantly different or not.

1 vue (au cours des 30 derniers jours)
Hari krishnan
Hari krishnan le 28 Oct 2018
Clôturé : Hari krishnan le 28 Oct 2018

I made a boxplot in matlab for my sample data sets. What i want to see if the data is if the sample data is significantly different from each other. Can anyone give me an idea on how to proceed?

load_threhold_time_for_recruitment_gdnest = 'threhold_time_for_all_goodnest.xlsx';
load_threhold_time_for_recruitment_bdnest = 'threhold_time_for_all_poornest.xlsx';
data_threhold_time_for_recruitment_gdnest = xlsread(load_threhold_time_for_recruitment_gdnest);
data_threhold_time_for_recruitment_bdnest = xlsread(load_threhold_time_for_recruitment_bdnest);
required_data_threhold_time_for_recruitment_gdnest = data_threhold_time_for_recruitment_gdnest(:,2);
required_data_threhold_time_for_recruitment_bdnest = data_threhold_time_for_recruitment_bdnest(:,2);
x1 = required_data_threhold_time_for_recruitment_gdnest; 
x2 = required_data_threhold_time_for_recruitment_bdnest; 
x = [x1 ;x2];
g = [ones(size(x1)); 2*ones(size(x2))];
boxplot(x,g,'Labels',{'Good nest (1 lux)','Poor nest (16 lux)'});
ylabel('Time(seconds)') 
  1 commentaire
Image Analyst
Image Analyst le 28 Oct 2018
It might be easier for people to help you if you attached the two workbooks.
Say, have you read this link yet?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by