Questions
ROULETTE is a casino game where a numbered wheel spins and a steel ball falls into...

ROULETTE is a casino game where a numbered wheel spins and a steel ball falls into a location marked by one particular colored number. In the United States there are 18 locations colored red, 18 locations colored black and 2 locations colored green. The red and black locations are numbered 1-36 and the green locations are labeled "0" and "00" as shown in the picture to the right. The wheel therefore has 38 locations in total. Note that the odd and even values are not evenly distributed within each color. For any particular wager a player makes, an expected profit can be calculated from: Expected profit = (Prob. of winning) x (winning payout amount) - wager

(b) To “let it ride” is to make a bet and if it wins to make the same bet with the entire payout amount. For example, if you bet $1 on black and win the casino gives you $2, you then "let it ride" by betting that $2 on black and if you win again the casino would give you $4. If the ball were to land on red or green on either spin of the wheel you would lose your wager and the final payout would be $0. What is the expected profit for betting $15 on black and if you win, "letting it ride" once? I.E., betting on black and if you win betting your winnings on black again? (keep in mind that if you lose the first bet you are done; round to closest penny)

In: Statistics and Probability

Objectives • Use the static methods and static fields. •Use the method-call/return mechanism. • Use the...

Objectives

• Use the static methods and static fields.

•Use the method-call/return mechanism.

• Use the random-number generation.

• Overload methods. Problem Specification

Write a program that lets a user play "Rock, Paper, Scissors" against the computer or computer against computer. In user-computer game, the program should ask the user to choose one of the three choices, and then the computer randomly picks one (without knowing what the user has chosen). For this problem, the user should be asked to enter an integer: 1 for rock, 2 for paper, 3 for scissors. Rock beats scissors, scissors beats paper, paper beats rock. The program should say who wins, and then keep playing until someone (the user or the computer) has won 5 rounds. The computer needs to keep track of the current score and should also display it before each round. In computer-computer game, play for 100 rounds and display which object won majority of the times.

Design Specification

• Create Java class RPS.

• Create static variables for storing Score1 and Score2.

• Create a static method getRandom to get random integer between 1 and 3.

• Overload play method like in the below screenshot.

• Play() is for computer vs computer, play(userchoice) is for user vs computer.

in Java, please

In: Computer Science

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1...

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1 year ending on the Monday that this course started. For example, if the current term started on April 1, 2018, then use April 1, 2017 – March 31, 2018. (Use Jan. 5, 2018--Jan. 4, 2019) Do this by clicking on the blue dates after “Time Period”. Next, click the “Apply” button. Next, click the link on the right side of the page that says “Download Data” to save the file to your computer.

Only use the Close values. Assume that the closing prices of the stock form a normally distributed data set. This means that you need to use Excel to find the mean and standard deviation. Then, use those numbers and the methods you learned in sections 6.1-6.3 of the course textbook for normal distributions to answer the questions. Do NOT count the number of data points.

Complete this portion of the assignment within a single Excel file. Show your work or explain how you obtained each of your answers. Answers with no work and no explanation will receive no credit.

  1. a) Submit a copy of your dataset along with a file that contains your answers to all of the following questions.

b) What the mean and Standard Deviation (SD) of the Close column in your data set?

c) If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than the mean for that year? Hint: You do not want to calculate the mean to answer this one. The probability would be the same for any normal distribution.

  1. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at more than $950?
  2. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed within $50 of the mean for that year (between 50 below and 50 above the mean)?
  3. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than $800 per share. Would this be considered unusual? Use the definition of unusual from the course textbook that is measured as a number of standard deviations.
  4. At what prices would Google have to close in order for it to be considered statistically unusual? You will have a low and high value. Use the definition of unusual from the course textbook that is measured as a number of standard deviations.
  5. What are Quartile 1, Quartile 2, and Quartile 3 in this data set? Use Excel to find these values. This is the only question that you must answer without using anything about the normal distribution.
  6. Is the normality assumption that was made at the beginning valid? Why or why not? Hint: Does this distribution have the properties of a normal distribution as described in the course textbook? Real data sets are never perfect, however, it should be close. One option would be to construct a histogram like you did in Project 1 to see if it has the right shape. Something in the range of 10 to 12 classes is a good number.

In: Statistics and Probability

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1...

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1 year ending on the Monday that this course started. Use March 16, 2019 - March 15, 2020 by clicking on the blue dates after "Time Period". Next, click the "Apply" button. Next, click the link on the right side of the page that says "Download Data" to save the file to your computer.

This project will only use the Close values. Assume that the closing prices of the stock form a normally distributed data set. This means that you need to use Excel to find the mean and standard deviation. Then, use those numbers and the methods you learned in sections 6.1-6.3 of the course textbook for normal distributions to answer the questions. Do NOT count the number of data points.

Show the work within a single Excel file. Show your work or explain how you obtained each of your answers. Answers with no work and no explanation will receive no credit.

1.    a) Submit a copy of your dataset along with a file that contains your answers to all of the following questions.

b) What the mean and Standard Deviation (SD) of the Close column in your data set?

c) If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than the mean for that year? Hint: You do not want to calculate the mean to answer this one. The probability would be the same for any normal distribution. (5 points)

2.    If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at more than $1150? (5 points)

3.    If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed within $50 of the mean for that year? (between 50 below and 50 above the mean) (5 points)

4.    If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than $950 per share. Would this be considered unusal? Use the definition of unusual from the course textbook that is measured as a number of standard deviations (5 points)

5.    At what prices would Google have to close in order for it to be considered statistically unusual? You will have a low and high value. Use the definition of unusual from the course textbook that is measured as a number of standard deviations. (5 points)

6.    What are Quartile 1, Quartile 2, and Quartile 3 in this data set? Use Excel to find these values. This is the only question that you must answer without using anything about the normal distribution. (5 points)

7.    Is the normality assumption that was made at the beginning valid? Why or why not? Hint: Does this distribution have the properties of a normal distribution as described in the course textbook? Real data sets are never perfect, however, it should be close. One option would be to construct a histogram like you did in Project 1 to see if it has the right shape. Something in the range of 10 to 12 classes is a good number. (5 points)

In: Statistics and Probability

Question 1 a). i. To estimate the average time it takes to assemble a certain printer...

Question 1
a). i. To estimate the average time it takes to assemble a certain printer component,
the industrial engineer at an electronics firm timed 40 technicians in the performance
of this task, getting a mean of 12.73 minutes and a standard deviation of 2.06
minutes. Construct a 98% confidence interval for the true average time it takes to
assemble the printer component.
ii. A sample of 16 girls gave a mean mass of 35 kg and a standard deviation of 6 kg.
Assuming normality, construct a 96% confidence interval for ?.
iii. A random sample of 20 students obtained a mean of 72 and variance of 16 on a
Mathematics examination. Assuming the scores to be normally distributed, construct a
98% confidence interval for?^2

b. Briefly explain the following:
i) Critical Region
ii) Confidence Coefficient
iii) Alternative Hypothesis
c. A car manufacturer claims that the average weekly income of owners of his car is
$180. An investigator takes a sample of 200 such car owners and finds out that they
have an average weekly income of $184.26 with a standard deviation of $24.12. On
the basis of the sample, do you agree with the manufacturer’s claim?
Test at ? = 5%

Question 2
The masses of packages from a particular machine are normally distributed
with a mean of 200g and a standard deviation of 2g. Find the probability that a
randomly selected package from the machine weighs:
i. Less than 197g
ii. More than 200.5g
iii. Between 198.5 and 199.5g
b) X ~N(-8,12). Find:
i. P(X< -9.8)
ii. P(X > -8.2)
iii. P(-7 < X < 0.5)
Question 2
a. Briefly explain each of the following:
i. Null Hypothesis
ii. Alternative Hypothesis
iii. Critical Region
iv. Type I error
v. Type II error
vi. Significance level
Question 3
a. Let X have the Binomial Distribution with parameters n=8 and p=0.1.
i. What is the set of all possible values of X?
ii. Find:
α.) P(X≥ 7)
β.) P(X<1)
Ȣ.) P(X≥ 1)
b. In a large city, 10% of the people are smokers. A random sample of five (5)
persons is drawn from the city. Find the probability that in this sample:
i. None is a smoker
ii. At least one is a smoker
iii. Four are smokers
iv. Between 1 and 3 both inclusive are smokers.

