Running head: BASIC DATA ANALYSIS IN R STUDIO 1
Basic Data Analysis in R Studio
Srilekha Rajam
University of the Cumberland’s
2nd Feb 2020
BASIC DATA ANALYSIS IN R STUDIO 2
Summary statistics for the dataset
Create a correlation of stats for the dataset. (provide a screen shot) (Hint: Transform may
be needed)
BASIC DATA ANALYSIS IN R STUDIO 3
What is the Min, Max, Median, and Mean of the Price? (provide a screen shot)
What is the correlation values between Price, Ram, and Ads? (provide a screen shot)
BASIC DATA ANALYSIS IN R STUDIO 4
Create a subset of the dataset with only Price, CD, and Premium. (provide a screen shot)
Create a subset of the dataset with only Price, HD, and Ram where Price is greater than
or equal to $1750. (provide a screen shot)
BASIC DATA ANALYSIS IN R STUDIO 5
What percentage of Premium computers were sold? (provide a screen shot) (Hint:
Categorical analysis).
Percentage of Premium computers were sold was 90.2%
BASIC DATA ANALYSIS IN R STUDIO 6
How many Premium computers with CDs were sold? (provide a screen shot)(Hint:
Contingency table analysis)
Premium computers with CDs that were sold were 2823 as indicated in the table below
How many Premium computers with CDs priced over $2000 were sold? (provide a
screen shot) (Hint: Conditional table analysis)
1937 Premium computers with CDs priced over $2000 were sold as in the output below
BASIC DATA ANALYSIS IN R STUDIO 7