Multiply two probability plots (CDF/PDF)
Afficher commentaires plus anciens
I have two probability plots, one generated as a CDF, and one as a pdf. The exact mathematics is not important for my purpose, I only want to extract the qualitative idea. 


This is the code I used:
figure()
ax1 = subplot(1,1,1);
cdfplot(temp);
% plot(DE,y)
ax1.XDir = 'reverse';
set(gca, 'YScale', 'log')
figure();
pd_HOLT = fitdist(total_HOLT,'Normal');
DE_HOLT = bingroups_HOLT;
y_HOLT = pdf(pd_HOLT,DE_HOLT);
ax1 = subplot(1,1,1);
plot(DE_HOLT,y_HOLT)
ax1.XDir = 'reverse';
set(gca, 'YScale', 'log')
The x-axis is the same. How can I multiply these plots to convey a (qualitative) idea? Thanks.
4 commentaires
Malay Agarwal
le 19 Sep 2024
Please share details about the variables A.Var7, total_HOLT and others so that your code can be executed.
Jeff Miller
le 20 Sep 2024
What are you trying to convey an idea about? There seem to be several possibilities:
- the distribution of a random variable that is the sum of independent A.Var7 and total_HOLT values
- the distribution of a random variable that is the product of independent A.Var7 and total_HOLT values
- the joint (bivariate) distribution of independent A.Var7 and total_HOLT values
- something else
Deepayan Bhadra
le 20 Sep 2024
Deepayan Bhadra
le 20 Sep 2024
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Exploration and Visualization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



