<< Chapter < Page | Chapter >> Page > |
for ,
Region is bounded by
tuappr
Enter matrix [a b]of X-range endpoints [0 2]
Enter matrix [c d]of Y-range endpoints [0 1]
Enter number of X approximation points 400Enter number of Y approximation points 200
Enter expression for joint density (24/11)*t.*u.*(u<=2-t)
Use array operations on X, Y, PX, PY, t, u, and PM1 = (t<=1)&(u<=1);
P1 = total(M1.*P)P1 = 0.5447 % Theoretical = 6/11 = 0.5455P2 = total((t>1).*P)
P2 = 0.4553 % Theoretical = 5/11 = 0.4545P3 = total((t<u).*P)
P3 = 0.2705 % Theoretical = 3/11 = 0.2727
for ,
Region is bounded by
tuappr
Enter matrix [a b]of X-range endpoints [0 2]
Enter matrix [c d]of Y-range endpoints [0 2]
Enter number of X approximation points 200Enter number of Y approximation points 200
Enter expression for joint density (3/23)*(t+2*u).*(u<=max(2-t,t))
Use array operations on X, Y, PX, PY, t, u, and PM1 = (t>=1)&(u>=1);
P1 = total(M1.*P)P1 = 0.2841
13/46 % Theoretical = 13/46 = 0.2826P2 = total((u<=1).*P)
P2 = 0.5190 % Theoretical = 12/23 = 0.5217P3 = total((u<=t).*P)
P3 = 0.6959 % Theoretical = 16/23 = 0.6957
, for ,
Region has two parts: (1) (2)
tuappr
Enter matrix [a b]of X-range endpoints [0 2]
Enter matrix [c d]of Y-range endpoints [0 2]
Enter number of X approximation points 200Enter number of Y approximation points 200
Enter expression for joint density (12/179)*(3*t.^2+u).* ...(u<=min(2,3-t))
Use array operations on X, Y, PX, PY, t, u, and Pfx = PX/dx;
FX = cumsum(PX);plot(X,fx,X,FX)
M1 = (t>=1)&(u>=1);
P1 = total(M1.*P)P1 = 2312 % Theoretical = 41/179 = 0.2291
M2 = (t<=1)&(u<=1);
P2 = total(M2.*P)P2 = 0.1003 % Theoretical = 18/179 = 0.1006
M3 = u<=min(t,3-t);
P3 = total(M3.*P)P3 = 0.7003 % Theoretical = 1001/1432 = 0.6990
for ,
Region is in two parts:
tuappr
Enter matrix [a b]of X-range endpoints [0 2]
Enter matrix [c d]of Y-range endpoints [0 2]
Enter number of X approximation points 200Enter number of Y approximation points 200
Enter expression for joint density (12/227)*(3*t+2*t.*u).* ...(u<=min(1+t,2))
Use array operations on X, Y, PX, PY, t, u, and PM1 = (t<=1/2)&(u<=3/2);
P1 = total(M1.*P)P1 = 0.0384 % Theoretical = 139/3632 = 0.0383
M2 = (t<=3/2)&(u>1);
P2 = total(M2.*P)P2 = 0.3001 % Theoretical = 68/227 = 0.2996
M3 = u<t;
P3 = total(M3.*P)P3 = 0.6308 % Theoretical = 144/227 = 0.6344
for ,
Region bounded by
tuappr
Enter matrix [a b]of X-range endpoints [0 2]
Enter matrix [c d]of Y-range endpoints [0 2]
Enter number of X approximation points 400Enter number of Y approximation points 400
Enter expression for joint density (2/13)*(t+2*u).*(u<=min(2*t,3-t))
Use array operations on X, Y, PX, PY, t, u, and PP1 = total((t<1).*P)
P1 = 0.3076 % Theoretical = 4/13 = 0.3077M2 = (t>=1)&(u<=1);
P2 = total(M2.*P)P2 = 0.3844 % Theoretical = 5/13 = 0.3846
P3 = total((u<=t/2).*P)
P3 = 0.3076 % Theoretical = 4/13 = 0.3077
for .
Region is rectangle bounded by
tuappr
Enter matrix [a b]of X-range endpoints [0 2]
Enter matrix [c d]of Y-range endpoints [0 1]
Enter number of X approximation points 400Enter number of Y approximation points 200
Enter expression for joint density (3/8)*(t.^2+2*u).*(t<=1) ...
+ (9/14)*(t.^2.*u.^2).*(t>1)
Use array operations on X, Y, PX, PY, t, u, and PM = (1/2<=t)&(t<=3/2)&(u<=1/2);
P = total(M.*P)P = 0.1228 % Theoretical = 55/448 = 0.1228
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?