Multiply two probability plots (CDF/PDF)
이전 댓글 표시
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
Malay Agarwal
2024년 9월 19일
Please share details about the variables A.Var7, total_HOLT and others so that your code can be executed.
Jeff Miller
2024년 9월 20일
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
2024년 9월 20일
Deepayan Bhadra
2024년 9월 20일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Exploration and Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



