Sunday, September 10, 2023

Module 3, Assignment 3

This assignment was designed to show descriptive statistics using R programming. Using two sets of data, I was expected to run R to calculate the mean, median, and mode; the standard deviation (sdx), interquartile range (IQR), and the range. Using the provided format, I calculated the following:

Set 1: 10,2,3,2,4,2,5

Mean=4                                        Range=8

Median=3                                     IQR=3

Mode=2                                        Sdx=3.8444


Set 2: 20,12,13,12,14,12,15

Mean=14                                   Range=8

Median=13                                 IQR=3

Mode=12                                    Sdx=2.886751


The data sets contain a few similar characteristics. Either share an interquartile range and range. However the besides these there are no obvious similarities between the sets. Judging by the calculated Sdx's, the standard deviation for the first set is larger, meaning that the curve will be shifted more left than set 2. 







No comments:

Post a Comment

Final Project

  The compiled file is attached to the submission for this assignment itself. Blogger does not allow word documents to be attached as far as...