Lab1 Liti Foloifo
pdf
keyboard_arrow_up
School
California State University, Fullerton *
*We aren’t endorsed by this school
Course
338
Subject
Mathematics
Date
Apr 3, 2024
Type
Pages
4
Uploaded by CaptainOstrich4195
Lab #1: Visualizing and Interpreting data Math 338 The goal of this lab is to start getting you comfortable using the Rguroo point-and-click interface and using the software to help visualize and interpret data. Part I. Eye Color Dataset For this part of the lab, we will explore the graphical features of Rguroo using the dataset called HairEyeColor
. This dataset can be found on Titanium. Download the dataset to your desktop. In Rguroo in the left hand column select the dropdown Data
, then select Data Import
. Within Data Import
select Data Frame
, then select the file and select Upload
. Question #1
Once you have imported the data, then if you double click on the dataset name the raw data will show up. If you right click on the dataset name there are many features, one of which is the summary function. Using these features answer the following questions. (a)
How many variables are there in this dataset? There are 3 variables.
(b) Are the variables quantitative or categorical? Categorical.
(c)
Specifically name one of the variables, and state what values it can take. One of the variables is sex, and the values the variable can take are female and male.
(d) How many cases are in this dataset? There are 592 cases.
1
Question #2 Now let’s look at only the variable of Eye color and obtain a barplot of the values. Do this by clicking on the drop menu for Create Plot
and select Barplot
. We first need to select the dataset by clicking the drop down menu of Select a Dataset
; choose HairEyeColor
. Switch from Numerical/Freq
tab to Categorical
tab. Select the Factor 1
drop down menu and click on Eye
. Now, click on the Relative Frequency
selection. Fill in the Labels
for the Title
, X-Axis
, and Y-Axis
. Click on the eye icon to view the bar graph. Copy the Barplot
and paste it below. 2
Question #3 You can add the specific percentage of each category as well as other features by clicking on the Details
tab. To add the specific percentages, go to Bar, Value Labels, Error Bars
and select Add Value Labels
. Press the eye icon to see the change. Copy the new more detailed Barplot
and paste it below. Question #4
Based on your Barplot
in the previous question, which category has the most people? Which has the least? Brown eye color has the most people. Green eye color has the least people.
3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Question #5 We can also look at the Eye as a Factor of Gender. This would allow us to visually compare the distribution of Eye Color of males and females. To do this click on the Basics
tab, and select Sex
for the Factor 2
box and select the eye icon. Copy the Barplot
with eye color and gender and paste it below. Question #6
Which color is most prevalent for females; which color for males? For females, brown is the most prevalent eye color. For males, blue is the most prevalent eye color. 4