Azzera filtri
Azzera filtri

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?

6 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Yash
Yash il 22 Ago 2023
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!

Tag

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by