Presentation is loading. Please wait.

Presentation is loading. Please wait.

Week 4: Ungraded review questions

Similar presentations


Presentation on theme: "Week 4: Ungraded review questions"— Presentation transcript:

1 Week 4: Ungraded review questions

2 Can you explain your answer?
Use your fingers to indicate your answer: 1=A, 2=B, 3=C, 4=D. For “check all that apply,” use your both hands. After viewing the question, show me your answer in 15 seconds. Next, turn to your neighbor and you have one minute to convince him/her that you are right.

3 A typical SAS program is composed of _______ in order:
Program step and data step Data step and run step Data step and procedure step Data step, procedure step, and run step

4 Which of the following way is a correct method of defining variables?
Input Q1 Q2 Q3 age gender; Input Q1-Q3 age gender; Input Q1, Q2, Q3, age, gender; Input Q1-Q3 age gender $ None of the above

5 Which of the following way is a correct method of creating a data set?
Data APU; set one.two.three; Data APU; set one.two; Data APU; set one All of the above

6 What is the purpose of putting the syntax “datalines” into a program?
Inform SAS that the lines below “datalines” are data. Inform SAS that the lines above “datalines” are data. Inform SAS about how many lines of data are entered. Inform SAS that the PROC step will come next.

7 For the question “Do you accept a female to be the President
For the question “Do you accept a female to be the President?” Which of the following coding schemes should not be used? “1” as “Yes” and “2” as “No.” “1” as “Yes” and “0” as “No” “Y” as “Yes” and “N” as “No” “Yes” and “No”

8 What should be done to missing data in data entry?
Enter “Refuse to answer” or “R” Enter “999” for missing and “998” for “don’t know” Nothing, leave it blank

9 Sometimes we want to use a shorter label instead of the full name to define a variable. Why?
When we do visual programming (e.g. structural equation modeling), full names make the graph very cluttered. When we do programming, we want to define a large chunk of variables quickly. When there are many variables, assign numbers in a sequence (array e.g. Q1, Q2, Q3…etc.) make tracking much easier. All of the above.

10 In data cleaning when you see some suspicious observations, what should you do (choose the best answer)? Exclude them. Make a subset. Inspect those observations to decide whether you can restore the correct information (e.g. recalculate BMI using height and weight) Use “recode” from “Column” to change them to missing. All of the above.

11 Your assistant entered “39 yrs
Your assistant entered “39 yrs.” and “18 years old” into age, and as a result SAS/JMP treats the data as categorical. What should you do? Change them to “39” and “18,” respectively. Change the data type to “numeric” Change the modeling type to “continuous”. All of the above.

12 When you want to clean up multiple variables, which JMP feature should you use (Choose the best answer)? Recode from Column. Data type Modeling type Standardize attributes Subset


Download ppt "Week 4: Ungraded review questions"

Similar presentations


Ads by Google