Creating Tabulated reports part 1

Clinical Data Management Using SAS Analyzing and Reporting on Data
9 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€64.96
List Price:  €92.81
You save:  €27.84
£55.77
List Price:  £79.68
You save:  £23.90
CA$95.68
List Price:  CA$136.70
You save:  CA$41.01
A$106.02
List Price:  A$151.47
You save:  A$45.44
S$94.41
List Price:  S$134.88
You save:  S$40.47
HK$546.80
List Price:  HK$781.18
You save:  HK$234.37
CHF 63.34
List Price:  CHF 90.49
You save:  CHF 27.15
NOK kr761.11
List Price:  NOK kr1,087.35
You save:  NOK kr326.23
DKK kr485.02
List Price:  DKK kr692.92
You save:  DKK kr207.89
NZ$116.42
List Price:  NZ$166.33
You save:  NZ$49.90
د.إ257.06
List Price:  د.إ367.25
You save:  د.إ110.18
৳7,660.01
List Price:  ৳10,943.35
You save:  ৳3,283.33
₹5,835.78
List Price:  ₹8,337.18
You save:  ₹2,501.40
RM331.75
List Price:  RM473.95
You save:  RM142.20
₦86,437.65
List Price:  ₦123,487.65
You save:  ₦37,050
₨19,416.31
List Price:  ₨27,738.77
You save:  ₨8,322.46
฿2,572.74
List Price:  ฿3,675.50
You save:  ฿1,102.76
₺2,264.43
List Price:  ₺3,235.04
You save:  ₺970.61
B$356.70
List Price:  B$509.60
You save:  B$152.89
R1,295.44
List Price:  R1,850.72
You save:  R555.27
Лв127.05
List Price:  Лв181.51
You save:  Лв54.46
₩94,909.58
List Price:  ₩135,590.93
You save:  ₩40,681.35
₪259.50
List Price:  ₪370.74
You save:  ₪111.23
₱3,993.87
List Price:  ₱5,705.78
You save:  ₱1,711.90
¥10,712.31
List Price:  ¥15,303.96
You save:  ¥4,591.65
MX$1,187.89
List Price:  MX$1,697.07
You save:  MX$509.17
QR254.57
List Price:  QR363.69
You save:  QR109.12
P950.82
List Price:  P1,358.38
You save:  P407.55
KSh9,247.76
List Price:  KSh13,211.65
You save:  KSh3,963.89
E£3,352.12
List Price:  E£4,788.95
You save:  E£1,436.83
ብር4,006.43
List Price:  ብር5,723.72
You save:  ብር1,717.28
Kz58,511.64
List Price:  Kz83,591.64
You save:  Kz25,080
CLP$65,950.47
List Price:  CLP$94,219
You save:  CLP$28,268.52
CN¥506.53
List Price:  CN¥723.64
You save:  CN¥217.11
RD$4,055.76
List Price:  RD$5,794.19
You save:  RD$1,738.43
DA9,420.16
List Price:  DA13,457.95
You save:  DA4,037.79
FJ$157.70
List Price:  FJ$225.30
You save:  FJ$67.59
Q542.52
List Price:  Q775.06
You save:  Q232.54
GY$14,601.52
List Price:  GY$20,860.22
You save:  GY$6,258.69
ISK kr9,764.23
List Price:  ISK kr13,949.49
You save:  ISK kr4,185.26
DH703.98
List Price:  DH1,005.73
You save:  DH301.75
L1,236.34
List Price:  L1,766.28
You save:  L529.93
ден3,998.59
List Price:  ден5,712.52
You save:  ден1,713.92
MOP$561.77
List Price:  MOP$802.57
You save:  MOP$240.79
N$1,291.99
List Price:  N$1,845.78
You save:  N$553.78
C$2,569.36
List Price:  C$3,670.67
You save:  C$1,101.31
रु9,319.09
List Price:  रु13,313.56
You save:  रु3,994.46
S/260.54
List Price:  S/372.22
You save:  S/111.67
K269.79
List Price:  K385.44
You save:  K115.64
SAR262.50
List Price:  SAR375.02
You save:  SAR112.51
ZK1,882.68
List Price:  ZK2,689.66
You save:  ZK806.98
L323.40
List Price:  L462.03
You save:  L138.62
Kč1,628.77
List Price:  Kč2,326.92
You save:  Kč698.14
Ft25,305.79
List Price:  Ft36,152.68
You save:  Ft10,846.88
SEK kr755.02
List Price:  SEK kr1,078.64
You save:  SEK kr323.62
ARS$61,468.17
List Price:  ARS$87,815.44
You save:  ARS$26,347.26
Bs483.33
List Price:  Bs690.51
You save:  Bs207.17
COP$271,845.87
List Price:  COP$388,367.89
You save:  COP$116,522.02
₡35,672.25
List Price:  ₡50,962.55
You save:  ₡15,290.29
L1,724.16
List Price:  L2,463.20
You save:  L739.03
₲522,510.75
List Price:  ₲746,475.93
You save:  ₲223,965.17
$U2,674.97
List Price:  $U3,821.56
You save:  $U1,146.58
zł281.37
List Price:  zł401.98
You save:  zł120.60
Already have an account? Log In

