Search the site...

SASCRUNCH TRAINING
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
Sentry Page Protection
Please Wait...
Coding Project II (2 hours)

Introduction

Case-control study is an observational study design that is commonly found in the field of epidemiology.

It is often used to identify factors that may contribute to a medical condition by comparing subjects who have that condition/disease (the "cases") with patients who do not have the condition/disease but are otherwise similar (the "controls").

For more information, please visit here. 


Background

The BCStudy data set contains a list of subjects participating in a case-control breast cancer study. The data set has the following variables:
  • MID:
    The index that identifies each subject

  • GENDER:
    Gender of each subject. Since this is a breast cancer study, all participants are female

  • AGE:
    Age of each subject where study started

  • INCOME:
    Income level of each subject

  • WATERSOURCE:
    The source of water in subjects’ geographic area

  • TERMDATE:
    Date of study termination

  • BCANCER:
    Whether the subject ever has breast cancer (0 = No, 1 = Yes)

​
Task I: Reading in the data
bcstudy.sas7bdat
File Size: 262 kb
File Type: sas7bdat
Download File

​Alternatively, download and copy the code from the text file below and run it on SAS Studio.
creation_-_bcstudy.txt
File Size: 98 kb
File Type: txt
Download File

Task II: Create Sub- Data Sets

Create two data sets from the BCStudy data set:
  1. CASE: the data set that contains the participants that have breast cancer
  2. CONTROL: the data set that contains the participants who don’t have breast cancer
Next
Already a member? Go to member's area.