Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C Programming All arrays must be of fixed-length using a symbolic/defined constant to declare the size. Problem: Given 25 integers as input display the mean

C Programming

All arrays must be of fixed-length using a symbolic/defined constant to declare the size.

image text in transcribed

Problem: Given 25 integers as input display the mean and the sample standard deviation of the data set. Next, identify any outliers in the data set. An outlier will be defined as any value that has a difference with the mean that is greater than 1.5 times the sample standard deviation. Re-calculate the mean and the sample standard deviation without the previously identified outlier data Standard deviation of a sample of size n is given by 1 where zi is the ith datapoint andis the sample mean Example Execution #1: Enter data now: 4 3 6 2 1 7 5 4 9 3 10 436 11 4 6 7 5 8 210 3 7 210 4 Mean of original data: 21.68 Standard Deviation of original data: 56.73 Total Outliers: 2 Mean without outliers: 5.30 Standard Deviation without outliers: 2.57 Example Execution #2: Enter data now: 4 3 6 2 1 7 5 4 9 3 10 436 11 4 6 7 5 8 80 3 7 210 4 Mean of original data: 16.48 Standard Deviation of original data: 43.06 Total Outliers: 1 Mean without outliers: 8.42 Standard Deviation without outliers: 15.45 All course programming and documentation standards are in effect for this and each assignment this semester. Please review this document! Example Execution #3 (data set contains zero outliers): Enter data now: 9 10 15 20 23 23 20 15 10 11 14 12 17 22 17 9 11 19 21 19 13 13 23 23 18 Mean of original data: 16.28 Standard Deviation of original data: 4.88

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago