CDF-vector- 2 random variables
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ahmad DEHGHANPOOR
el 17 de Oct. de 2019
Respondida: Jeff Miller
el 18 de Oct. de 2019
I have an equation with 2 variables, x and y. x and y are random variables. The question is: Ln(Z)=aLn(x)+bLn(y)+c a,b and c are constant and already determined. I need to calculate CDF of Ln(Z). I need to obtain a surface (3D) by Matlab. I will appreciate your help.
Thanks
2 comentarios
Jeff Miller
el 17 de Oct. de 2019
What are the distributions of the random variables x & y, e.g., normal, uniform, gamma? Or are x & y vectors of observed data values and you don't know their theoretical distributions?
Are x & y independent?
Respuesta aceptada
Jeff Miller
el 18 de Oct. de 2019
You apparently have a probability for each of the x and y values. So, you can just compute the different possible Ln(Z) values from your equation. With independence, the probability of each Ln(Z) is the product of the probabilities for the x and y used to compute it.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!