联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Algorithm 算法作业Algorithm 算法作业

日期:2019-10-10 10:07

Electronic Keno

Project 3

Overview and Rationale

This assignment is designed to provide you with hands-on experience in using discrete and

continuous probability distributions. In this assignment you will use technology to

generate random samples and explore the samples’ relationship with the underlying

population. Finally, you will have an opportunity to apply the Central Limit Theorem to

inferential statistics.

Course Outcomes

This assignment is directly linked to the following key learning outcomes from the course

syllabus:

CO1: Explore the use of statistical software in data analysis through hands-on

applications

CO2: Create distributions and graphical representation based on given data and identify

which distribution models best fit the data

CO3: Apply the theory of probability to calculate events’ likelihoods, understanding the

differences between experimental and theoretical probabilities (the Law of Large

Numbers), and calculate posterior probabilities by using the Bayes’ Law with emphasis on

applications

CO7: Interpret meaningful relationships and patterns in the data in relation to a given

business question

Assignment Summary

Read the scenario below and follow the instructions in the project description below (Parts

1 and 2) to analyze the data presented in the Excel workbook (Module 3

Project_Keno_v1.xlsx). Complete all parts in R. Submit both the report and the R file. The R

file contains all statistical work. The report should include all your findings along with

important analysis.

Project Description

The game of Keno: keno is an ancient Chinese game that has become popular in recent

years. In one electronic version of this game, a player selects 20 numbers from the set of

numbers 1 through 100. The computer then randomly draws another set of 20 numbers

from the set 1 through 100, and the player is rewarded according to how many of his

selected numbers have been matched by the 20 numbers drawn by the computer.

Part 1

Let X be the number of matches between a player’s 20 selected numbers and the 20

numbers drawn by the computer. Then X may range from 0 (no match) to 20 (all match)

and follows a hyper-geometric probability distribution.

Complete all of the following steps (a – k) in R, using the data in the Part 1 worksheet in

Excel.

a. Construct a tabular probability distribution for X.

b. Construct a tabular cumulative probability distribution for X.

c. Create a graphical probability distribution for X.

d. Create a graphical cumulative probability distribution for X.

e. Calculate the theoretical expected value (mean), the theoretical variance, and the

theoretical standard deviation of X in the spaces provided for those quantities. Interpret

those values in your Word report

f. Generate 1000 random values according to the standard uniform probability

distribution.

g. Use the available tabular cumulative distribution of part (b) to randomly generate 1000

values of X according to the described Hyper-geometric probability distribution.

h. Calculate the experimental (simulated) expected value (mean), the experimental

variance, and the experimental standard deviation of X in the spaces provided for those

quantities.

i. Calculate the experimental means successively after n = 20, 40, 60, 80, 100, 200, 300,

400, 500, 600, 700, 800, 900, and 1000 simulations.

j. For the same values of n, calculate the Theoretical mean of X. Use the fixed value of the

theoretical mean calculated in part (e).

k. Create a line plot of the Experimental mean values versus the number of simulations

(n). Add the horizontal line plot displaying the theoretical mean of X. Run several

simulations of the successive experimental means. Interpret your observation in the

context of the Law of Large Numbers (as the number of simulations become larger, the

experimental values of the means approach to their theoretical value).

Part 2

Complete all of the following steps (a – h) in R, using the data in the Part 2 worksheet in

Excel.

a. A normal population is given in column E of the worksheet. Calculate the mean, the

variance, and the standard deviation of this population.

b. Construct a Relative Frequency Histogram of the given population. Discuss the shape of

the distribution in your report.

c. Using the random sampling method in R, randomly draw 30 samples with each sample

consisting of 30 measurements from this population.

d. For each sample, calculate the sample mean, the sample variance, and the sample

standard deviation in the designated cells.

e. Calculate the average of 30 sample means, the average of 30 sample variances, and the

average of 30 sample standard deviations.

f. Compare your results of part (e) above with those obtained for the population in part

(a). Discuss similarities and contrasts in the context of the Central Limit Theorem.

g. Construct a relative frequency histogram for the 30 sample means obtained from part

(e) above. Comment on the shape of the distribution of the sample means.

h. Summarize your findings of this experiment in your report.

Format & Guidelines

The report should follow the following format:

(i) Introduction

(ii) Analysis

(iii) Conclusion

And be 800-900 words and be presented in the APA format.

The R must be used as outlined in the assignment above.


Rubric

Category Above Standard Meets Standards Approaching

Standards Below Standards

R: Problem Modeling

& Set-up

ALY6010_CO1

Thoroughly and concisely

modeled the problem in R

for each method

Accurately modeled the

problem in R for each

method

Satisfactorily modeled the

problem in R for each

method.

Partially modeled the

problem in R for each

method, but there are some

gaps in the problem

modeling and setup

R: Problem Solution

& Accuracy

ALY6010_CO1

ALY6010_CO2

ALY6010_CO3

Thoroughly and efficiently

obtained correct and

accurate solutions in R by

using the appropriate

analytic tools of the

software

Thoroughly obtained

accurate solutions in R by

using the appropriate

analytic tools of the

software

Satisfactorily obtained

correct solutions in R by

using the appropriate

analytic tools of the

software

Partially obtained accurate

solutions in R by using the

appropriate analytic tools of

the software

Word/Report:

Problem Description

& Introduction

ALY6010_CO7

Thoroughly provided a

summary of the problem

descriptions and introduced

the problem using rich and

significant ideas

Thoroughly provided a

summary of the problem

descriptions and problem

introduction

Satisfactorily provided a

summary of the problem

descriptions and problem

introduction

Partially provided a

summary of the problem

descriptions and problem

introduction

Word/Report:

Description of

Problem Analysis

ALY6010_CO2

ALY6010_CO3

Thoroughly and accurately

described the analytic

concepts and theories used

in analyzing the problem

Accurately described the

analytic concepts and

theories used in analyzing

the problem

Satisfactorily described the

analytic concepts and

theories used in analyzing

the problem

Partially described the

analytic concepts and

theories used in analyzing

the problem

Word/Report:

Description of

Conclusions

ALY6010_CO7

Thoroughly described the

conclusions and results

obtained in the project

using a high level of critical

thinking and reasoning

Thoroughly described the

conclusions and results

obtained in the project

Satisfactorily described the

conclusions and results

obtained in the project

Partially described the

conclusions and results

obtained in the project

Category Above Standard Meets Standards Approaching

Standards Below Standards

Word/Report:

Writing Mechanics,

Title Page, &

References

Completely free of errors in

grammar, spelling, and

punctuation; and

completely correct usage of

title page, citations, and

references. The report

contains a minimum of

1000 words

There are no noticeable

errors in grammar, spelling,

and punctuation; and

completely correct usage of

title page, citations, and

references. The report

contains a minimum of

1000 words

There are very few errors in

grammar, spelling, and

punctuation; and

completely correct usage of

title page, citations, and

references. The report

contains a minimum of

1000 words

There are more than five

errors in grammar, spelling,

and punctuation; or the

usage of title page, citations,

and references are

incomplete; or the report

contains less than 1000

words


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp