필터 지우기
필터 지우기

How to identify the distribution of the data set?

조회 수: 133 (최근 30일)
Ahmed Hamed
Ahmed Hamed 2016년 6월 30일
댓글: alex brown 2019년 4월 29일
Given a data set (.mat file). How can I identify the distribution (Normal, Gaussian, etc) of the data in matlab? Is there any built-in function that helps to do this?
For example, I'd like to identify the distribution of the Ionosphere data set.

채택된 답변

John
John 2016년 7월 1일
Plot the histogram. Use 'hist'. Depending on the number of samples in the data set, you will want to increase the number of bins accordingly to get better resolution. As with all statistical analysis, the more data you sample, the better your fit will be.
  댓글 수: 1
alex brown
alex brown 2019년 4월 29일
Doubts about distribution of the answers generated by randfixedsum!
check this:
clc
close all
for i=1:1000
an(:,i)=randfixedsum(24,1,3600,5,300);
end
% histogram(an(1,:))
hold on
histogram(an(5,:))
untitled.jpg
look carefully at the distribution. I don't think it is uniformly distributed.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Mohammad Tanhaemami
Mohammad Tanhaemami 2018년 2월 23일

Image Analyst
Image Analyst 2016년 7월 3일
Of course the histogram is the actual distribution. But if you want a model distribution, look into kstest(), kstest2(), lillietest(), etc.
  댓글 수: 1
alex brown
alex brown 2019년 4월 29일
Thank you for helping me. Is there any function for testing the uniform distribution?! what is the criteria for a distribution to be uniform?!

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by