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 commentaires

Jeff Miller
Jeff Miller le 17 Oct 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?
Ahmad DEHGHANPOOR
Ahmad DEHGHANPOOR le 17 Oct 2019
Hi Jeff, Thanks for your reply, x and y are independent. They have alreday determined:
x= 15:15:150
y=0.5:0.5:5
x and y are based the above data.
the actual equation is :
Ln(Z)=1.302Ln(x)+0.2Ln(y)-0.12
I have attached a similar graph that I need to obtain.

Connectez-vous pour commenter.

 Réponse acceptée

Jeff Miller
Jeff Miller le 18 Oct 2019

0 votes

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.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by