Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Checking if two box plots are significantly different or not.

1 visualización (últimos 30 días)
Hari krishnan
Hari krishnan el 28 de Oct. de 2018
Cerrada: Hari krishnan el 28 de Oct. de 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 comentario
Image Analyst
Image Analyst el 28 de Oct. de 2018
It might be easier for people to help you if you attached the two workbooks.
Say, have you read this link yet?

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by