Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Checking if two box plots are significantly different or not.

1 Ansicht (letzte 30 Tage)
Hari krishnan
Hari krishnan am 28 Okt. 2018
Geschlossen: Hari krishnan am 28 Okt. 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 Kommentar
Image Analyst
Image Analyst am 28 Okt. 2018
It might be easier for people to help you if you attached the two workbooks.
Say, have you read this link yet?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by