Lab 2A
Directions: Follow along with the slides, completing
the questions in blue on your
computer, and answering the questions in red in your
journal.
Space, Click, Right Arrow or swipe left to move to
the next slide.
R
to answer
statistical investigative questions that can be answered by calculating
the mean, median and MAD.colors
when you load it.names
of the 4 variables
that contain the point-totals, or scores, for each personality
color.names
of the variables that
tell us an observation’s introvert/extrovert designation and whether
they are involved in sports.dotPlot
of
the scores for your predominant color.
dotPlot
comes out looking wonky,
include the nint
and cex
options.dotPlot
:
mean
value of your predominant color score:median
value of your predominant color.
mean
and median
roughly the same? If not, use the dotPlot
you made in the
last slide to describe why.histogram
or
dotPlot
as the horizontal spread.dotPlot
of the scores for your predominant color and then write and run
the code below filling in the blank with the name of your predominant
color:dotPlot
and
numerical summaries.dotPlot
of
your predominant color again; but this time, facet the plot by
the introvert/extrovert variable. Include the layout
option
to stack the plots as well as the nint
and cex
options.mean
or
median
to describe the center of your predominant
color for introverts and extroverts.