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.