
Quant Session 5 (part 2)
Authored by Julia Rossi
Health Sciences
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which is NOT a way to create a new variable?
Start from scratch gen q40a = .
Make an exact copy gen q40a = q40
Do the math q40a = q39a + q39b + q39c
Change the name rename q40 q40a
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What should you do when doing a recode involving three or more variables?
List only the values of the newly created variable.
List the values of the newly created variable and all component variables, including intermediate variables if used.
List only the values of the component variables.
List the values of the newly created variable but exclude intermediate variables.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following are key steps in checking the accuracy of complex recodes using the LIST command?
Conduct a basic LIST scan
Select a subset of cases to check
Select a random subsample
Check specific ranges of recodes
All of the above
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
4. What are the 4 different uses of GENERATE? (choose all that apply)
Setting a new variable equal to an existing variable (making a copy)
Initialize to Missing (.) - Starting from Scratch
Setting a new variable equal to an arithmetic expression
Merging two datasets together
Intermediate variables: using several GENERATE strategies
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Say you wanted to make a variable that represents how many adults the R lives with, based on variables Q14a, Q14b, and Q14c. Which GENERATE strategy would you use?
Say you wanted to make a variable that represents how many adults the R lives with, based on variables Q14a, Q14b, and Q14c. Which GENERATE strategy would you use?
Initialize to 999 then pull in with IF statements.
Make a copy of Q14a and recode from there.
Create copies and dummy variables to represent 1=yes, 0=no if they live with each kind of adult (Q14a, Q14b, Q14c), then add up the Yeses.
Recode the original Q14 Variable
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?