Creating frequency reports

Clinical Data Management Using SAS Analyzing and Reporting on Data
8 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.99
List Price:  €92.85
You save:  €27.85
£55.77
List Price:  £79.68
You save:  £23.90
CA$95.68
List Price:  CA$136.70
You save:  CA$41.01
A$105.96
List Price:  A$151.38
You save:  A$45.42
S$94.48
List Price:  S$134.98
You save:  S$40.50
HK$546.78
List Price:  HK$781.15
You save:  HK$234.36
CHF 63.33
List Price:  CHF 90.48
You save:  CHF 27.14
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.44
List Price:  NZ$166.35
You save:  NZ$49.91
د.إ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,492.21
List Price:  ₨27,847.21
You save:  ₨8,355
฿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$355.02
List Price:  B$507.19
You save:  B$152.17
R1,295.44
List Price:  R1,850.71
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
₪260.15
List Price:  ₪371.66
You save:  ₪111.51
₱3,993.87
List Price:  ₱5,705.78
You save:  ₱1,711.90
¥10,713.01
List Price:  ¥15,304.96
You save:  ¥4,591.95
MX$1,187.73
List Price:  MX$1,696.83
You save:  MX$509.10
QR254.83
List Price:  QR364.06
You save:  QR109.23
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.65
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,773.40
List Price:  ISK kr13,962.60
You save:  ISK kr4,189.20
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.26
List Price:  ден5,712.05
You save:  ден1,713.78
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.01
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,334.28
List Price:  Ft36,193.38
You save:  Ft10,859.10
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 programs using SAS In this video we will be discussing about how to create frequency reports. So we will be using the procedure called proc freak that is proc freak data equals CDM is my library name we'll be using the same data set that is disease which is located in the CDM library I have access I have peignoir disease data set by executing Millenium statement and then run proc freak generates the frequency distribution table for any data set. So as many variables are there in the data set the frequency distribution table for all the variables precedent that data set will be displayed in the result viewer or it will be displayed in our report. So let's run this code. So this is my frequency report. As many variables are there in the disease data set those number of frequency tables the frequency distribution table will be displayed.

So, this is a frequency table the frequency response distribution table is described with respect to ID then with respect to date of birth average commute that is with respect to all the variables that is there in the disease data set. Now, we are we are going to filter that is in my frequency distribution report I do not want all the variables in my report I do not want a frequency table with respect to all the variables I want to filter. So, I will be specifying that which variables are with respect to which variables the frequency table should be displayed. So, for that again the same procedure will be using a dystrophic data equals to CDM dot disease tables tables is a keyword to specify that with respect to which variable the frequency input should be displayed. So, I have given tables disease that I want to frequency table with respect to the disease variable and then run.

So, let's run this code So, this is the frequency procedure for the frequency table with respect to the disease column you got the frequency and it is the individual frequency of each of the diseases the percent the frequency percent the cumulative frequency that is the cumulative total of the frequency content the cumulative percentage is the cumulative total of the frequency percent these all these columns are displayed for all the frequency tables that you generate. To see in a previous report also when I did the frequency table I was the same columns. Here the frequency is coming as one because every patient there is only one patient, the patient IDs are not repeated. That's why the frequency mostly is one you are getting these four columns there is a frequency frequency percent curative frequency interpretive percent. The next thing another type of frequency procedure that we will be doing is we'll be using the concept of excellence that is profit free data equals CDM dot disease we are going to use the keyword called n levels and levels is a keyword which is mostly applicable when your variable is categorical in nature.

So, how many categories of the variable is there that will be displayed tables will be disease as I know disease is a categorical variable. And then you can use any level with any sorts of variable but it is mostly applicable it is mostly useful if you use it with respect to a categorical variable. So, use the concept of n levels that is number of levels the number of categories there in that particular variable a number of unique values there in particular variable and tables disease means I want to display the frequency table with respect to the variable disease. And then I'm using the same procedure called property data. To see the number of levels over here is 13. That is in my data.

I've got 14 sorts of diseases that is Alzheimer's disease, HIV or AIDS breast cancer. Diabetes, endometriosis, gastritis heart disease hypertension kidney disease, multiple sclerosis prostate cancer histories of rhenium in gas So, these are the types of research these are the 13 types of diseases that are there in my data and with respect to these diseases I got the frequency table also that is a frequency frequency percent cumulative frequency and now I'll show you how to do cross frequency tabulation. So for this again we are going to use the proc click procedure. There is profit data equals CDM dot disease tables disease. Start gender when we write disease or gender This is used to display across frequencies. And then this was the cross frequency table between disease and gender from the CDM disease data set that is run this code chiama diseases in the rows and the gender is main main column the four values that waters first is a frequency that is there are 162 patients female patients who are suffering from Alzheimer's diseases the frequency percent is 8.10%.

So, out of the total number of patients that that are there 8.19% are suffering from Alzheimer's diseases represent row percent is 47.79 that is this that is out of the 339 patients who are suffering from Alzheimer's disease 47.7% are female and column percentage out of 975 female patients 16.62% that there was suffering from Alzheimer's disease. So, these are the interpretations This is the frequency This is a frequency percent these are the this is row percent and this is column percent. These are the interpretations of frequency frequency percent row percent and column percent frequencies the individual column This is the frequency percent row percenters that is out of a proposal is only 47 cents. That is out of the 339 patients who are suffering from us Davis disease focusing on 70% of female and column percenters out of 975 female patients 16.62% is suffering from Alzheimer's disease This is the concept of cross tabulation here I have displayed all the four values frequency frequency to zero percent column percent.

Suppose if you only want the frequency and you do not want the row or column and the percentage then how will you do it? We'll be using the same procedure that is prop free data equals CDM dot disease tables disease start gender now we'll be using the key word called neuro because we do not hundred percent know call because we do not want to call them percent no percent because we do not want frequency descent. And then, huh so let's run this code. Seeing only the frequencies displayed rows in column percent and frequency percent all got removed because we have used the key word no roll call and no percentage. Now we'll be using the concept of cross lists this cross tabulation frequency report will be displayed in a different format or a different way. We'll be using the same procedure called property data equals CDM.

Dot disease tables. Disease start gender showing cross tabulation slash processed. processes the key word This is going to be use to display the same customer ID report will be displayed but in a different format. My frequency if you can see the zero percent column percent the block was shown before who here here it was shown this was me actually report before in this way this was me actually last updated report. Now when I do cross test the format of this presentation changes. So this is my frequency, mid frequency percent this is zero percent and this is a column I get the same values which I was getting before see 162 8.101 0.79 60.6 I was getting it vertically but now I'm getting it presently.

So this is about my frequency report. This is how you generate different sorts of frequency reports. So in this video we'll be doing till here. In my next video I'll be discussing about creating summary statistics reports. Thank you. Good advice you are for the next week.

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.