Editing Statistics and Statistical Programming (Spring 2019)/Problem Set: Week 2

From CommunityData

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
:'''PC0.''' Create a new project and RMarkdown script for this week's problem set.
:'''PC0.''' Create a new project and RMarkdown script for this week's problem set.
:'''PC1.''' Run the following command (just once!) at the R console: <code> sample(x=c(1:20), size=1)</code>. The output of the command is your group number for this assignment (''Optional bonus'': Explain what this command does.).
:'''PC1.''' Run the following command (just once!) at the R console: <code> sample(x=c(1:20), size=1)</code>. The output of the command is your group number for this assignment (''Optional bonus'': Explain what this command does.).
:'''PC2.''' Navigate to the [https://communitydata.cc/~ads/teaching/2019/stats/data data repository for the course] and download the RData file in the <code>week_02</code> subdirectory with your group number from PC1 associated with it (e.g., <code>group_<output>.Rdata</code>).  
:'''PC2.''' Navigate to the [https://communitydata.cc/~ads/teaching/2019/stats/data data repository for the course] and download the RData file in the <code>week_02</code> subdirectory with the output of PC1 associated with it (e.g., <code>group_<output>.Rdata</code>).  
:'''PC3.''' Load that file into R. It should contain one variable. Find that variable!
:'''PC3.''' Load that file into R. It should contain one variable. Find that variable!
:'''PC4.'''  Compute and present summary statistics for your variable. Be sure to include the minimum, maximum, mean, median, variance, standard deviation, and interquartile range.
:'''PC4.'''  Compute and present summary statistics for your variable. Be sure to include the minimum, maximum, mean, median, variance, standard deviation, and interquartile range.
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)