<< Chapter < Page | Chapter >> Page > |
tuappr: [0 2] [0 2]400 400 (12/179)*(3*t.^2 + u).*(u<=min(2,3-t))
EX = 1.2923 EY = 0.8695 EX2 = 1.9119 EY2 = 1.0239 EXY = 1.0122
tuappr: [0 2] [0 2]400 400 (12/227)*(3*t + 2*t.*u).*(u<=min(1+t,2))
EX = 1.3805 EY = 1.0974 EX2 = 2.0967 EY2 = 1.5120 EXY = 1.5450
tuappr: [0 2] [0 2]400 400 (2/13)*(t + 2*u).*(u<=min(2*t,3-t))
EX = 1.2309 EY = 0.9169 EX2 = 1.6849 EY2 = 1.0647 EXY = 1.1056
tuappr [0 2] [0 1]400 200 (3/8)*(t.^2+2*u).*(t<=1) + (9/14)*(t.^2.*u.^2).*(t>1)
EX = 1.0848 EY = 0.6875 EX2 = 1.5286 EY2 = 0.5292 EXY = 0.7745
The class of random variables is iid (independent, identically distributed) with common distribution
Let . Determine . Do this using icalc, then repeat with icalc3 and compare results.
Use x and to prevent renaming.
x = [-5 -1 3 4 7];px = 0.01*[15 20 30 25 10];icalc
Enter row matrix of X-values xEnter row matrix of Y-values x
Enter X probabilities pxEnter Y probabilities px
Use array operations on matrices X, Y, PX, PY, t, u, and PG = 3*t -4*u;
[R,PR]= csort(G,P);
icalcEnter row matrix of X-values R
Enter row matrix of Y-values xEnter X probabilities PR
Enter Y probabilities pxUse array operations on matrices X, Y, PX, PY, t, u, and P
H = t + 2*u;EH = total(H.*P)
EH = 1.6500[W,PW] = csort(H,P); % AlternateEW = W*PW'
EW = 1.6500icalc3 % Solution with icalc3
Enter row matrix of X-values xEnter row matrix of Y-values x
Enter row matrix of Z-values xEnter X probabilities px
Enter Y probabilities pxEnter Z probabilities px
Use array operations on matrices X, Y, Z,PX, PY, PZ, t, u, v, and P
K = 3*t - 4*u + 2*v;EK = total(K.*P)
EK = 1.6500
(See Exercise 5 from "Problems on Functions of Random Variables") The cultural committee of a student organization has arranged a special deal for tickets to a concert. The agreement is that the organization will purchase tentickets at $20 each (regardless of the number of individual buyers). Additional tickets are available according to the following schedule:
11-20, $18 each; 21-30 $16 each; 31-50, $15 each; 51-100, $13 each
If the number of purchasers is a random variable X , the total cost (in dollars) is a random quantity described by
Suppose Poisson (75). Approximate the Poisson distribution by truncating at 150. Determine and .
X = 0:150;
PX = ipoisson(75,X);G = 200 + 18*(X - 10).*(X>=10) + (16 - 18)*(X - 20).*(X>=20) + ...
(15 - 16)*(X- 30).*(X>=30) + (13 - 15)*(X - 50).*(X>=50);
[Z,PZ]= csort(G,PX);
EZ = Z*PZ'EZ = 1.1650e+03
EZ2 = (Z.^2)*PZ'EZ2 = 1.3699e+06
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?