Multiply two probability plots (CDF/PDF)
Mostrar comentarios más antiguos
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 comentarios
Malay Agarwal
el 19 de Sept. de 2024
Please share details about the variables A.Var7, total_HOLT and others so that your code can be executed.
Jeff Miller
el 20 de Sept. de 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
el 20 de Sept. de 2024
Deepayan Bhadra
el 20 de Sept. de 2024
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Exploration and Visualization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



