Docsity

Practice Exam 1 Questions - System Modeling/Simulation | ECE 5800, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
Interval Empirical
Frequency
Expected
Frequency
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00
4
5
2
5
23
38
46
64
69
86
110
111
94
81
78
85
44
52
5
6
0.09
1.15
4.62
11.07
20.64
32.87
46.95
61.78
76.06
88.49
97.77
102.81
102.77
97.22
86.26
70.55
51.54
31.49
13.62
2.23
ECE 580
Verifying Goodness of Fit
Example:Verify g oodn ess o f fit for r ando m variates generated for the Beta di stribution defined by
using the Chi square test.
Solution: 1. Generate the random variates.
for i=1 to 1000
[1] x1=RND
y1=2.1*RND
if then goto [1]
x(i)=x1
print x(i)
next i
2. Determine the expected number frequency for each bin interval.
3. Tabulate, graph and compute P2.

Partial preview of the text

Download Practice Exam 1 Questions - System Modeling/Simulation | ECE 5800 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

Interval Empirical Frequency

Expected Frequency

ECE 580

Verifying Goodness of Fit

Example : Verify goodness of fit for random variates generated for the Beta distribution defined by

using the Chi square test.

Solution : 1. Generate the random variates.

for i =1 to 1000

[1] x 1 =RND

y 1 =2.1*RND

if then goto [1]

x ( i )= x 1

print x ( i )

next i

2. Determine the expected number frequency for each bin interval.

3. Tabulate, graph and compute P^2.