Multiply two probability plots (CDF/PDF)
Mostra commenti meno recenti
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 Commenti
Malay Agarwal
il 19 Set 2024
Please share details about the variables A.Var7, total_HOLT and others so that your code can be executed.
Jeff Miller
il 20 Set 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
il 20 Set 2024
Deepayan Bhadra
il 20 Set 2024
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Exploration and Visualization in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



