Questions
The National Football League (NFL) records a variety of performance data for individuals and teams. To...

The National Football League (NFL) records a variety of performance data for individuals and teams. To investigate the importance of passing on the percentage of games won by a team, the following data show the conference (Conf), average number of passing yards per attempt (Yds/Att), the number of interceptions thrown per attempt (Int/Att), and the percentage of games won (Win%) for a random sample of 16 NFL teams for one full season.

Team Conf Yds/Att Int/Att Win%
Arizona Cardinals NFC 6.5 0.042 50.0
Atlanta Falcons NFC 7.1 0.022 62.5
Carolina Panthers NFC 7.4 0.033 37.5
Cincinnati Bengals AFC 6.2 0.026 56.3
Detroit Lions NFC 7.2 0.024 62.5
Green Bay Packers NFC 8.9 0.014 93.8
Houstan Texans AFC 7.5 0.019 62.5
Indianapolis Colts AFC 5.6 0.026 12.5
Jacksonville Jaguars AFC 4.6 0.032 31.3
Minnesota Vikings NFC 5.8 0.033 18.8
New England Patriots AFC 8.3 0.020 81.3
New Orleans Saints NFC 8.1 0.021 81.3
Oakland Raiders AFC 7.6 0.044 50.0
San Francisco 49ers NFC 6.5 0.011 81.3
Tennessee Titans AFC 6.7 0.024 56.3
Washington Redskins NFC 6.4 0.041 31.3

(a)

Develop the estimated regression equation that could be used to predict the percentage of games won given the average number of passing yards per attempt. (Round your numerical values to one decimal place. Let x1 represent Yds/Att and y represent Win%.)

ŷ = ____________

(b)

Develop the estimated regression equation that could be used to predict the percentage of games won given the number of interceptions thrown per attempt. (Round your numerical values to the nearest integer. Let x2 represent Int/Att, and y represent Win%.)

ŷ = __________

(c)

Develop the estimated regression equation that could be used to predict the percentage of games won given the average number of passing yards per attempt and the number of interceptions thrown per attempt. (Round your numerical values to the nearest integer. Let x1 represent Yds/Att, x2 represent Int/Att, and y represent Win%.)

ŷ = _________

(d)

The average number of passing yards per attempt for a certain team was 6.1 and the number of interceptions thrown per attempt was 0.038. Use the estimated regression equation developed in part (c) to predict the percentage of games won by the team. (Round your answer to one decimal place.)

___________ %

For this season the team's record was 7 wins and 9 losses. Compare your prediction to the actual percentage of games won by the team.

_____The predicted value is higher than the actual value.

_____The predicted value is lower than the actual value.    

_____The predicted value is identical to the actual value.

In: Statistics and Probability

DATAfile: NFLPassing A statistical program is recommended. The National Football League (NFL) records a variety of...

DATAfile: NFLPassing

A statistical program is recommended.

The National Football League (NFL) records a variety of performance data for individuals and teams. To investigate the importance of passing on the percentage of games won by a team, the following data show the conference (Conf), average number of passing yards per attempt (Yds/Att), the number of interceptions thrown per attempt (Int/Att), and the percentage of games won (Win%) for a random sample of 16 NFL teams for one full season.

Team Conf Yds/Att Int/Att Win%
Arizona Cardinals NFC 6.5 0.042 50.0
Atlanta Falcons NFC 7.1 0.022 62.5
Carolina Panthers NFC 7.4 0.033 37.5
Cincinnati Bengals AFC 6.2 0.026 56.3
Detroit Lions NFC 7.2 0.024 62.5
Green Bay Packers NFC 8.9 0.014 93.8
Houstan Texans AFC 7.5 0.019 62.5
Indianapolis Colts AFC 5.6 0.026 12.5
Jacksonville Jaguars AFC 4.6 0.032 31.3
Minnesota Vikings NFC 5.8 0.033 18.8
New England Patriots AFC 8.3 0.020 81.3
New Orleans Saints NFC 8.1 0.021 81.3
Oakland Raiders AFC 7.6 0.044 50.0
San Francisco 49ers NFC 6.5 0.011 81.3
Tennessee Titans AFC 6.7 0.024 56.3
Washington Redskins NFC 6.4 0.041 31.3

(a)

Develop the estimated regression equation that could be used to predict the percentage of games won given the average number of passing yards per attempt. (Round your numerical values to one decimal place. Let x1 represent Yds/Att and y represent Win%.)

ŷ =

(b)

Develop the estimated regression equation that could be used to predict the percentage of games won given the number of interceptions thrown per attempt. (Round your numerical values to the nearest integer. Let x2 represent Int/Att, and y represent Win%.)

