Search Header Logo

Quant Session 5 (part 2)

Authored by Julia Rossi

Health Sciences

University

Used 1+ times

Quant Session 5 (part 2)
AI

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? 

  1. List only the values of the newly created variable. 

  1. List the values of the newly created variable and all component variables, including intermediate variables if used. 

  1. List only the values of the component variables. 

  1. 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? 

  1. Conduct a basic LIST scan 

  1. Select a subset of cases to check 

  1. Select a random subsample 

  1. Check specific ranges of recodes 

  1. 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)

 

  1. Setting a new variable equal to an existing variable (making a copy) 

  1. Initialize to Missing (.) - Starting from Scratch 

  1. Setting a new variable equal to an arithmetic expression 

  1. Merging two datasets together 

  1. Intermediate variables: using several GENERATE strategies 

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 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? 

  1. Initialize to 999 then pull in with IF statements. 

  1. Make a copy of Q14a and recode from there. 

  1. 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. 

  1. 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?