Posts

Week 2 Assignment

  Week 2 Assignment Wk 2 Assignment: Chapter 5 from the  Hands-on Programming with R Submit a fully documented and executed R-Markdown  ("knit" as pdf / word or html)  file R program replicating the code from the following sections of chapter 5: 5.1, 5.3, 5.4, 5.7, 5.8 Replicate and run every line of code listed in the above sections in R studio on your own machine

Week 1 Assignment – Data Science Tools

  Week 1 Assignment – Data Science Tools   Introduction to R on DataQuest.com There are two parts to this assignment: 1) Finish the first course  Introduction to R  on DataQuest.com. The main objective of this short course is to introduce the foundational concepts and the data structures in R. The course is divided into six missions, you are required to finish the below (which are free of cost) as follows: Introduction to programming in R Working with Vectors   The assignment is to take screenshots of the completion of the three missions, paste them in a word document and submit. 2) Open R-Studio on your computer and start a new script. Now type getwd() in the script and run it. Take the screenshot including the console screen that contains the version number and the working directory. Paste the screenshot in a word document and submit it. Here is the expected output for this task:  

Module 2, Week 4, gretl problem set 4

Module 2, Week 4, gretl problem set 4   Use gretl and the dataset “Children of Immigrants Survey” to answer the following questions. Use a 5% level of significance for all hypothesis tests.   1. What is the average age of children in this dataset? What is the minimum and maximum age?   2. Create a new variable named gotoschool that equals 0 if the survey respondent does not attend school and equals 1 if the survey respondent goes to high school or college.   3. Test the hypothesis that mean income differs between households where the child goes to school and households where the child does not go to school.     4. Test the hypothesis that mean income differs between households where the child is a citizen and household where the child is not a citizen.     5. Test the hypothesis that the variables gotoschool and sex are related (i.e. not independent).   6. Test the hypothesis that mean household income differs ac...

Module 2, Week 4, Paper and Pencil Assignment 4

Image
  Module 2, Week 4, Paper and Pencil Assignment 4   1. You have the following random samples containing information on annual income (measured in thousands) and marital status for individuals living in urban and rural areas.   Urban annual income Urban Married Rural annual income Rural Married 33 Yes 22 Yes 56 Yes 81 Yes 88 No 19 No 43 No 26 Yes 28 Yes 38 Yes 42 Yes 101 No 105 No 31 Yes 90 Yes 29 No 21 Yes 35 Yes 47 No 39 Yes 57 No 66 Yes 19 No 99 No ...