Read in the Stata version of the 2015 UK Millennium Cohort survey dataset (mcs.dta).
What will be an ideal response?
setwd("C:/QSSD/Exercises/Chapter 4 - Exercises")
getwd()
[1] "C:/QSSD/Exercises/Chapter 4 - Exercises"
library(haven)
mcs <- read_dta("mcs.dta")
You need to use the haven package to read in this .dta file; and not the foreign package.
You might also like to view...
The following four individuals were identified by the NRA as obstacles to the cause of protecting gun rights: President Obama; Hillary Rodham Clinton (as secretary of state); Eric Holder (as attorney general); and Sonia Sotomayor (Supreme Court judge): This is an indication of
a. NRA’s conservative ideology and misperception regarding the universal appeal of guns b. The support of American government for the use of guns c. The support of American government for gun control d. The support of American government for the ban of guns
The word "why" should be used with caution because:
A) It encourages problem solving too soon. B) It can make clients feel defensive. C) It encourages unproductive self-analysis. D) It tends to make talkative clients speed up their flow of speech.
Social networks in rural settings are:
a. nonexistent b. highly formal and structured c. not necessary because people usually live so far apart from one another d. less formal and organized than those found in urban areas
A characteristic of the scientific method that sets it apart from other
ways of acquiring knowledge is: A. it is best used for validating a phenomenon that cannot be directly observed B. that it strives for subjectivity C. provides provisional knowledge D. promotes creativity and imagination in developing procedures