Docsity

Access & SPSS Exam: Part 1 - Setting up Database & Query, Part 2 - Data Analysis with SPSS, Exams of Communication

Toggle sidebar
bg1
COM5331 – Exam 4 SP 08 4/24/07 NAME:
1. Students with special needs must notify Dr. Sapolsky at least one day prior to the exam.
2. You may NOT use any notes or other materials during the exam. You are permitted to use the HELP features
built into SPSS or Microsoft Office. DURING THE EXAM YOU ARE NOT PERMITTED TO OPEN ANY
FILES OTHER THAN THE FILES REFERRED TO IN THIS EXAM. THUS, YOU MAY NOT OPEN (a) ANY
CHAPTERS IN THE COURSE READER OR (b) ANY OTHER ACCESS FILES ON THE COURSE
WEBSITE.
3. You are strictly FORBIDDEN from using email, instant messenger or any other communication during the
exam. If you are found to be using any such features, no matter how harmless, you will receive an “F” on the
exam.
4. The exam begins at 5:15 and ends promptly at 8:00 pm (except for those indicating in advance special
needs).
5. Save ALL the files you create to the DESKTOP. Do not save them to any drive (internal or external). This is
particularly critical for the ACCESS file – IT MUST BE ON YOUR DESKTOP.
6. The TA will copy your ACCESS file from your desktop (or jump drive) to his/her jump drive. You are to
print out only the SPSS output/syntax saved in a Word document. Do not do any of the following:
a. make a copy of your answers,
b. print out a copy of your answers for yourself, or
c. email your answers or any other files.
Students who do so will receive an “F” on the exam.
7. Before you leave the exam you are REQUIRED to delete all files you used during the exam — SPSS and
Microsoft Office documents AND empty the trashbin. YOU MUST DELETE YOUR FILES FOR THE EXAM
FROM YOUR JUMP DRIVE.
8. Remember to save your exam files often and paste syntax!
TURN OF THE SOUND AT YOUR COMPUTER!!!
^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\
Part 1: Access (75% of exam grade)
Download an Access file from the course Data Files page. It is called HealthData.mdb. Save
the file either to your jump drive or the desktop.
NOTE: A table called “HealthPlan” already exists in the database. Do not delete it or edit it.
1. Create a new table in the Design View. Save it as "Patient".
2. Set up the field names and their properties using the attached spreadsheet (last page of
test) as a guide. The Field Names are the headings for each column in the spreadsheet.
Below the cells of the spreadsheet are the properties that must be used. DO NOT
ENTER THE DATA USING THE TABLE. YOU ARE TO ENTER THE DATA USING
THE FORM YOU WILL CREATE.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Access & SPSS Exam: Part 1 - Setting up Database & Query, Part 2 - Data Analysis with SPSS and more Exams Communication in PDF only on Docsity!

COM5331 – Exam 4 SP 08 4/24/07 NAME:

  1. Students with special needs must notify Dr. Sapolsky at least one day prior to the exam.
  2. You may NOT use any notes or other materials during the exam. You are permitted to use the HELP features built into SPSS or Microsoft Office. DURING THE EXAM YOU ARE NOT PERMITTED TO OPEN ANY FILES OTHER THAN THE FILES REFERRED TO IN THIS EXAM. THUS, YOU MAY NOT OPEN (a) ANY CHAPTERS IN THE COURSE READER OR (b) ANY OTHER ACCESS FILES ON THE COURSE WEBSITE.
  3. You are strictly FORBIDDEN from using email, instant messenger or any other communication during the exam. If you are found to be using any such features, no matter how harmless, you will receive an “F” on the exam.
  4. The exam begins at 5:15 and ends promptly at 8:00 pm (except for those indicating in advance special needs).
  5. Save ALL the files you create to the DESKTOP. Do not save them to any drive (internal or external). This is particularly critical for the ACCESS file – IT MUST BE ON YOUR DESKTOP.
  6. The TA will copy your ACCESS file from your desktop (or jump drive) to his/her jump drive. You are to print out only the SPSS output/syntax saved in a Word document. Do not do any of the following: a. make a copy of your answers, b. print out a copy of your answers for yourself, or c. email your answers or any other files. Students who do so will receive an “F” on the exam.
  7. Before you leave the exam you are REQUIRED to delete all files you used during the exam — SPSS and Microsoft Office documents AND empty the trashbin. YOU MUST DELETE YOUR FILES FOR THE EXAM FROM YOUR JUMP DRIVE.
  8. Remember to save your exam files often and paste syntax!

