Home / Expert Answers / Computer Science / the-standard-deviation-is-a-statistical-measurement-of-the-amount-a-number-varies-from-the-average-n-pa850

(Solved): The Standard deviation is a statistical measurement of the amount a number varies from the average n ...



The Standard deviation is a statistical measurement of the amount a number varies from the average number in a series. A low standard deviation means that the data is very closely related to the average, thus very reliable. A high standard deviation means that there is a large variance between the data and the statistical average, and is not as reliable.

A weather reporter is analyzing the high temperatures forecasted for a particular city by two different models. The model with the lowest standard deviation would show them the more reliable forecast.

Write a program that prompts the user for the reporter's name and id, and the week's high temperatures (in Fahrenheit) forecasted by two weather forecasting models. Calculate and display the standard deviation for each model to help the reporter identify the most reliable one.


student submitted image, transcription available below
student submitted image, transcription available below
Standard Deviation The Standard deviation is a statistical measurement of the amount a number varies from the average number in a series. A low standard deviation means that the data is very closely related to the average, thus very reliable. A high standard deviation means that there is a large variance between the data and the statistical average, and is not as reliable. Example Standard deviation of 1. Calculate the mean (average): 2. Subtract the mean from each value 3. Square each of those differences 4. Determine the average of those square numbers: 2.25) 5. Find the square root of The standard deviation of and 4 is 1.12 Weather Forecasting A weather reporter is analyzing the high temperatures forecasted for a particular city by two different models. The model with the lowest standard deviation would show them the more reliable forecast. Write a program that prompts the user for the reporter's name and id, and the week's high temperatures (in Fahrenheit) forecasted by two weather forecasting models. Calculate and display the standard deviation for each model to help the reporter identify the most reliable one. Implementation Notes Reporter Id, and daily temperatures must be defined as integer values. Read data in the order shown on the Output Sample. Use getline() for strings of characters, and for numeric values. Don't forget to use ignore() to flush the buffer between and getline() / get() Be aware of integer division - type-cast when needed. Display the standard deviations with a precision of 1 decimal place. Make sure to include the manipulators setw(), right/left, fixed, showpoint \& setprecision() as appropriate. Output Sample


We have an Answer from Expert

View Expert Answer

Expert Answer



We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe