Module #9 Visualization in R

 For this assignment, I chose the “BenderlyZwick” dataset that was on the website provided to us. Using the following R code I created three visualizations, a histogram of “returns”, a scatter plot of “growth” vs “inflation”, and a box plot of “growth2” 




This is the histogram for “returns”, it represents the frequency distribution of the “returns” variable from the dataset. Each bar represents the count of “returns” that fall within the range defined by the bin width. For example, a bar at 0 returns with a height of 3 mean that there are 3 instances in the dataset where the “returns” value falls within the range of [0, 1).



This is the histogram for “growth” vs “inflation”, each point represents a row in the dataset, with its x-coordinate corresponding to the “growth” value and its y-coordinate corresponding to the “inflation” value. From the scatter plot, it shows that the data points are more concentrated between 2.5 and 5.0 on the growth axis and between 0 and 6 on the inflation axis. This suggest the most of the data falls within these ranges. 



This is the box plot for the “growth2” variable in the dataset. It represents the five-number summary of the “growth2” variable. The lower quartile is at approximately 0, the median is also about 0 and the upper quartile is at approximately 0.3. There are not outliers or extreme values indicated n the plot, suggesting there is no significant skewness or kurtosis. 




Comments