TURN OF THE SOUND AT YOUR COMPUTER!!!

^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\ ^\

Part 1: Access (75% of exam grade)

Download an Access file from the course Data Files page. It is called HealthData.mdb. Save

the file either to your jump drive or the desktop.

NOTE: A table called “ HealthPlan ” already exists in the database. Do not delete it or edit it.

1. Create a new table in the Design View. Save it as " Patient ".

2. Set up the field names and their properties using the attached spreadsheet (last page of

test) as a guide. The Field Names are the headings for each column in the spreadsheet.

Below the cells of the spreadsheet are the properties that must be used. DO NOT

ENTER THE DATA USING THE TABLE. YOU ARE TO ENTER THE DATA USING

THE FORM YOU WILL CREATE.

3. When you have set up the " Patient " table using the appropriate fields and properties,

close the table.

4. Next set up a form to be used for entering the data.

a. Open a new form in the Design View. Save it as " Patient Info Form ".

b. Design the form in an easy to view, attractive manner. Place the first six fields in

one column to the left and the next eight fields in one column to the right. [There

will be a ninth field in this column when you create the BMI field.]

c. Create a drop-down list (pull-down menu) for the following fields:

Sex: Male, Female

Family History Illness 1: Alzheimer’s, Cancer, Diabetes, Heart Disease,

Pneumonia, Respiratory, Stroke, Natural Causes, None

Family History Illness 2: same list as Illness 1

Family History Illness 3: same list as Illness 1

d. Calculate BMI (this will be a new field in the form). The formula for BMI is as

follows:

BMI = Weight in pounds X 703

Height in inches X Height in inches

This calculation may seem “tricky” to you. However, a somewhat complicated

formula was required for Exercise 12. If you did exercise 12 and understood the

calculation, you should be able to calculate BMI.

Change the format to show only two places to the right of the decimal.

e. Insert a picture: There is a link to a picture of a doctor/patient at the bottom

of the Data Files page. Click on the link and save the picture to your My Pictures

folder. Then insert it into the top left of the form.

f. Insert a title: “Patient Information Form”. Place it at the top right of the form.

5. Once you have saved the form, enter the data shown in the spreadsheet at the end of

this exam.

6. Create a Query using the Patient table in which you ask for the following fields:

Patient ID

Last Name

Sex

Initial Visit

Part 2: SPSSWIN

Use the “PoliticalSurvey” Data file. It can be downloaded from the course web site Data

Files. Save your output into a Word document called “Exam4xyz” where “xyz” are your

initials.

Paste the appropriate tables and syntax into your exam answers. Be sure to label them

clearly as Question A. and Question B.

A. Create the following four groups:

1 Those who Strongly Agree or Agree with V6 and Registered to Vote Republican (V62)

  1. Those who Disagree or Strongly Disagree with V6 and are Registered to Vote Republican 3 Those who Strongly Agree or Agree with V6 and Registered to Vote Independent
  2. Those who Disagree or Strongly Disagree with V6 and are Registered to Vote Independent

Run a frequency analysis of the variable you created.

B. Create a table in which responses of 1 (“Spend More”) are shown for the following

variables:

V42, V43, v44, v45, v

Show the count and the percentage for each. Make sure the table is Report Quality.

Blood Pressure

Blood Pressure

Height

Weight

FamilyHistory

FamilyHistory

FamilyHistory

Patient ID

Last Name

First Name

Middle Initial

Sex

Initial Visit

Systolic

Diastolic

Heart Rate

in inches

in pounds

Illnesses 1

Illnesses 2

Illnesses 3

King

Michael

R

Male

HeartDisease

HeartDisease

None

Fisher

Bobby