ŷ =

(c)

Develop the estimated regression equation that could be used to predict the percentage of games won given the average number of passing yards per attempt and the number of interceptions thrown per attempt. (Round your numerical values to the nearest integer. Let x1 represent Yds/Att, x2 represent Int/Att, and y represent Win%.)

ŷ =

(d)

The average number of passing yards per attempt for a certain team was 6.1 and the number of interceptions thrown per attempt was 0.034. Use the estimated regression equation developed in part (c) to predict the percentage of games won by the team. (Round your answer to one decimal place.)

______%

For this season the team's record was 7 wins and 9 losses. Compare your prediction to the actual percentage of games won by the team.

The predicted value is higher than the actual value.

The predicted value is identical to the actual value.    

The predicted value is lower than the actual value.

In: Statistics and Probability

A statistical program is recommended. The National Football League (NFL) records a variety of performance data...

A statistical program is recommended.

The National Football League (NFL) records a variety of performance data for individuals and teams. To investigate the importance of passing on the percentage of games won by a team, the following data show the conference (Conf), average number of passing yards per attempt (Yds/Att), the number of interceptions thrown per attempt (Int/Att), and the percentage of games won (Win%) for a random sample of 16 NFL teams for one full season.

Team Conf Yds/Att Int/Att Win%
Arizona Cardinals NFC 6.5 0.042 50.0
Atlanta Falcons NFC 7.1 0.022 62.5
Carolina Panthers NFC 7.4 0.033 37.5
Cincinnati Bengals AFC 6.2 0.026 56.3
Detroit Lions NFC 7.2 0.024 62.5
Green Bay Packers NFC 8.9 0.014 93.8
Houstan Texans AFC 7.5 0.019 62.5
Indianapolis Colts AFC 5.6 0.026 12.5
Jacksonville Jaguars AFC 4.6 0.032 31.3
Minnesota Vikings NFC 5.8 0.033 18.8
New England Patriots AFC 8.3 0.020 81.3
New Orleans Saints NFC 8.1 0.021 81.3
Oakland Raiders AFC 7.6 0.044 50.0
San Francisco 49ers NFC 6.5 0.011 81.3
Tennessee Titans AFC 6.7 0.024 56.3
Washington Redskins NFC 6.4 0.041 31.3

(a) Develop the estimated regression equation that could be used to predict the percentage of games won given the average number of passing yards per attempt. (Round your numerical values to one decimal place. Let x1 represent Yds/Att and y represent Win%.)

ŷ = ______________.

(b) Develop the estimated regression equation that could be used to predict the percentage of games won given the number of interceptions thrown per attempt. (Round your numerical values to the nearest integer. Let x2 represent Int/Att, and y represent Win%.)

ŷ = ________________.

(c)Develop the estimated regression equation that could be used to predict the percentage of games won given the average number of passing yards per attempt and the number of interceptions thrown per attempt. (Round your numerical values to the nearest integer. Let x1 represent Yds/Att, x2 represent Int/Att, and y represent Win%.)

ŷ = ________________.

(d)The average number of passing yards per attempt for a certain team was 6.1 and the number of interceptions thrown per attempt was 0.038. Use the estimated regression equation developed in part (c) to predict the percentage of games won by the team. (Round your answer to one decimal place.)

_____________ %

For this season the team's record was 7 wins and 9 losses. Compare your prediction to the actual percentage of games won by the team.

A)The predicted value is identical to the actual value.

B)The predicted value is higher than the actual value.

C)The predicted value is lower than the actual value.

In: Statistics and Probability

Please see the java code below and amend it according to these requirements: * Do not...

Please see the java code below and amend it according to these requirements:

* Do not remove any of the code within the public interface to the class, only add code to test the additional functionality

*Limit items in each instance

*Allow the last item entered to be deleted

The CashRegister class should be modified to limit the number of items that can be added to an instance of the CashRegister. The limit should be declared as a constant in such a way that all instances of the CashRegisterFixedSize have the same limit. The CashRegisterFixedSize class should also have a new instance method, undo(), that removes the last item entered into an instance.

Hints: To implement the additional functionality required, it is recommended that you use an array to store each item’s price within the CashRegisterFixedSize class.

You should adapt the count variable so it can be used to set the index of the array – this will be used store each entry, calculate the total price and when removing the last entered item. The getTotal() method will need to be modified to calculate the total of all values stored in the array. A loop construct is ideal for this. When implementing the undo()method, the value stored in the variable count should be considered.

The code:

public class CashRegister
{
private int itemCount;
private double totalPrice;
public void addItem (double price)

{
itemCount ++;
totalPrice = totalPrice + price;
}
public void clear ()
{
itemCount = 0;
totalPrice = 0;
}

public double getTotal()
{
return totalPrice;
}
  
public int getCount()
{
return itemCount;
}
public CashRegister()
{
itemCount = 0;
totalPrice = 0;
}
}

In: Computer Science

A weapons manufacturer uses a liquid propellant that can get mixed with another liquid to produce...

A weapons manufacturer uses a liquid propellant that can get mixed with another liquid to produce a contaminated cartridge. A statistician found that 24​% of the cartridges in the particular lot were contaminated. Suppose you randomly sample​ (without replacement) gun cartridges from this lot until you find a contaminated one. Let x be the number of cartridges sampled until a contaminated one is found. It is known that the probability distribution for x is given by the formula shown below. Complete parts a through c. p left parenthesis x right parenthesis equals left parenthesis 0.24 right parenthesis left parenthesis 0.76 right parenthesis Superscript x minus 1​, xequals​1, 2​ ,3 ,... a. Find ​p(1​). Interpret this result. ​p(1​)equals nothing ​(Round to three decimal places as​ needed.) What is the correct interpretation for ​p(1​)? A. This value is the probability that one would encounter a contaminated cartridge on the first trial. B. This value is the probability that one would encounter a contaminated cartridge in one hundred trials. C. This value is the probability that one would encounter a​ non-contaminated cartridge on the first trial. b. Find ​p(5​). Interpret this result. ​p(5​)equals nothing ​(Round to three decimal places as​ needed.) What is the correct interpretation for ​p(5​)? A. This value is the probability that one would first encounter 5 contaminated cartridge in one hundred trials. B. This value is the probability that one would first encounter a contaminated cartridge on the fifth trial. C. This value is the probability that one would first encounter a​ non-contaminated cartridge on the fifth trial. c. Find ​P(xgreater than or equals​2). Interpret this result. Upper P left parenthesis x greater than or equals 2 right parenthesisequals nothing ​(Round to three decimal places as​ needed.) What is the correct interpretation for ​P(xgreater than or equals​2)?

In: Statistics and Probability

Before Fuel Injection. Some automobile engines (mainly older ones) use a carburetor to turn the liquid...

Before Fuel Injection. Some automobile engines (mainly older ones) use a carburetor to turn the liquid fuel into vapor and mix it with air for combustion. The basic principle of carburetion is shown in Figure P10.82. A piston moves down in the cylinder thereby moving air from the outside through the carburetor by way of an air filter and into the carburetor. The filtered air enters from the left of Figure P10.82 and moves into the main intake, a tube of diameter 4.2 cm, with velocity v = 10 m/s. The air must pass through a region of the intake that has a smaller diameter. Determine what diameter would be needed cause a change in pressure such that fuel from the reservoir is pulled into the airflow. The surface of the fuel in the reservoir is h = 37 cm below the bottom of the intake and the density of the fuel is 0.45 that of water. Use 1000 kg/m^3 for the density of water and 1.29 kg/m^3 for the density of air

In: Physics

An elementary irreversible gas-phase reaction, A -> 2B, is taking place in an isothermal batch reactor....

An elementary irreversible gas-phase reaction, A -> 2B, is taking place in an isothermal batch reactor. Assume ideal gas behavior for both species. Initially, the reactor contains only the reactant A at a pressure of 5.0 atm, a volume of 20.0 L, and a temperature of 400 K. The rate constant at this temperature is 0.25 min-1. Find the time required for the concentration of A to drop below 5% of its initial value in these two scenarios:

(a) A constant volume batch reactor (pressure increases over time)
(b) A constant pressure batch reactor, or equivalently a piston (volume increases over time).
(c) Comparing the times required from parts (a) and (b): If they are equal, why do you think this is the case, despite the different conditions? In the other possibility where one reactor reached the specified concentration sooner, why? What can you say about how conversion compares in the two reactors?

In: Other

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida.


To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account.

Determine the equation for computing Gustin’s profit per seminar, given values of the relevant parameters.

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account. What type of random variable is the number of new accounts opened? Hint: Review Appendix 16.1 for descriptions of various types of probability distributions.

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account.

Construct a spreadsheet simulation model to analyze the profitability of Gustin’s seminars (you'll upload this in the last question of the test). Would you recommend that Gustin continue running the seminars? Why?

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account.

How large of an audience does Gustin need before a seminar’s expected profit is greater than zero? (Enter the number only)

In: Finance

A. The following probability table contains a list of events that two companies stated as reasons...

A. The following probability table contains a list of events that two companies stated as reasons for eliminating jobs in the United States.    

Automation

Outsourcing

Offshoring

Total

Company A

.07

.4

.1

.57

Company B

.03

.3

.1

.43

Total

.1

.7

.2

1

What is the probability that a randomly selected US job was neither eliminated by Company B nor eliminated because of outsourcing?

B. An Ear, Nose and Throat (ENT) medical practice collected information on 200 patients who had throat illnesses the previous year. The study investigated whether the cause of their illnesses was either bacterial or viral. The observed frequencies are shown in the following table.    

Pharyngitis

Laryngitis

Total

Bacterial

29

37

66

Viral

46

88

134

Total

75

125

200

What is the probability that a randomly selected patient had a bacterial throat illness given that the patient had pharyngitis?

C. The following table summarizes the number of cavities of 600 elementary students who live in districts within the city that either fluoridate or do not fluoridate their water supply.    

Number of Cavities

1

2

3

4

Total

Fluoridated

142

94

31

36

303

Non-Fluoridated

110

79

69

39

297

Total

252

173

100

75

600


What is the probability that a randomly selected student has 2 cavities given that he/she lives in a district with fluoridated water?

D. The accounting and human resource (HR) departments of a large company recently hired 35 new employees. The departments recorded how long it took newly hired employees to earn a raise. The data are summarized in the following frequency table.   

6 months

12 months

18 months

24 months

Total

Accounting

3

5

10

4

22

HR

1

5

4

3

13

Total

4

10

14

7

35


What is the probability that a randomly selected new employee earned a raise in 6 months given that he/she works in the accounting department?

Please explain each step because Im very confused with all of it, thank you!

In: Statistics and Probability

This has to be a C program - Here is a simplified set of rules that...

This has to be a C program -

Here is a simplified set of rules that show how a dive is judged at a competition like the Olympics:

  • Each different kind of dive is given a "degree of difficulty". The limits on degrees of difficulty keep changing as competitors perform increasingly difficult dives, but for this assignment the degree of difficulty of each dive must be between 1 and 5 inclusive.
  • The number of judges varies with the event, but for this assignment there will be 8 judges.
  • When a diver makes a dive, each judge gives a mark between 0 to 10 to describe how well the diver executed the dive.
  • To compute the score for a dive, you take the marks from the judges and discard the highest two scores and lowest two scores. Add up the remaining four marks and multiply the sum by the degree of difficulty.

As an example, suppose a diver performs a dive with degree of difficulty 3.2 and the judges' marks were 7, 8, 5, 4, 9.5, 6.5, 9.5 and 8. The two lowest marks are 4 and 5 and the two highest marks are 9.5 and 9.5. The judges will add up the remaining four marks: 7+8+6.5+8=29.5 and multiply by 3.2 to get the diver's score: 94.4. An equivalent approach would be to add up all 8 of the scores and subtract the two lowest and two highest from the total before multiplying by the difficulty. Either way, please note that the marks may not be reported to the program in sorted order.

You must hand in a file called diving.c. It must be a complete C program, including a main function, which will prompt the user for information about a dive and compute the score for the dive. Specifically, the program must prompt the user for the degree of difficulty followed by 8 judge's marks and then print the score for the dive.

Have a look at the sample run shown below and duplicate the look of it as closely as possible.

Your program must contain at least three functions (a main function and at least two others). At least two functions other than main must have at least one parameter and must use their parameters in a non-trivial way. (In other words, just writing a message saying "my parameter is 3" does not count!)

At least two functions other than main must return a result and the function that calls each of them must use the result in a non-trivial way. (In other words, having function f call function g and then having f write a message saying "function g returned 13" does not count!)

Consider using #define statements to create meaningful symbols for following numbers:

  • the minimum score that can be given for a dive (0)
  • the maximum score that can be given for a dive (10)
  • the minimum degree of difficulty (1)
  • the maximum degree of difficulty (5)
  • the number of dives per competitor (8)
  • the number of judges (8)

Using symbols will make your code easier to read, and therefore easier to debug. It will also make your code easier to change. For example, if you ever wanted to modify the program for use at a diving competition with 10 judges instead of 8, you would just have to change one #define. You wouldn't have to look through your whole program to find 8s and read the code carefully to distinguish between 8s used to mean number of judges and 8s used to mean the number of dives per competitor.

Error Hnadling:

Your program must check for the following kinds of errors:

  • A score that is less than 0 or greater than 10.
  • A degree of difficulty that is less than 1 or greater than 5.

If either of these errors occur, your program must print an informative error message and use a default value instead (0 for a score and 1 for a degree of difficulty). "Informative", means an error that tells the user what was wrong – for example "Error: scores must be between 0 and 10" instead of just "Error". You may assume that user will enter only numeric values in answer to your program's prompts.

In: Computer Science