Question 4
In the study of a certain aquatic organism, large number of samples were taken from a
pond, and the number of organisms in each sample counted. The average number of
organisms per sample was 2. Assuming that the number of organisms follows a Poisson
distribution, find the probability that the next sample taken will contain
a) one or few organisms
b) Exactly 3 organisms
c) More than 5 organisms

Question 5
a) The weekly amount spent for the maintenance and repairs of a waste
management company was observed over a long period of time to be
approximately normally distributed with a mean of ¢300 and a standard deviation
of ¢15.
I. If ¢350 is budgeted for the week, what is the probability that the actual costs
will be less than the budgeted amount.
II. What is the probability that the amount spent on a particular week will be
between ¢270 and ¢400.

In: Statistics and Probability

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1...

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1 year ending on the Monday that this course started. For example, if the current term started on April 1, 2018, then use April 1, 2017 – March 31, 2018. (Do NOT use these dates. Use the dates that match up with the current term.) Do this by clicking on the blue dates after “Time Period”. Next, click the “Apply” button. Next, click the link on the right side of the page that says “Download Data” to save the file to your computer.

This project will only use the Close values. Assume that the closing prices of the stock form a normally distributed data set. This means that you need to use Excel to find the mean and standard deviation. Then, use those numbers and the methods you learned in sections 6.1-6.3 of the course textbook for normal distributions to answer the questions. Do NOT count the number of data points.

Complete this portion of the assignment within a single Excel file. Show your work or explain how you obtained each of your answers. Answers with no work and no explanation will receive no credit.

  1. a) Submit a copy of your dataset along with a file that contains your answers to all of the following questions.

b) What the mean and Standard Deviation (SD) of the Close column in your data set?

c) If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than the mean for that year? Hint: You do not want to calculate the mean to answer this one. The probability would be the same for any normal distribution.

  1. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at more than $950?
  2. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed within $50 of the mean for that year? (between 50 below and 50 above the mean)
  3. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than $800 per share. Would this be considered unusal? Use the definition of unusual from the course textbook that is measured as a number of standard deviations
  4. At what prices would Google have to close in order for it to be considered statistically unusual? You will have a low and high value. Use the definition of unusual from the course textbook that is measured as a number of standard deviations
  5. What are Quartile 1, Quartile 2, and Quartile 3 in this data set? Use Excel to find these values. This is the only question that you must answer without using anything about the normal distribution.
  6. Is the normality assumption that was made at the beginning valid? Why or why not? Hint: Does this distribution have the properties of a normal distribution as described in the course textbook? Real data sets are never perfect, however, it should be close. One option would be to construct a histogram like you did in Project 1 to see if it has the right shape. Something in the range of 10 to 12 classes is a good number.

In: Statistics and Probability

Terrestrial net primary production (NPP) is highest in A. tundra B. boreal forest C. desert rangelands...

Terrestrial net primary production (NPP) is highest in

A. tundra B. boreal forest C. desert rangelands D. tropical rain forests E. eastern deciduous forests

In: Biology

Explain the trade-offs of taking care of a love one and attending college. List the alternatives...

Explain the trade-offs of taking care of a love one and attending college. List the alternatives you had, identify the highest valued alternative and explain your final decision?

In: Economics

According to the Chicago Boys, why did the Shock Therapy supported by the Pinochet government and...

According to the Chicago Boys, why did the Shock Therapy supported by the Pinochet government and the Chicago Boys succeeded in making Chile one of the highest income countries in Latin America?

In: Economics

Discuss the role of an administrator as a coach? What are the differences between being a...

Discuss the role of an administrator as a coach? What are the differences between being a teacher and a coach? How do positive academic leaders motivate other to achieve the highest possible standards?

In: Psychology