A

Male

NaturalCauses

None

None

Knight

Sarah

S

Female

None

None

None

Queen

Tisa

B

Female

Alzheimer's

Cancer

None

Rook

Snooky

S

Male

NaturalCauses

None

None

Kasporov

Gary

C

Male

Respiratory

Respiratory

Stroke

Bishop

Gary

E

Male

HeartDisease

HeartDisease

None

Capablanca

J.

R.

Male

Pneumonia

Respiratory

None

Use the default field properties unless specific properties are listed below:Patient ID – Primary KeyInitial Visit – Data Type = Date/Time; use the input mask and define it as a “short date”Blood Pressure Systolic – Data Type should be Number; Field Size = IntegerBlood Pressure Diastolic – Data Type should be Number; Field Size = IntegerHeart Rate – Data Type should be Number; Field Size = IntegerHeight in inches – Data Type should be Number; Field Size = IntegerWeight in pounds – Data Type should be Number; Field Size = Integer

Query 1

Patient Report

LinkQuery

[user input criteria] – typed in BCBS

Part 2. SPSS

A.

Political Party & Position on Wildlife Habitat

39 9.2 18.7 18. 76 18.0 36.4 55. 49 11.6 23.4 78. 45 10.6 21.5 100. 209 49.4 100. 214 50. 423 100.

Republican & Agree State Should Protect Wildlife Habitat Republican & Disagree State Should Protect Wildlife Habitat Independent & Agree State Should Protect Wildlife Habitat Independent & Disagree State Should Protect Wildlife Habitat Total

Valid

Missin System Total

Frequency Percent Valid Percent

Cumulative Percent

IF ((v6 = 1 or v6 = 2) & (V62 = 1)) group = 1. IF ((v6 = 3 or v6 = 4) & (V62 = 1)) group = 2. IF ((v6 = 1 or v6 = 2) & (V62 = 3)) group = 3. IF ((v6 = 3 or v6 = 4) & (V62 = 3)) group = 4. value labels group 1 'Republican & Agree State Should Protect Wildlife Habitat' 2 'Republican & Disagree State Should Protect Wildlife Habitat' 3 'Independent & Agree State Should Protect Wildlife Habitat' 4 'Independent & Disagree State Should Protect Wildlife Habitat' EXECUTE.

GRADING GUIDE

Grade Form for Access Portion of Exam 4

Part Total Pts. Your Points

1. Macro – Macro Opens Form 3

1 Form is Maximized 3

2 Table has 8 records 3

2 Initial Visit has short date 3

2 Table has 14 fields in correct order 3

3 Patient Info Form has picture inserted at top 3

3 Patient Info Form has title at top 3

3 Patient Info Form – correct 6 fields in first column 3

3 Patient Info Form – correct 9 fields in second col. 3

3 Patient Info Form – pull-down menu present for three illnesses 3

3 Patient Info Form – calculated BMI has correct value 3

3 Patient Info Form – BMC has only two decimal places 3

4 Query1 has correct 6 records (only males) 3

4 Query1 has Initial Visit in descending order 3

4 Query1 has correct 6 fields 3

5 Patient Report has title at top 3

5 Patient Report has correct 5 fields 3

5 Patient Report is sorted in ascending order by Patient ID # 3

5 Patient Report uses correct layout 3

5 Patient Report has information aligned under headings 3

5 Patient Report has all headings clearly readable (not cut-off) 3

6 LinkQuery when opened asks for Primary Plan Name (Enter Parameter Value box is opened)

6 LinkQuery – Enter BCBS in the parameter box - only 2 records should appear

7 LinkQuery – correct 4 fields should appear (they are drawn from the two tables in the database

7 LinkQuery – two last names should be in alphabetical order 3

TOTAL POINTS FOR PART 1 75

Part 2: SPSS

A. Points 12

Points

Correct percentages (valid) 9

NOTE: If partial correctly frequencies, deduct only 5

Clear value labels 3

B. Points 13

Correct number of cases for each of the five variables 8

NOTE: For each variable missing, deduct 2 points

Clear labels for each of the five variables 2

Report quality look 3