I have 2 datasets each of a (12x12) matrix. I want a qqplot between 2 datasets. Brief the functions to be used in detail . Do i need to fit any distribution and then plot?

조회 수: 12 (최근 30일)
I have 2 datasets each of a (12x12) matrix. I want a qqplot between these 2 datasets. Brief the steps and the functions in detail. Do i need to fit any distribution and then plot?

답변 (1개)

Yash
Yash 2023년 8월 22일
Hi,
A quantile-quantile plot (qq-plot) does not require to fit a specific distribution.
>> qqplot(x,y)
The above function from the Statistics and Machine Learning Toolbox in MATLAB creates a quantile-quantile plot, comparing the quantiles of sample data x with the quantiles of sample data y. If the samples are from the same distribution, the plot will show a linear relationship.
When x and y are matrices in MATLAB, the qqplot function displays a separate line for each pair of corresponding columns. It compares the quantiles of each column in ‘x with the quantiles of the corresponding column in y.
For more information on ‘qqplot’ you can refer to the documentation: https://in.mathworks.com/help/stats/qqplot.html
Hope it helps!

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by