Multiply two probability plots (CDF/PDF)
Show older comments
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 Comments
Malay Agarwal
on 19 Sep 2024
Please share details about the variables A.Var7, total_HOLT and others so that your code can be executed.
Jeff Miller
on 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
on 20 Sep 2024
Deepayan Bhadra
on 20 Sep 2024
Accepted Answer
More Answers (0)
Categories
Find more on Exploration and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


