

{"id":12220,"date":"2018-03-30T05:05:24","date_gmt":"2018-03-30T05:05:24","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=12220"},"modified":"2021-05-09T13:16:28","modified_gmt":"2021-05-09T07:46:28","slug":"sas-cross-tabulation","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/","title":{"rendered":"SAS Cross Tabulation | Cross Tabulation of Two or More Variables"},"content":{"rendered":"<p>Today we will be looking at SAS Cross Tabulation and how to create crosstables in <strong>SAS Programming<\/strong> using\u00a0SAS Table statement.<\/p>\n<p>We will also see a\u00a0syntax for Cross Tabulation\u00a0in SAS, a variety of options such as a cross table with 3 variables, ordering and listing of a cross table and use of nocol and norow statements.<\/p>\n<p>So, let&#8217;s start SAS Cross Tabulation.<\/p>\n<h2>What is SAS Cross Tabulation<\/h2>\n<p>Cross-tabulation\u00a0tells us the relationship between two variables. Cross-tabulation in SAS is one of the most useful analytical tools. The first step in analyzing categorical variables is to create a SAS cross tabulation table, which can be done by using the TABLES statement.<\/p>\n<p>You can use the SAS TABLE statement to create one- to n-way frequency tables. Without using the TABLES statement, SAS PROC FREQ will generate one-way tables for all the variables that are not listed in other statements.<\/p>\n<p>The variables that are used in the TABLES statement can be either numeric or categorical because PROC FREQ treats all variables as categorical.<\/p>\n<p>This is how a SAS cross tabulation table looks like-<\/p>\n<div id=\"attachment_12222\" style=\"width: 528px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/cross-tabulation-example.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12222\" class=\"wp-image-12222 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/cross-tabulation-example.jpg\" alt=\"SAS Cross Tabulation\" width=\"518\" height=\"355\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/cross-tabulation-example.jpg 518w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/cross-tabulation-example-150x103.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/cross-tabulation-example-300x206.jpg 300w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><\/a><p id=\"caption-attachment-12222\" class=\"wp-caption-text\">SAS Cross Tabulation Example<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>Syntax for Cross Tabulation in SAS<\/h2>\n<pre class=\"EnlighterJSRAW\">PROC FREQ DATA = dataset;\r\nTABLES variable1*Variable2;<\/pre>\n<p>The requests in the SAS TABLES statement can be one variable name or a list of variable names separated by asterisks. For example, to produce a one-way frequency table, simply use one variable name; to produce a two-way frequency table, write an asterisk between two<strong> variables<\/strong>.<\/p>\n<p><strong>Request\u00a0\u00a0 <\/strong>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<strong>Equivalent to <\/strong><br \/>\nTables A*(B C);\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Tables A*B A*C;<br \/>\nTables (A B)*(C D);\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Tables A*C B*C A*D B*D;<br \/>\nTables (A B C)*D;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Tables A*D B*D C*D;<br \/>\nTables A \u2013 \u2013 C;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Tables A B C;<br \/>\nTables (A \u2013 \u2013 C)*D;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Tables A*D B*D C*D;\u00a0<strong>\u00a0<\/strong><\/p>\n<p><strong>Options for TABLES statement<\/strong>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<strong>Description <\/strong><br \/>\nLIST\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0N-way tables are created in list format<br \/>\nNOFREQ\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Suppresses frequencies<br \/>\nNOCUM\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Suppresses cumulative frequencies &amp; percentages<br \/>\nNOPERCENT\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Suppresses percentages<br \/>\nNOCOL\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Suppresses column percentages<br \/>\nNOROW\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Suppresses row percentages<br \/>\nMISSING\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Treats missing values as a group<\/p>\n<h2>SAS Cross Tabulation of Two Variables<\/h2>\n<p>SAS Proc freq can be used to produce 2&#215;2 tables to determine the distribution (or frequency) of records that fall into 2 combinations of categories.<\/p>\n<p><strong>Example-<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">Proc freq data=SASHelp.cars;\r\nTables origin*drivetrain;\r\nRun;<\/pre>\n<div id=\"attachment_12223\" style=\"width: 361px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/crosstab-of-2-variables.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12223\" class=\"wp-image-12223 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/crosstab-of-2-variables.jpg\" alt=\"SAS Cross Tabulation\" width=\"351\" height=\"304\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/crosstab-of-2-variables.jpg 351w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/crosstab-of-2-variables-150x130.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/crosstab-of-2-variables-300x260.jpg 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/a><p id=\"caption-attachment-12223\" class=\"wp-caption-text\">SAS Cross Tabulation<\/p><\/div>\n<p>In this SAS Cross Tabulation example, both Origin and DriveTrain each have 3 possible values. As a result, SAS cross tabulation produces a 3&#215;3 table which includes a total of 9 combinations (i.e. 3&#215;3 = 9):<strong>\u00a0<\/strong><br \/>\nAs shown above, the is the frequencies.<\/p>\n<p>For example, the 34 in the top left box indicates that there are 34 cars from Asia that have an \u201cAll\u201d for DriveTrain.<\/p>\n<p>Moving from left to right, the 99 in the top middle box indicates that there are 99 cars from Asia that have a \u201cFront\u201d drivetrain, and so on.<\/p>\n<p>The second row contains the percentages relative to the other 8 combinations. Using the top left box again as an example, the 7.94% indicates that out of the 9 possible combinations of Origin and DriveTrain, 7.94% of records have Origin=Asia\u00a0<em>and<\/em>\u00a0DriveTrain=All.<\/p>\n<p>The third row contains what is known as the row percentages. Starting with the top left box as an example, the 21.52 indicates that of\u00a0<strong>those records with Origin=Asia,\u00a0<\/strong>21.52% have a DriveTrain=All.<\/p>\n<p>Moving across the row from left to right, you can see that for Origin=Asian cars, 62.66% have DriveTrain=Front, and 15.82% have a DriveTrain=Rear. Notice that these 3 percentages total 100% when summed (added together) across the row.<\/p>\n<p>The fourth row contains what is known as the column percentages. Starting with the top left box as an example, the 36.96 indicates that of\u00a0<strong>those records with DriveTrain=All<\/strong><strong>,<\/strong> 36.96% have Origin=Asia.<\/p>\n<p>Moving down the column from left to right, you can see that for DriveTrain=All cars, 39.13% have Origin=Europe and 23.91% have Origin=USA. Notice that these 3 percentages total 100% when summed (added together) down the column.<\/p>\n<p><strong>a. Limiting the output<\/strong><br \/>\nDepending on the desired results, you can choose to suppress some of these numbers from the output.<\/p>\n<p>The NOCOL, NOROW, NOFREQ and NOPERCENT options can use to suppress the column percentages, row percentages, frequencies and overall percentages from your output. These options can be used independently or in different combinations together.<\/p>\n<p><strong>Example-<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">Proc freq data=SASHelp.cars;\r\nTables origin*drivetrain \/ nocol norow;\r\nRun;<\/pre>\n<div id=\"attachment_12227\" style=\"width: 362px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/image-3.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12227\" class=\"wp-image-12227 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/image-3.jpg\" alt=\"SAS Cross Tabulation\" width=\"352\" height=\"263\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/image-3.jpg 352w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/image-3-150x112.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/image-3-300x224.jpg 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><p id=\"caption-attachment-12227\" class=\"wp-caption-text\">SAS Cross Tabulation<\/p><\/div>\n<h2>SAS Cross Tabulation of\u00a0 n Variables<\/h2>\n<p>For a frequency analysis of more than two variables, we can use the FREQ procedure to create\u00a0<em>n<\/em><em>&#8211;<\/em>way cross tabulation tables. In that case, a series of two-way tables create, with a table for each level of the other variables. The following example creates a three-way table of\u00a0<em>sex<\/em><em>,<\/em>\u00a0<em>job_chng<\/em><em>,<\/em> and\u00a0<em>ed_level<\/em>:<\/p>\n<p><strong>Example-<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">PROC FREQ data=sashelp.class;\r\n\u00a0\u00a0\u00a0 Tables sex*job_chng*ed_level;\r\nRUN;<\/pre>\n<p>As you can see, to tell SAS to create a three-way table of\u00a0<em>sex<\/em><em>,\u00a0job_chng<\/em>, and<em>\u00a0ed_level<\/em><em>,<\/em> we use an asterisk (*) to join the three variables in the TABLES statement. The order of the variables is important.<\/p>\n<p>In n-way tables, the last two variables of the TABLES statement become the rows and columns of the two-way tables.<\/p>\n<p>So, in this case, we should expect SAS to create two two-way tables of <em>job_chng<\/em>\u00a0and\u00a0<em>ed_level<\/em>, one for when\u00a0<em>sex<\/em>\u00a0= 1 and one for when\u00a0<em>sex<\/em>\u00a0= 2.<\/p>\n<div id=\"attachment_12224\" style=\"width: 530px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12224\" class=\"wp-image-12224 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg1.jpg\" alt=\"SAS Cross Tabulation\" width=\"520\" height=\"372\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg1.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg1-150x107.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg1-300x215.jpg 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/a><p id=\"caption-attachment-12224\" class=\"wp-caption-text\">SAS Cross Tabulation<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_12225\" style=\"width: 529px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg-2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12225\" class=\"wp-image-12225 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg-2.jpg\" alt=\"SAS Cross Tabulation\" width=\"519\" height=\"320\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg-2.jpg 519w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg-2-150x92.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/3-variables-eg-2-300x185.jpg 300w\" sizes=\"auto, (max-width: 519px) 100vw, 519px\" \/><\/a><p id=\"caption-attachment-12225\" class=\"wp-caption-text\">SAS Cross Tabulation<\/p><\/div>\n<div><\/div>\n<div>This was all in SAS Cross Tabulation Tutorial. Hope you like our explanation.<\/div>\n<h2>Conclusion<\/h2>\n<p>Hope you all understood how we can use the PROC FREQ procedure to create a SAS Cross Tabulation table. We also saw how can we limit the output by using SAS Table statements like nocol and norow.<\/p>\n<p>We also saw how SAS cross tabulation can take place with more than one variable. For any queries post your doubts in the comments section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we will be looking at SAS Cross Tabulation and how to create crosstables in SAS Programming using\u00a0SAS Table statement. We will also see a\u00a0syntax for Cross Tabulation\u00a0in SAS, a variety of options such&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":12221,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[3173,10125,11977,11980,11982,12148,13727,14032],"class_list":["post-12220","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sas","tag-cross-tabulation-of-sas","tag-proc-tabulate","tag-sas-cross-tabulation","tag-sas-cross-tabulation-proc-freq","tag-sas-crosstab-many-variables","tag-sas-proc-freq","tag-standard-error-in-sas","tag-syntax-for-cross-tabulation-in-sas"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SAS Cross Tabulation | Cross Tabulation of Two or More Variables - DataFlair<\/title>\n<meta name=\"description\" content=\"SAS Cross tabulation tutorial- What is Cross tabulation in SAS,Syntax of SAS Cross Tabulation,SAS Cross Tabulation of n Variables &amp; Two Variables, SAS PROC F\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SAS Cross Tabulation | Cross Tabulation of Two or More Variables - DataFlair\" \/>\n<meta property=\"og:description\" content=\"SAS Cross tabulation tutorial- What is Cross tabulation in SAS,Syntax of SAS Cross Tabulation,SAS Cross Tabulation of n Variables &amp; Two Variables, SAS PROC F\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-30T05:05:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-09T07:46:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/SAS-Crosstabulation-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SAS Cross Tabulation | Cross Tabulation of Two or More Variables - DataFlair","description":"SAS Cross tabulation tutorial- What is Cross tabulation in SAS,Syntax of SAS Cross Tabulation,SAS Cross Tabulation of n Variables & Two Variables, SAS PROC F","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/","og_locale":"en_US","og_type":"article","og_title":"SAS Cross Tabulation | Cross Tabulation of Two or More Variables - DataFlair","og_description":"SAS Cross tabulation tutorial- What is Cross tabulation in SAS,Syntax of SAS Cross Tabulation,SAS Cross Tabulation of n Variables & Two Variables, SAS PROC F","og_url":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-03-30T05:05:24+00:00","article_modified_time":"2021-05-09T07:46:28+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/SAS-Crosstabulation-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"SAS Cross Tabulation | Cross Tabulation of Two or More Variables","datePublished":"2018-03-30T05:05:24+00:00","dateModified":"2021-05-09T07:46:28+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/"},"wordCount":969,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/SAS-Crosstabulation-01.jpg","keywords":["Cross Tabulation of SAS","proc tabulate","SAS Cross Tabulation","sas cross tabulation proc freq","sas crosstab many variables","SAS PROC FREQ","standard error in sas","syntax for Cross Tabulation in SAS"],"articleSection":["SAS Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/","url":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/","name":"SAS Cross Tabulation | Cross Tabulation of Two or More Variables - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/SAS-Crosstabulation-01.jpg","datePublished":"2018-03-30T05:05:24+00:00","dateModified":"2021-05-09T07:46:28+00:00","description":"SAS Cross tabulation tutorial- What is Cross tabulation in SAS,Syntax of SAS Cross Tabulation,SAS Cross Tabulation of n Variables & Two Variables, SAS PROC F","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/SAS-Crosstabulation-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/SAS-Crosstabulation-01.jpg","width":1200,"height":628,"caption":"SAS-Cross Tabulation"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/sas-cross-tabulation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"SAS Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/sas\/"},{"@type":"ListItem","position":3,"name":"SAS Cross Tabulation | Cross Tabulation of Two or More Variables"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/12220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=12220"}],"version-history":[{"count":12,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/12220\/revisions"}],"predecessor-version":[{"id":93127,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/12220\/revisions\/93127"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/12221"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=12220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=12220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=12220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}