Editing Statistics and Statistical Programming (Winter 2021)/Problem set 3

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 1: Line 1:
{{statsuw2021}}
{{statsuw2021}}


== OpenIntro Excercises ==
== Statistical Questions ==


* Complete '''exercises from OpenIntro §2:''' 2.12, 2.13, 2.16, 2.20, 2.23, 2.30 (and remember that solutions to odd-numbered problems are in the book!)
* Complete '''exercises from OpenIntro §2:''' 2.12, 2.13, 2.16, 2.20, 2.23, 2.30 (and remember that solutions to odd-numbered problems are in the book!)
== Programming Challenges ==
Because this is our first week, the programming challenges are setup tasks you can do to prepare you to complete future programming challenges.
:'''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 from the [https://www.rstudio.com/products/rstudio/download/ the RStudio download page] choosing an option 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 and PDF. I recommend reproducing and extending some of the examples from the first ''COM520 R Tutorial #2'' such as the following:
* Complete an arithmetic problem
* Assign multiple values to a variable.
* Perform an operation on your variable (e.g., create a variable called <code>x</code> that contains a set of numerical values and multiply it by some other number.
* Create variables of different classes and get R to tell you the class of each variable using the <code>class()</code> function.
* Perform a logical comparison on the values of a variable (e.g., can you print the values of the <rivers> dataset that are less than 500?)
* Install and load a library. Try the <code>openintro</code> package that accompanies our textbook.
:'''PC4.''' Upload your .Rmd file and knitted .pdf file to [https://canvas.northwestern.edu/courses/122522/assignments/ the appropriate assignment on Canvas].
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)

Templates used on this page: