Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14747
| From | Donagh Horgan <donagh.horgan@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Unexpected expectation behaviour |
| Date | 2013-06-05 07:15 +0000 |
| Message-ID | <komoio$1up$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hi all,
I've been playing around with the following expected value, but I've run into some odd behaviour with Expectation and NExpectation. The following example illustrates the problem:
Expectation[Abs[y - 1]^3,
y \[Distributed] NoncentralChiSquareDistribution[1, s]]
Plot[{%, NExpectation[Abs[y - 1]^3,
y \[Distributed] NoncentralChiSquareDistribution[1, s]]}, {s, 0,
10}]
All advice greatly appreciated.
Thanks,
Donagh
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Unexpected expectation behaviour Donagh Horgan <donagh.horgan@gmail.com> - 2013-06-05 07:15 +0000
Re: Unexpected expectation behaviour Roland Franzius <roland.franzius@uos.de> - 2013-06-06 11:22 +0000
Re: Unexpected expectation behaviour Donagh Horgan <donagh.horgan@gmail.com> - 2013-06-11 06:21 +0000
Re: Unexpected expectation behaviour debguy <johnandsara2@cox.net> - 2013-06-11 06:23 +0000
csiph-web