Plot[{ExpectXgivenYis [y], ExpectX}, {y, Ylow, Yhigh}, PlotStyle -> {{Thickness [0.01], LightRed}, {Thickness [0.02], Gr

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

Plot[{ExpectXgivenYis [y], ExpectX}, {y, Ylow, Yhigh}, PlotStyle -> {{Thickness [0.01], LightRed}, {Thickness [0.02], Gr

Post by answerhappygod »

Plot Expectxgivenyis Y Expectx Y Ylow Yhigh Plotstyle Thickness 0 01 Lightred Thickness 0 02 Gr 1
Plot Expectxgivenyis Y Expectx Y Ylow Yhigh Plotstyle Thickness 0 01 Lightred Thickness 0 02 Gr 1 (66.4 KiB) Viewed 62 times
Plot[{ExpectXgivenYis [y], ExpectX}, {y, Ylow, Yhigh}, PlotStyle -> {{Thickness [0.01], LightRed}, {Thickness [0.02], Green}}, Axes Origin -> {Ylow, 0.41}, AspectRatio -> 1/GoldenRatio, AxesLabel -> { "y", "expectXgivenYisy"}] Out[27]= expectXgiven Yisy 0.75 0.70 0.65 0.60 0.55 0.501 0.45 у 0.2 0.4 0.6 0.8 1.0 The bar cuts the vertical axis at the expected value of X. The plotted curve gives you values of the expected value of X given Y = y. Notice that part of the curve plots out above the expected value of X and another part of the curve plots out below the expected value of X. • Explain this bold statement: No matter what joint probability density function you go with, you are guaranteed that either some of the values of the expected value of X given Y = y will plot out above the expected value of X and others plot out below the expected value of X or all of the values of the expected value of X given Y = y plot out on the expected value of X.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply