Editing Statistics and Statistical Programming (Fall 2020)/pset1
From CommunityData
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 23: | Line 23: | ||
::<code>set.seed(<your.birthdate>)</code></br> | ::<code>set.seed(<your.birthdate>)</code></br> | ||
::<code>sample(x= c(1:20), size=1))</code> | ::<code>sample(x= c(1:20), size=1))</code> | ||
# Navigate to the [https://communitydata.science/~ads/teaching/2020/stats/data data repository for the course] and | # Navigate to the [https://communitydata.science/~ads/teaching/2020/stats/data data repository for the course] and download the RData file in the <code>week_02</code> subdirectory with your dataset number from PC2.1 (e.g., <code>group_<output>.Rdata</code> where <output> is replaced with the dataset number). | ||
# | # Find and load the .Rdata file for your dataset number into R. It should contain one variable. Find that variable! | ||
# Calculate summary statistics for your variable. Be sure to include the length, minimum, maximum, mean, and standard deviation. | # Calculate summary statistics for your variable. Be sure to include the length, minimum, maximum, mean, and standard deviation. | ||
# Create a visualization of your variable: at the very least, create a boxplot or a histogram. | # Create a visualization of your variable: at the very least, create a boxplot or a histogram. |