Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.6K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

A strange response from TransformedDistribution.

Posted 10 years ago
POSTED BY: Paul Erickson
4 Replies

Probably close this thread.

By replacing 10^x_ with E^(Hold[Log[10] x) and surrounding with ReleaseHold, it evaluates. ReleaseHold [ TransformedDistribution[ x = 10^(u /10 ), u [Distributed] NormalDistribution[ mu, sigma] ] ] //. {10^x_ :> E^( Hold[Log[10]] x) } ]

Of course, I'd still be interested in a good explanation as to why it works this way so as perhaps avoid the trial and error approach I used this time.

POSTED BY: Paul Erickson

Well, it's a bit of a problem for me as I was trying to author a short paper on the derivation and usages of the lognormal power <==> normal in dB transform pair and being able to show their correspondence was the point.True, it's a bit overkill as the Normal -> LogNormal transform seems to reliably evaluated and LogNormal -> Normal evaluation with E^ just not with 10^ or Log[10] in the exponent. It's also a little strange that including a constant or variable it still evaluates, but include the particular constant Log[10] causes it to remain un-evaluated. I suspect that there is some command I'm missing that influences the order or treatment, but trying hold and various version of expand and simplify didn't work, but since I was guessing about why it didn't evaluate in the first place, wasn't likely that adding random commands would address the issue.

POSTED BY: Paul Erickson
Posted 10 years ago
POSTED BY: Jim Baldwin
Posted 10 years ago
POSTED BY: Jim Baldwin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard