# Fundamentals of statistics project | Statistics homework help

This project will verify the randomness of the calculator’s random number generator. The calculator comes with a feature that lets it generate a random number. Your goal is verify if the calculator will generate numbers randomly when asked to generate a number from 1 through 5. If it is truly random, it should follow a uniform distribution (meaning all numbers have equal chance of showing). We will check the number of times the calculator generates the number 3. To do this we will:

- Generate a sample from the calculator.
- Hit [prb]
- Go to RAND
- Pick option 2: randint(
- Enter in [1] [2nd] [ . ] 5
- Press enter to generate data.
- Record which attempt you are on and the value the calculator generated.

i.e.: 1(first attempt): 3(what calculator generated) - Keep pressing enter to generate more data. Record 100 values this way from the calculator.

- Analyzing Binomial Distribution
- Calculate the probability of getting a 3 in one attempt. Recall what numbers the calculator can generate.
- Calculate the expected value (mean of binomial) for the numbers 3’s we should expect to get:
- For a sample size of 50
- For a sample size of 100

- Calculate the standard deviation
- For sample size 50
- For sample size 100

- Calculate the interval of normal values (for getting a 3)
- For sample size 50
- For sample size 100

- Confidence Intervals (based on your sample)

Create confidence intervals based on the different sample sizes and confidence levels based on the proportion of times you got 3’s in your sample.- Confidence interval based on sample size 50, Confidence level 90%
- Confidence interval based on sample size 50, Confidence level 99%
- Confidence interval based on sample size 100, Confidence level 90%
- Confidence interval based on sample size 100, Confidence level 99%

- Making conclusions based on our analysis.
- Compare the two margin of errors for sample size of 50 with the two margin of errors for sample size 100.

Restate the 2 margins of errors for sample size 50 and the two margins of errors for sample size 100.- What did you notice about the of margins of errors as the sample size went up? Are the margins of errors for sample size 50 bigger or are the margins of errors for sample size 100 bigger?
- Which version is the better version? The ones margins of errors for sample size 50 or for sample size 100? Explain why it is better.

- Did the number of 3’s in your sample fall in the interval of normal values based on the binomial distribution? Restate the IoNV and the number of 3’s you had. Followed by – YesNo
- For sample size 50
- For sample size 100

- Did each confidence interval do their job in containing the expected proportion (this is the probability of getting one 3 in one attempt that we calculated in part 1 of binomial distribution)?

Restate each confidence interval along with what sample size and what confidence level was used. Followed by – YesNo.

- Compare the two margin of errors for sample size of 50 with the two margin of errors for sample size 100.

This project involves hypothesis testing. We know the expected value, and run trials to see if we get a number of 3’s that falls in the interval of normal values. We also make confidence intervals to see if we can correctly guess the population proportion using samples. If we get results that are not in the interval of normal values or we get confidence intervals that do not contain the expected proportion, then we question if the expected values are actually the true values.

Based on your results in the study, if you got a normal amounts of 3’s and the proportion of getting a 3 was in all of your confidence intervals, then we can safely assume the calculator is using a random number generator. If not, we may have evidence to suspect that the calculator is not using a random number generator.

Your data and calculations should be neat and organized. And your conclusion must reference your data.