Transcript

Welcome to clinical data management program using SAS. In this video we will be discussing about the concept of creating tabulated reports and for this we are going to use the procedure called proc tabulate. So we'll be doing proc tabulate data equals CDM dot disease class disease. Here we are mentioning the categorical variable and table disease. Here we are mentioning the tabulated variable and then run. Let's run this code.

So see we got the disease was tabulation in our report, and proc tabulate with this filter by default use the count values. So there are three little n patients suffering from Alzheimer's disease at least Suffering from HIV or AIDS quantities a patient suffering from breast cancer hundred 19 patients suffering from diabetes 66 patients suffering from endometriosis hundred patients suffering from gastritis and so on. I know we are remember what was the disease data is all about that this is the same dataset which we were using before also consisting of ID gender, date of birth zip code employment status education marital status children ancestry average commute daily duties available vehicles, military service and disease is the diseases that they're suffering from now let's let's do the further modifications are proctored. Suppose we want the count group again how do we do it? Or how do we go with it?

Specifically, we have to use proc tabulate data equals CDM dot disease, class, disease, even disease On and then Dra. So see we got the tabulated record with respect to the disease account versus respect to the disease and we got all gender, it's a total so we got the total number of patients that is 2000. So that is equal to the total number of observations that we have. Now let's do the further modification that is we want the tablet reports with respect to disease and gender, diseases gender or gender is disease. How do we do that? Again using the same procedure called proc tabulate, data equals CDM.

Doc disease, class, disease gender These are categorical variables again, we'll have to mention the tabulated variables such as disease, karma, gender, and then run before I run this code, let me explain your few concepts. When we give comma in the table state Vickery TABLE statement operators control the format of the table. Now, when we give comma on the table statement, it goes to the new table dimension, if we give blank in the table statement, it concatenates table information and it will give asterisk that is stored in the table statement, then it crosses that is it crossness subgroup information. Now let's run this code. So here we got disease by gender report that is, there are 162 female patients suffering from Alzheimer's disease. 177 million patients suffering from Alzheimer's disease severe 36 female patients suffering from HIV and 44 male patients suffering from HIV then again see 55 fewer patients are suffering from diabetes 64 million patients suffering from diabetes.

For breast cancer there are newer female patients or normal patients and in this way it goes on let's move to the further modification of proc tabulate suppose we want to we want the disease and gender wise report or disease and generalized tabulated report but we want to filter the data that is we want only for the married patients not for the single we don't want for all patients we want to filter the data we want only for the medications. So how do we do it? We'll be using the same procedure called proc tabulate data equals CDM dot disease. We'll be using where statement for filtering data where marital status this movie Bernie Madoff marital status equals to merit that is I want or neither we hope to reform with respect to the money patience, pose or merit. Next thing we'd be using the categorical variables as class disease and gender turns evil, disease or my gender then huh?

So let's run this code. See, so making a previous report we got the disease vijender tabulated report with respect to all patients. If we compare both the reports here, the data Already filtered. We only are getting the report with respect to the patients who are married. That is as I was just wondering if a female patients wanted on 39 nations 23 female patients are suffering from HIV 31 male patients are suffering from HIV severely hundred 15 female patients are suffering from breast cancer many patients that that our patients are suffering from breast cancer. Similarly for hypertension hundred 70 million patients and there are 130 million patients out there and it goes on in this way.

Now let's do the further modification of our tabulated reports that is v one the row total as well as the current total that is the count of all the rows as well as the column How do we do that? We will be working we will be doing these to the filter to kotomi that is we are again going to generate the tabulated report with respect to those patients who are married. If you want you can remove the filter here we are keeping the filter that is cropped tablet data equals CDM Dark disease this man I just teaches equals madad. loss, disease, coma plus disease and gender the book he's on Chroma gender on vendre let's run this code See we got on that is we got the row total, we have given all with respect to diseases we go the role and we gave all this respect to gender that's where we got the column total also.

So, there are total 264 patients which is suffering from Alzheimer's disease there is already a plus happening. Similarly, if you see how hypertension there are total 230 patients suffering from hypertension that is hundred 1700 30 total number of female patients are 718 total number of new patients are 770. So that's what we have going on with respect to gender. So we got the row total and the column total and we also got the report with respect to the filter data that is only the patients who are married the report is displayed only with respect to the tabulated report is displayed only with respect to that patients. So in this video, we are going to do it here in my coming video we'll be discussing about the further modifications of creating tabulated reports. Perform now let me end this video over here Thank you Goodbye See word for the next reading

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.