Question: # 1 8 . Tutorial # 6 has instructions for inputting selected variables and cleansing the file kss of SPSS code. Be sure you understand

#18. Tutorial # 6 has instructions for inputting selected variables and cleansing the file kss of SPSS code. Be sure you understand Tutorial 6 before proceeding.
Use the following Statistics for a data quality check before proceeding.
Variable n
min
1
mean
cigsmokd
182
55
20.467 cigarettes
kixofar
183
178
0
50
12.240
cigarettes
breathco
8
max
125
44.702 ppm
Unless you get these values there are likely errors in your SAS coding.
One of the objectives of the Kitchener Smoking Survey (kss) was to determing to what extent exposure to cigarette smoke (breathco) depended on self declared variables such as gender, cigarettes smoked per day (cigsmokd) and cigarretes smoked prior to the survey interview (cigsofar).
To answer these questions various hypotheses need to be tested (a =.05).
The data collected in the file kss consists of n =184 interviews of randomly selected smokers who resided in Kitchener at the time of the survey.
You will need to customize your answer to Question 18 as follow:
The entire data set to be used is kss (all n 184 observations). Download kss from LEARN and paste the data into the SAS Editor.
Construct a suitable input paragraph to read in the following variables.
Based on the sum of the last 2 digits of your student ID, pick the Variable set below that matches your sum. Use this customized kss file to answer questions 18:
You will need to read in three variables from the file kss as follows: Tutorial 6 explains how this is accomplished, so do Tutorial 6 first.
SUM IS
Last 2 digits of II)
0 through 5
Gender
Gender to study
male
female
Variablel
gender
Variable2
cigsmokd
Variables to read in from KSS
Variable3
breathco
6 through 8
gender
cigsmokd
breathco

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!