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

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 5: Line 5:
:'''PC1.''' Download and install R — You can do that from [https://cran.rstudio.com/ this webpage] where you will have to choose based on your operating system.
:'''PC1.''' Download and install R — You can do that from [https://cran.rstudio.com/ this webpage] where you will have to choose based on your operating system.
:'''PC2.''' Download and install RStudio — Download and run the "installer" from the "Installers" sections of [https://www.rstudio.com/products/rstudio/download/ the RStudio download page]. You'll want to choose the one that is appropriate for your operating systems (e.g., Windows, Mac OSX, or GNU/Linux).
:'''PC2.''' Download and install RStudio — Download and run the "installer" from the "Installers" sections of [https://www.rstudio.com/products/rstudio/download/ the RStudio download page]. You'll want to choose the one that is appropriate for your operating systems (e.g., Windows, Mac OSX, or GNU/Linux).
:'''PC3.''' (a) Create and save a new RStudio "Project" ('.Rproj'). Then, within your new project, (b) create and save a new RMarkdown file ('.Rmd'). Finally, (c) write a combination of text notes and R code in your RMarkdown file and "knit" the output into HTML.
:'''PC3.''' Create and save a new RStudio "Project" ('.Rproj') that includes a new RMarkdown file ('.Rmd'). Write some text notes and R code in your RMarkdown file and "knit" the output into a PDF.
:'''PC4.''' Compress everything from your project into a "zip" archive (feel free to use some other compression format if you like) and [https://canvas.northwestern.edu/courses/90927/assignments/577504 upload it to Canvas].
:'''PC4.''' Compress everything from your project into a "zip" archive (feel free to use some other compression tool if you like) and upload it to Canvas.


<!---
<!---
Line 14: Line 14:
--->
--->


== Statistical Questions (from OpenIntro) ==
== Statistical Questions ==
'''Exercises from OpenIntro (Diez, Barr, and Çetinkaya-Rundel) §1'''
=== Exercises from OpenIntro §1 ===


:'''SQ0.''' Any questions or clarifications from the OpenIntro text or lecture notes?
:'''SQ1.''' Any questions or clarifications from the OpenIntro text or lecture notes?
:'''SQ1.''' Exercise 1.6 about identifying cases, variables, types, and research questions
:'''SQ2.''' Exercise 1.6 about identifying cases, variables, types, and research questions
:'''SQ2.''' Exercise 1.12 about populations, samples, and generalizability
:'''SQ3.''' Exercise 1.12 about populations, samples, and generalizability
:'''SQ3.''' Exercise 1.52 about means and medians from a histogram
:'''SQ4.''' Exercise 1.52 about means and medians from a histogram
:'''SQ4.''' Exercise 1.56 about skewness and choosing appropriate statistics
:'''SQ5.''' Exercise 1.56 about skewness and choosing appropriate statistics
:'''SQ5.''' Exercise 1.64 about selecting certain types of visualization over others
:'''SQ6.''' Exercise 1.64 about selecting certain types of visualization over others


Several of these questions draw from Study 4 of the following paper (although I don't think it's critical to look at the paper to answer the questions):
Several of these questions draw from Study 4 of the following paper (although I don't think it critical to look back at that paper to answer of the questions):


:Piff, Paul K., Daniel M. Stancato, Stéphane Côté, Rodolfo Mendoza-Denton, and Dacher Keltner. 2012. “Higher Social Class Predicts Increased Unethical Behavior.” ''Proceedings of the National Academy of Sciences'' 109(11):4086–91. [[http://www.pnas.org/content/109/11/4086.full Available through NU Libraries]]
:Piff, Paul K., Daniel M. Stancato, Stéphane Côté, Rodolfo Mendoza-Denton, and Dacher Keltner. 2012. “Higher Social Class Predicts Increased Unethical Behavior.” ''Proceedings of the National Academy of Sciences'' 109(11):4086–91. [[http://www.pnas.org/content/109/11/4086.full Available through NU Libraries]]


== Empirical Paper Questions ==
=== Empirical Paper ===


Read the following paper and answer the questions below Please be prepared to identify parts of the paper that support your claims.
Hopefully many of you will have read this paper already. It's probably the most highly cited (and publicly discussed) paper to come out of communication over the last few years:


:Kramer, Adam D. I., Jamie E. Guillory, and Jeffrey T. Hancock. 2014. “Experimental Evidence of Massive-Scale Emotional Contagion through Social Networks.” ''Proceedings of the National Academy of Sciences'' 111(24):8788–90. [[http://www.pnas.org/content/111/24/8788.full Open access]]
:Kramer, Adam D. I., Jamie E. Guillory, and Jeffrey T. Hancock. 2014. “Experimental Evidence of Massive-Scale Emotional Contagion through Social Networks.” ''Proceedings of the National Academy of Sciences'' 111(24):8788–90. [[http://www.pnas.org/content/111/24/8788.full Available through NU libraries]]
 
Although there are major ethical concerns with the paper, and we'll be coming back and talking about it a number of times this quarter, let's focus on the key issues of research design and the substantive takeaway.
 
For this paper, answer each of these questions and be ready to cite parts of the paper that support each claim:


<!---
Some of you may have read this paper already. It's among the most highly cited (and publicly discussed) paper to come out of communication over the last few years. I believe we will talk about it a few times this quarter, so for now please focus on the research design and substantive takeaways.
--->
:'''EQ1.''' Identify (a) the cases, (b) the variables and their types, and (c) the main research question of this piece.
:'''EQ1.''' Identify (a) the cases, (b) the variables and their types, and (c) the main research question of this piece.
:'''EQ2.''' (a) What do the treatment and control groups consist of in this study? (b) What type of sampling does the study use? (c) Describe the experimental manipulation.
:'''EQ2.''' (a) What do the treatment and control groups consist of in this study? (b) What type of sampling does the study use? (c) Describe the experimental manipulation.
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)