My R code is not working when I work with the following data in excel

kabali

Banned User
Joined
Nov 30, 2022
Messages
33
Office Version
  1. 365
Platform
  1. Windows
Hi,

1. Perform basic inspection of the data. Do we have any missing values?
2. What is the datatype of each feature (column)? For example: Scale of variable? Quantitave/Qualitative, Continues/Discrete?
3. Use summary function to display a summary of the features.
4. How many males/females? Plot using a bar plot.
5. How many undergraduate/graduate students? Plot using a bar plot.
6. Is the average SAT score same for graduates and undergraduates?
7. Between men or women? Who reads the newspaper more frequently and which group has more variation? (show using box plots)
8. For age, Hight, and Newspaper readership, calculate the following using R:
a. Measures of location such as mean, median, and mode (where applicable)
b. Measures of variation such as variance, standard deviation and IQR

1675360675015.png
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You have not posted your code, therefore it's impossible for anyone to help.
Please do not expect members here to do your homework for you, if you continue to do this you are likely to get banned.

Post the code & explain where it is going wrong.
 
Upvote 0

Forum statistics

Threads
1,223,939
Messages
6,175,533
Members
452,652
Latest member
eduedu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top