您好,欢迎光临本网站![请登录][注册会员]  
文件名称: PROC UNIVARIATE Procedure.pdf
  所属分类: 其它
  开发工具:
  文件大小: 318kb
  下载次数: 0
  上传时间: 2019-07-04
  提 供 者: weixin_********
 详细说明:统计分析软件SAS中关于UNIVARIATE过程步的详细解释说明Guido's Guide to PRoc Univariate, NESUG 2009, Burlington, VT Analysis of All Numeric Variables in Mylib. choljg The UNIvariatE Procedure Variable: AGe (Age of Patient) (1)Moments Sum Weights 100 Mean 47.3 Sum Observations 4730 Std deviation 18. 6939735 Variance 349,464646 Skewness 0.21235988 Kurtosis 1.0590988 Uncorrected ss 258326 Corrected ss 34597 Coeff variation 39.5221428 Std Error mean 1.86939735 (2)Basic Statistical Measure Location variability td deviation Median 45 00000 Variance 349.46465 Mode 33.00000 Range 68.00000 Int 31.50000 NOTE: The mode displayed is the smallest of 2 modes with a count of 6 (3) Tests for Location: Mu0=o Statistic p value Student 's t Sign 50 Pr M|<.0001 Signed Rank Pr >=SI (4) Quantiles ( Definition 5) Quantile Estimat 100% Max 86.0 99% 84.0 77.5 90% 75.5 75%Q3 64.5 50° Median 45.0 33.0 10% 23.0 5 1% 18.0 O%. Mi 18.0 Guido's guide to PRoc Univariate, NESUG 2009, Burlington, VT Analysis of All Numeric variables in Mylib. choljg The UNIVariate Procedure Variable: AGE (Age of Patient) (5) Extreme Observations Lowest Highest Value S Value obs 18 48 78 10 80 19 93 80 19 83 82 19 57 86 62 NOTE: Output for chol1, cho12 and choldiff not shown to save space Example 2 /*This is Example 2 which requests an analysis of Age grouped by Sex*/ LIBNAME Mylib C: \Users\ GvsUG\ Desktop\Joseph Guido TITLE Guido's Guide to PROC Univariate, NESUG 2009, Burlington, VT"; PROC UNIVARIATE DATAMylib. choljg; TITLE2 Analysis of Age grouped by Sex", CLASS Sex; VAR Age Guido's Guide to PROC Univariate, NESUG 2009, Burlington, VT Analysis of Age grouped by sex The UNIVariate Procedure Variable: AGE (Age of SEX =F Moment Mean 50.6101695 Sum observations 2986 Std Deviation 18.9017578 Variance 357.276447 Skewness 0.0281795 Kurtosis 1.0058182 Uncorrected ss 171844 Corrected ss 20722.0339 Coeff variation 37.3477464 Std Error mean 2.46079926 NOTE: Only Moments shown for sex =f to save space de to Proc Univariate, nesug 2009, Burlington, Vt Analysis of Age grouped by sex The UNIVARIATE Procedure Variable: AGE (Age of Patient SEX = M Moment 41 Sum Weights 41 Mean 42.5365854 Sum observations 1744 Std Deviation 17. 5343913 Variance 307,454878 Skewness 0.57290985 Kurtosis 0.7591314 Uncorrected ss 86482 Corrected ss 12298.1951 Coeff variation 41. 2219061 Std error mean 2.73841185 NOTE: Only Moments shown for sex =M to save space Example 3 /*This is Example 3 which requests an analysis of Age sorted by sex*/ LIBNAME Mylib C: \Users\ GVSUG\ Desktop\Joseph Guido TITLE Guido' s Guide to PRoc Univariate, NESUG 2009, Burlington, VT"; /*First we must sort the dataset Mylib. choljg by Sex*/ PROC SORT DATA=Mylib. choljg OUT=Choljg; BY Sex PROC UNIVARIATE DATA=Choljg PLOT; TITLE2 Analysis of Age by Sex"; TITLE3 Plot Statement added for side by side box Plot BY Sex: VAR Age j RUN; Guido's guide to PRoc Univariate, NESUG 2009, Burlington, VT Analysis of Age by S Plot statement added for side by side box plot seⅹ of patient=F The UNIVARIATE Procedure Variable: AGE (Age of Patient) Moments Mean 50.6101695 Sum Observations 2986 std Deviation 18.9017578 Variance 357,276447 Skewness -0.0281795 Kurtosis -1.0058182 Uncorrected ss 171844 Corrected ss 20722.0339 Coeff variation 37.3477464 Std Error me an 2.46079926 NOTE: Only Moments shown for seX =f to save space Guido's Guide to PROC Univariate, NESUG 2009, Burlington, VT Analysis of Age by s Plot Statement added for side by side Box Plot Sex of patient=M The UNIvariate Procedure Variable: AGE (Age of Patient Moments Sum Weights 42.5365854 Sum observations std deviation 17.5343913 Variance 307,454878 Skewness 0.57290985 Kurtosis 0.7591314 Uncorrected ss 86482 Corrected ss 12298.1951 Coeff variation 41.2219061 Std Error mean 2.73841185 NOTE: Only Moments shown for sex =M to save space Guido's guide to PROC Univariate, NESUG 2009, Burlington, VT nalysis of Age by Sex Plot Statement added for side by side Box Plot The UNIVARIATE Procedure Variable: AGE (Age of Patient) Schematic plots 90+ 80+ 70 50+ 20+ SEX http://support.sascom/rnd/base/ods/index.html Example 4 SAS PROGRAM LIBNAME Mylib C: \Users\GVSUG\Desktop \Joseph Guido'; ODS TRACE ON PROC UNIVARIATE Data=Mylib. Choljg: VaR Chol1 SAS LOG LIBNAME Mylib C: \Users\ GVSUG\ Desktop\Joseph Guido'j NOTE: Libref MYLiB was successfully assigned as follows: Engine v9 Physical Name: C:\ Users\ GvSUG\ Desktop\Joseph Guido ODS TRACE ON PROC UNIVARIATE Data=Mylib. choljg; VAR Choli RUN NOTE: Writing HtMl Body file: sashtml1 htm Output Added: Name Moments Label Moments Template: base, univariate. Moments Path Univariate. chol 1. Moments Output Added: tm Name BasicMeasures Label Basic Measures of Location and Variability Template: base univariate Measures Path Univariate. chol 1. basicMeasures output Added: Name TestsforLocation Label Tests for location Template base, univariate, location Path Univariate, chol1, TestsForlocation Output Added: Name Quantiles Label Quantiles Template base univariate Quantiles Path Univariate. chol1, Quantiles output Added: Name Extremeobs Label Extreme observations Template: base univariate. Extobs Path Univariate. chol1. Extremeobs NOTE: PROCEDURE UNIVARIATE used (Total process time) real time 0.06 seconds cpu time 0.04 seconds Example 5 /*This is Example 5 which requests Basic Measures*/ LIBNAME Mylib C: \ Users\GVSUG\ Desktop \Joseph Guido ODS SELECT BASI CMEASURES TITLE Guido's Guide to PRoc Univariate, NESUG 2009, Burlington, VT"; PROC UNIVARIATE Data=My lib. Choljg; TITlE2 Basic measures selected VaR Chol1 RUN /*other Selections: Moments, TestsforLocation, Quantiles, Extremeobs*/ Guido's Guide to PRoC Univariate, NESUG 2009, Burlington, VT Basic Measures selected The UNIVARiATE Procedure ariable: CHOL1 ( Baseline Cholesterol(mg /dl)) Basic statistical measures Location Variabilit 227.2700 Std Deviation 46.42510 Median 223. 0000 Variance 2155 189.0000 Range 216.00000 Interquartile range 71.00000 NOTE: The mode displayed is the smallest of 2 modes with a count of 4 Example 6 / EXample 6 select the 10 lowest and 10 highest values of cholesterol Difference * LIBNAME Mylib ' C: \Users\GvSUGDesktop\Joseph Guido ODS SELECT EXTREMEVALUES TITLE Guido's Guide to PRoc Univariate, NESUG 2009, Burlington, VT PROC UNIVARIATE Data=Mylib. choljg NEXTRVAL=10; TITLE2 10 lowest and 10 highest values of cholesterol difference Var Cho1di千f RUN
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: PROCUNIVARIATEProcedure.pdf
 输入关键字,在本站1000多万海量源码库中尽情搜索: