SlideShare a Scribd company logo
1 of 24
SASTechies [email_address] http://www.sastechies.com
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],TLG’s 11/13/09 SAS Techies 2009
[object Object],[object Object],SAS Techies 2009 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 proc tabulate data=diabstat; class type;   var premium;   table type premium;   run;   proc tabulate data=clinic.admit;   class sex; var height weight; table sex,height*min weight*min;   run;   proc tabulate data=clinic.admit;   class sex actlevel;   var height weight; table actlevel,sex,height*min weight*min;   run;   11/13/09   Height Weight Min Min Sex 61.00 118.00 F M 69.00 147.00 ActLevel HIGH ActLevel LOW   Height Weight Min Min Sex 66.00 140.00 F M 72.00 168.00   Height Weight Min Min Sex 61.00 118.00 F M 71.00 154.00
[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 PROC TABULATE invokes   the procedure and identifies your data set CLASS specifies variables used to classify   data VAR analyze data - uses variables and statistics to form the table. TABLE defines the table to display your data --uses variables and statistics to form the table.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 the same variable cannot appear in both the CLASS statement  and the VAR statement in the same step.  11/13/09
SAS Techies 2009 11/13/09 ,[object Object],[object Object],[object Object],[object Object],                               
SAS Techies 2009 TABLE   page-expression, row-expression, column-expression ;  Dimension expressions contain  elements .                                                                                                  Dimension expressions can also contain  operators  that you use when combining elements to produce the table you want.                                                                                              Commas , one type of operator, separate the dimensions of the table.                                                                                                                                     11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 Type I II N N 3.00 17.00 Type Premium I II N N Sum 3.00 17.00 3359.15 Premium Sum Type 312.65 I II 3046.50 Type I   Sum Premium 312.65 Type II   Sum Premium 3046.50
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 proc tabulate data=clinic.admit;  class sex actlevel;  var height weight;  table height* mean  weight* max ,actlevel;  table sex* pctn  actlevel* n ; run;  11/13/09
[object Object],SAS Techies 2009 proc tabulate; data=clinic.admit;  var fee; class sex;  table sex  all ,fee; run;  proc tabulate data=clinic.admit;  class sex; table sex  all ;  run;  11/13/09   Fee Sum Sex 1418.35 F M 1268.60 All 2686.95 Sex All F M N N N 11 10 21
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09   Lowest Reading Highest Reading Average Reading Sex 152.00 568.00 253.45 F Fasting Glucose Level M Fasting Glucose Level 156.00 492.00 354.89
SAS Techies 2009 To group elements and control how expressions are evaluated, you can use the parentheses operator. You can also produce hierarchical  tables by using the asterisk operator  to cross class variables with other variables.  concatenation, using the blank  Operator to display variables  side by side or stacked  11/13/09 table height*mean weight*mean,sex all;   table sex,actlevel*age*max;   table type*(sex all);
SAS Techies 2009 You can condense multiple pages into a single page.  Condensed output You can specify how percentages are calculated.  You can create formats to change headings  for class variable values.  11/13/09 table type,fee,sum /  condense ;   table type,fee*sex*pctsum<type>;   proc format;   value $actfmt 'LOW'='(1) Low'   'MOD'='(2) Moderate'   'HIGH'='(3) High';
SAS Techies 2009 11/13/09 Error How to rectify VARIABLE appears in both CLASS and VAR lists. You specified a variable as both class and analysis. Type of name (VARIABLE) unknown at line n. You forgot to specify a variable as either class or analysis. Variable VARIABLE in list does not match type prescribed for this list. You specified a character variable as analysis.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 proc means data=clinic.diabetes  min max  maxdec=0 ; run;  11/13/09 Variable N Mean Std Dev Minimum Maximum Age Height Weight Pulse FastGluc PostGluc 20 20 20 20 20 20 47 67 175 75 299 355 13 4 36 8 126 126 15 61 102 65 152 206 63 75 240 100 568 625 Variable Minimum Maximum Age Height Weight Pulse FastGluc PostGluc 15 61 102 65 152 206 63 75 240 100 568 625
[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 Dest N Obs Variable Median CPH 6 Boarded Transferred Deplaned 137 12 149 FRA 7 Boarded Transferred Deplaned 176 12 189 LON 20 Boarded Transferred Deplaned 186 11 200 PAR 13 Boarded Transferred Deplaned 155 15 182
[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 Survive=DIED Sex=2 Variable N Mean Std Dev Minimum Maximum Arterial Heart Cardiac Urinary 6 6 6 6 94.2 103.7 318.3 100.3 27.3 16.7 102.6 155.7 72.0 81.0 156.0 0.0 145.0 130.0 424.0 405.0 Survive=SURV Sex=1 Variable N Mean Std Dev Minimum Maximum Arterial Heart Cardiac Urinary 5 5 5 5 77.2 109.0 298.0 100.8 12.2 32.0 139.8 60.2 61.0 77.0 66.0 44.0 88.0 149.0 410.0 200.0
[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 Variable Frequency Percent Cumulative Frequency Cumulative Percent Value Number of observations with the value. Frequency of the value divided by the total number of observations. Sum of the frequency counts of the value and all other values listed above it in the table. Cumulative frequency of the value divided by the total number of observation Rate Frequency Percent Cumulative Frequency Cumulative Percent 9.50% 2 22.22 2 22.22 9.75% 1 11.11 3 33.33 10.00% 2 22.22 5 55.56 10.50% 4 44.44 9 100.00 Months Frequency Percent Cumulative Frequency Cumulative Percent 12 1 11.11 1 11.11 24 1 11.11 2 22.22 36 1 11.11 3 33.33 48 1 11.11 4 44.44 60 2 22.22 6 66.67 360 3 33.33 9 100.00
[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 SAS Data Set Clinic.Diabetes  11/13/09 ht Frequency Percent Cumulative Frequency Cumulative Percent 61 2 10.00 2 10.00 71 2 10.00 4 20.00 66 2 10.00 6 30.00 eight Frequency Percent Cumulative Frequency Cumulative Percent 64 3 15.00 3 15.00 61 2 10.00 5 25.00 65 2 10.00 7 35.00 66 2 10.00 9 45.00 ID Sex Age  Height  Weight Pulse FastGluc PostGluc  2304 F 16  61  102 100 568 625 1128 M 43  71  218 76 156 208  4425 F 48  66  162 80 244 322  1387 F 57  64  142 70 177 206 Height Frequency Percent Cumulative Frequency Cumulative Percent Medium 8 40.00 8 40.00 Short 7 35.00 15 75.00 Tall 5 25.00 20 100.00
[object Object],SAS Techies 2009 proc format;  value wtfmt  low-139='< 140' 140-180='140-180' 181-high='> 180';  value htfmt low-64='< 5''5&quot;' 65-70='5''5-10&quot;' 71-high='> 5''10&quot;'; run;  proc freq data=clinic.diabetes;  tables  weight*height ;  format weight wtfmt. height htfmt.;  run;  11/13/09 Frequency  Percent  Row Pct  Col Pct  Table of Weight by Height Weight Height Total < 5'5&quot;  5'5-10&quot; > 5'10&quot; < 140  2 10.00 100.00 28.57 0 0.00 0.00 0.00 0 0.00 0.00 0.00 2 10.00     140-180 5 25.00 50.00 71.43 5 25.00 50.00 62.50 0 0.00 0.00 0.00 10 50.00     > 180  0 0.00 0.00 0.00 3 15.00 37.50 37.50 5 25.00 62.50 100.00 8 40.00     Total  7 35.00 8 40.00 5 25.00 20 100.00
SAS Techies 2009 levels   v   tables  sex*weight*height ; ^   ^   rows + columns = two-way tables   proc freq data=clinic.diabetes; tables  sex*weight*height ;  format weight weight. height height.; run;  11/13/09 Frequency  Percent  Row Pct  Col Pct  Table 1 of Weight by Height Controlling for Sex=F Weight Height Total < 5'5&quot;  5'5-10&quot; > 5'10&quot; < 140  2 18.18 100.00 28.57 0 0.00 0.00 0.00 0 0.00 0.00 .  2 18.18     140-180 5 45.45 55.56 71.43 4 36.36 44.44 100.00 0 0.00 0.00 .  9 81.82     > 180  0 0.00 .  0.00 0 0.00 .  0.00 0 0.00 .  .  0 0.00     Total  7 63.64 4 36.36 0 0.00 11 100.00 Frequency  Percent  Row Pct  Col Pct  Table 2 of Weight by Height Controlling for Sex=M Weight Height Total < 5'5&quot;  5'5-10&quot; > 5'10&quot; < 140  0 0.00 .  .  0 0.00 .  0.00 0 0.00 .  0.00 0 0.00     140-180 0 0.00 0.00 .  1 11.11 100.00 25.00 0 0.00 0.00 0.00 1 11.11     > 180  0 0.00 0.00 .  3 33.33 37.50 75.00 5 55.56 62.50 100.00 8 88.89     Total  0 0.00 4 44.44 5 55.56 9 100.00
[object Object],[object Object],SAS Techies 2009 proc freq data=clinic.diabetes;  tables sex*weight*height  / list ;  format weight wtfmt. height htfmt.; run;  11/13/09 Sex Weight Height Frequency Percent Cumulative Frequency Cumulative Percent F < 140 < 5'5&quot; 2 10.00 2 10.00 F 140-180 < 5'5&quot; 5 25.00 7 35.00 F 140-180 5'5-10&quot; 4 20.00 11 55.00 M 140-180 5'5-10&quot; 1 5.00 12 60.00 M > 180 5'5-10&quot; 3 15.00 15 75.00 M > 180 > 5'10&quot; 5 25.00 20 100.00
[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 proc freq data=clinic.diabetes;  tables sex*weight  / nofreq norow nocol ;  format weight weight.; run;  Percent  Table of Sex by Weight Sex Weight Total < 140  140-180 > 180  F 10.00 45.00 0.00 55.00 M 0.00 5.00 40.00 45.00 Total  2 10.00 10 50.00 8 40.00 20 100.00

More Related Content

What's hot

Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sashalasti
 
Conditional statements in sas
Conditional statements in sasConditional statements in sas
Conditional statements in sasvenkatam
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processingguest2160992
 
Sas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXWSas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXWTHARUN PORANDLA
 
CDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationCDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationAnkur Sharma
 
Introduction to SAS Data Set Options
Introduction to SAS Data Set OptionsIntroduction to SAS Data Set Options
Introduction to SAS Data Set OptionsMark Tabladillo
 
Understanding sas data step processing.
Understanding sas data step processing.Understanding sas data step processing.
Understanding sas data step processing.Ravi Mandal, MBA
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questionsDr P Deepak
 
A Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureA Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureYesAnalytics
 
Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3Mark Tabladillo
 
SAS Clinical Online Training
SAS Clinical Online TrainingSAS Clinical Online Training
SAS Clinical Online TrainingManga SubbuNaidu
 
SAS Macros part 3
SAS Macros part 3SAS Macros part 3
SAS Macros part 3venkatam
 
Where Vs If Statement
Where Vs If StatementWhere Vs If Statement
Where Vs If StatementSunil Gupta
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sasAjay Ohri
 

What's hot (20)

Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
 
Conditional statements in sas
Conditional statements in sasConditional statements in sas
Conditional statements in sas
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
Sas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXWSas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXW
 
SAS Macros
SAS MacrosSAS Macros
SAS Macros
 
SAS Functions
SAS FunctionsSAS Functions
SAS Functions
 
Sas Plots Graphs
Sas Plots GraphsSas Plots Graphs
Sas Plots Graphs
 
CDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationCDISC SDTM Domain Presentation
CDISC SDTM Domain Presentation
 
Introduction to SAS Data Set Options
Introduction to SAS Data Set OptionsIntroduction to SAS Data Set Options
Introduction to SAS Data Set Options
 
Understanding sas data step processing.
Understanding sas data step processing.Understanding sas data step processing.
Understanding sas data step processing.
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questions
 
A Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureA Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report Procedure
 
Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3
 
SAS Clinical Online Training
SAS Clinical Online TrainingSAS Clinical Online Training
SAS Clinical Online Training
 
SAS Macros part 3
SAS Macros part 3SAS Macros part 3
SAS Macros part 3
 
SAS BASICS
SAS BASICSSAS BASICS
SAS BASICS
 
Where Vs If Statement
Where Vs If StatementWhere Vs If Statement
Where Vs If Statement
 
Proc report
Proc reportProc report
Proc report
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sas
 
Sas
SasSas
Sas
 

Viewers also liked

Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SASguest2160992
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connectguest2160992
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper Jimmy Rana
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questionsguestc45097
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017LinkedIn
 
Reading Fixed And Varying Data
Reading Fixed And Varying DataReading Fixed And Varying Data
Reading Fixed And Varying Dataguest2160992
 
Habits of Effective SAS Programmers
Habits of Effective SAS ProgrammersHabits of Effective SAS Programmers
Habits of Effective SAS ProgrammersSunil Gupta
 
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...cambridgeWD
 
Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Brian Kelly
 
Sas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary ToolSas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary Toolsysseminar
 

Viewers also liked (15)

Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SAS
 
Arrays in SAS
Arrays in SASArrays in SAS
Arrays in SAS
 
SAS basics Step by step learning
SAS basics Step by step learningSAS basics Step by step learning
SAS basics Step by step learning
 
SAS ODS HTML
SAS ODS HTMLSAS ODS HTML
SAS ODS HTML
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connect
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questions
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017
 
Sas class #13teach
Sas class #13teachSas class #13teach
Sas class #13teach
 
SAS實習111229
SAS實習111229SAS實習111229
SAS實習111229
 
Reading Fixed And Varying Data
Reading Fixed And Varying DataReading Fixed And Varying Data
Reading Fixed And Varying Data
 
Habits of Effective SAS Programmers
Habits of Effective SAS ProgrammersHabits of Effective SAS Programmers
Habits of Effective SAS Programmers
 
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
 
Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Hechsp 001 Chapter 3
Hechsp 001 Chapter 3
 
Sas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary ToolSas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary Tool
 

Similar to Base SAS Statistics Procedures

Enhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engineEnhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engineClin Plus
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdfNitish Nagar
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standardsAlessandro Baratella
 
Intro to tsql unit 9
Intro to tsql   unit 9Intro to tsql   unit 9
Intro to tsql unit 9Syed Asrarali
 
Introducción al Software Analítico SAS
Introducción al Software Analítico SASIntroducción al Software Analítico SAS
Introducción al Software Analítico SASJorge Rodríguez M.
 
Cheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteCheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteTsamaraLuthfia1
 
Stata cheat sheet: data processing
Stata cheat sheet: data processingStata cheat sheet: data processing
Stata cheat sheet: data processingTim Essam
 
Percentiles and Deciles
Percentiles and DecilesPercentiles and Deciles
Percentiles and DecilesMary Espinar
 
Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Laura Hughes
 
Data Coding and Data Management using SPSS
Data Coding and Data Management using SPSSData Coding and Data Management using SPSS
Data Coding and Data Management using SPSSMelba Shaya Sweety
 

Similar to Base SAS Statistics Procedures (20)

spss teaching
spss teachingspss teaching
spss teaching
 
Enhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engineEnhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engine
 
Spss
SpssSpss
Spss
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standards
 
SAS Commands
SAS CommandsSAS Commands
SAS Commands
 
Chapter.08
Chapter.08Chapter.08
Chapter.08
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
Intro to tsql unit 9
Intro to tsql   unit 9Intro to tsql   unit 9
Intro to tsql unit 9
 
Introducción al Software Analítico SAS
Introducción al Software Analítico SASIntroducción al Software Analítico SAS
Introducción al Software Analítico SAS
 
Week 7 spss
Week 7 spssWeek 7 spss
Week 7 spss
 
Cheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteCheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF Complete
 
Stata cheat sheet: data processing
Stata cheat sheet: data processingStata cheat sheet: data processing
Stata cheat sheet: data processing
 
Percentiles and Deciles
Percentiles and DecilesPercentiles and Deciles
Percentiles and Deciles
 
SQL
SQLSQL
SQL
 
stats
statsstats
stats
 
Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Stata Cheat Sheets (all)
Stata Cheat Sheets (all)
 
Data Coding and Data Management using SPSS
Data Coding and Data Management using SPSSData Coding and Data Management using SPSS
Data Coding and Data Management using SPSS
 
INTRODUCTION TO STATA.pptx
INTRODUCTION TO STATA.pptxINTRODUCTION TO STATA.pptx
INTRODUCTION TO STATA.pptx
 
Uses of SPSS and Excel to analyze data
Uses of SPSS and Excel   to analyze dataUses of SPSS and Excel   to analyze data
Uses of SPSS and Excel to analyze data
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Base SAS Statistics Procedures

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. SAS Techies 2009 TABLE page-expression, row-expression, column-expression ; Dimension expressions contain elements .                                                                                                Dimension expressions can also contain operators that you use when combining elements to produce the table you want.                                                                                            Commas , one type of operator, separate the dimensions of the table.                                                                                                                                    11/13/09
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. SAS Techies 2009 To group elements and control how expressions are evaluated, you can use the parentheses operator. You can also produce hierarchical tables by using the asterisk operator to cross class variables with other variables. concatenation, using the blank Operator to display variables side by side or stacked 11/13/09 table height*mean weight*mean,sex all; table sex,actlevel*age*max; table type*(sex all);
  • 14. SAS Techies 2009 You can condense multiple pages into a single page. Condensed output You can specify how percentages are calculated. You can create formats to change headings for class variable values. 11/13/09 table type,fee,sum / condense ; table type,fee*sex*pctsum<type>; proc format; value $actfmt 'LOW'='(1) Low' 'MOD'='(2) Moderate' 'HIGH'='(3) High';
  • 15. SAS Techies 2009 11/13/09 Error How to rectify VARIABLE appears in both CLASS and VAR lists. You specified a variable as both class and analysis. Type of name (VARIABLE) unknown at line n. You forgot to specify a variable as either class or analysis. Variable VARIABLE in list does not match type prescribed for this list. You specified a character variable as analysis.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. SAS Techies 2009 levels v tables sex*weight*height ; ^ ^ rows + columns = two-way tables proc freq data=clinic.diabetes; tables sex*weight*height ; format weight weight. height height.; run; 11/13/09 Frequency Percent Row Pct Col Pct Table 1 of Weight by Height Controlling for Sex=F Weight Height Total < 5'5&quot; 5'5-10&quot; > 5'10&quot; < 140 2 18.18 100.00 28.57 0 0.00 0.00 0.00 0 0.00 0.00 . 2 18.18     140-180 5 45.45 55.56 71.43 4 36.36 44.44 100.00 0 0.00 0.00 . 9 81.82     > 180 0 0.00 . 0.00 0 0.00 . 0.00 0 0.00 . . 0 0.00     Total 7 63.64 4 36.36 0 0.00 11 100.00 Frequency Percent Row Pct Col Pct Table 2 of Weight by Height Controlling for Sex=M Weight Height Total < 5'5&quot; 5'5-10&quot; > 5'10&quot; < 140 0 0.00 . . 0 0.00 . 0.00 0 0.00 . 0.00 0 0.00     140-180 0 0.00 0.00 . 1 11.11 100.00 25.00 0 0.00 0.00 0.00 1 11.11     > 180 0 0.00 0.00 . 3 33.33 37.50 75.00 5 55.56 62.50 100.00 8 88.89     Total 0 0.00 4 44.44 5 55.56 9 100.00
  • 23.
  • 24.

Editor's Notes

  1. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  2. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  3. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  4. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  5. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  6. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  7. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  8. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  9. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  10. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  11. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  12. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  13. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  14. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  15. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  16. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  17. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  18. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  19. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  20. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  21. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  22. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  23. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005