Group Abstract Group Abstract

Message Boards Message Boards

0
|
36 Views
|
4 Replies
|
1 Total Like
View groups...
Share
Share this post:

Transformed distribution assumptions

I am working with the TransformedDistribution function, and have successfully derived PDF functions for r, theta and phi.

When I try and calculate the PDF for z = r * Cos[theta] via the TransformedDistribution function, I get stuck. My gut tells me that there is an assumption missing, but I am not sure.

I need the PDF for the interval 0 < t < 2.

My work is attached. Any suggestions?

Attachments:
POSTED BY: Patrick McMullen
4 Replies
Posted 43 minutes ago

Following Gianluca Gorni's suggestion:

disttheta = TransformedDistribution[ArcCos[2*v - 1], v \[Distributed] UniformDistribution[{0, 1}]]
distr = TransformedDistribution[v^(1/3), v \[Distributed] UniformDistribution[{0, 1}]]
distphi = TransformedDistribution[v, v \[Distributed] UniformDistribution[{0, 2*Pi}]]
distz = TransformedDistribution[u*Cos[v], {u \[Distributed] distr, v \[Distributed] disttheta}]
PDF[distz, z]

PDF for z

POSTED BY: Jim Baldwin

Yes, Jim. That works for me. Thank you.

POSTED BY: Patrick McMullen

You must work with the distribution, not with the PDF.

POSTED BY: Gianluca Gorni

I understand. Thank you, Gianluca

POSTED BY: Patrick McMullen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard