Borrar filtros
Borrar filtros

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 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Yash
Yash el 22 de Ag. de 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!

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by