Editing Statistics and Statistical Programming (Winter 2017)/Problem Set: Week 3
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 5: | Line 5: | ||
== Programming Challenges == | == Programming Challenges == | ||
:'''PC0.''' Check the [https://wiki.communitydata.cc/Statistics_and_Statistical_Programming_(Winter_2017)/List_of_student_git_repositories list of GitHub repositories page] here. A few of you (Maggie, Luyue, and Janny) named yours something like "week_02." Although there's no problem with this, it might cause confusion going forward when you add homework for future | :'''PC0.''' Check the [https://wiki.communitydata.cc/Statistics_and_Statistical_Programming_(Winter_2017)/List_of_student_git_repositories list of GitHub repositories page] here. A few of you (Maggie, Luyue, and Janny) named yours something like "week_02." Although there's no problem with this, it might cause confusion going forward when you add homework for future works. So if you're Maggie, Janny, and Luyue, I recommend that you create and push a new repository/directory with a more generic name which you can use for all your future assignments. For everybody else, please copy your files and work for this (and all future) problem sets into the same repository you used last time. | ||
:'''PC1.''' In the [https://github.com/makoshark/uwcom521-assignments/ class assignments GitHub repository] (uwcom521-assignments), I've uploaded a new dataset for each person in the class in the subdirectory <code>week_03</code>. Sync my repository, find your file, copy into your homework directory which is managed by Git. Commit your dataset file into your personal homework git repository. | :'''PC1.''' In the [https://github.com/makoshark/uwcom521-assignments/ class assignments GitHub repository] (uwcom521-assignments), I've uploaded a new dataset for each person in the class in the subdirectory <code>week_03</code>. Sync my repository, find your file, copy into your homework directory which is managed by Git. Commit your dataset file into your personal homework git repository. | ||
:'''PC2.''' Open the dataset in a spreadsheet (Google Docs, Excel, etc) to take a look at it. It's often a good idea to open it in NotePad as well so you can look at the structure of the "raw data." If you want to generate statistics or visualize things, that | :'''PC2.''' Open the dataset in a spreadsheet (Google Docs, Excel, etc) to take a look at it. It's often a good idea to open it in NotePad as well so you can look at the structure of the "raw data." If you want to generate statistics or visualize things, that might be OK. Manually inspecting the raw data is often a useful step. | ||
:'''PC3.''' Load the CSV file into R. Also make sure that you loaded the week 2 dataset file. | :'''PC3.''' Load the CSV file into R. Also make sure that you loaded the week 2 dataset file. | ||
:''' | :'''PC3.''' Get to know your data! Do whatever is necessary to summarize the dataset. Now many columns and rows are there? What are the range of variables? What are the appropriate summary statistics to report for each variable? What are the ranges, minimum, maximums, medians, medians, standard deviations of the variables of variables? Draw histograms. | ||
:''' | :'''PC4.''' Compare the <code>week2.dataset</code> vector with the first column (<code>x</code>) of the data frame. I mentioned in the video lecture that they are similar? Do you agree? How similar? Write R code to demonstrate or support this answer convincingly? | ||
:''' | :'''PC5.''' Visualize the data using <code>ggplot2</code>. Graphing x on the x-axis and y on the y-axis seem pretty reasonable! If only it were always so easy! | ||
:''' | :'''PC6.''' | ||
:''' | :'''PC7.''' | ||
:''' | :'''PC8.''' | ||
:''' | :'''PC9.''' | ||
== Statistical Questions == | == Statistical Questions == |