Download Young Production in Three Broods: Number and Age of Young Individuals - Prof. A. John Bail and more Study notes Statistics in PDF only on Docsity! Day 7 and 8 [10 Sept. and 12 Sept.] Class Activities C:\Documents and Settings\John Bailer\My Documents\baileraj\ Classes\Fall 2003\sta402\handouts\day7-and-8-11sep03.doc Unix day (continue Day 5 exercise) Week 3 Topic -- REPORT WRITING * Introduce the Output Delivery System (ODS) for customizing procedure output * PROC TABULATE for producing nicely-formatted tables ODS References Gupta, S. (2003) Quick Results with the Output Delivery System. SAS Institute Inc., Cary, NC USA. Delwiche LD and Slaughter SJ. (1996) The Little SAS Book: A Primer, 2nd edition. SAS Institute. Cary, NC, USA. [pages 118-121] ODS Basics What is ODS? * method of delivering output in a variety of formats (other than the default โlistingโ formatโ) * options available include HTML, Rich Text Format (RTF), PS, PDF, SAS data sets Basic ODS Terminology โdestinationsโ โ locations to which ODS routes output (e.g. LISTING, HTML, RTF, PRINTER, PDF) โobjectsโ โ output entities created by ODS to store the formatted results โstylesโ โ font/color/other attributes of a report Basic syntax of ODS statements * identify output objects; ODS TRACE ON </options>; * open output destination; ODS destination <FILE=filename>; * create SAS data set with output object; ODS OUTPUT output-object-name=SAS-data-set-name; * [optional] select particular objects for inclusion; ODS <destination> SELECT output-object-name; PROC โฆ PROC โฆ PROC โฆ ODS <destination> CLOSE; ODS TRACE OFF; ODS to different file types A familiar example proc format; value totfmt 0='none' 1-HIGH='some' ; data d1; infile 'M:\public.www\classes\sta402\SAS-programs\ch2-dat.txt' firstobs=16 expandtabs missover pad ; input @9 animal 2. @17 conc 3. @25 brood1 2. @33 brood2 2. @41 brood3 2. @49 total 2.; cbrood3 = brood3; format cbrood3 totfmt.; label animal = animal ID number; label conc = Nitrofen concentration; label brood1 = number of young in first brood; label brood2 = number of young in 2nd brood; label brood3 = number of young in 3rd brood; label total = total young produced in three broods; proc print; where conc=0; run; /* aside: ODS LISTING open as a default. var total; run; ODS OUTPUT CLOSE; proc print data=data_quant; run; Var Obs conc Name Quantile Estimate 1 0 total 100% Max 36.0 2 0 total 99% 36.0 3 0 total 95% 36.0 4 0 total 90% 35.0 5 0 total 75% Q3 34.0 6 0 total 50% Median 32.5 7 0 total 25% Q1 30.0 8 0 total 10% 25.5 9 0 total 5% 24.0 10 0 total 1% 24.0 11 0 total 0% Min 24.0 . . . . . . . . . . . . . edited output . . . . . . . . . . . . . . . . 45 310 total 100% Max 15.0 46 310 total 99% 15.0 47 310 total 95% 15.0 48 310 total 90% 11.0 49 310 total 75% Q3 6.0 50 310 total 50% Median 6.0 51 310 total 25% Q1 5.0 52 310 total 10% 2.0 53 310 total 5% 0.0 54 310 total 1% 0.0 55 310 total 0% Min 0.0 /* can also create multiple data sets */ ODS OUTPUT Quantiles(MATCH_ALL=conc_name_macro)=data_quant; proc univariate data=d1; by conc; var total; run; ODS OUTPUT CLOSE; proc print data=data_quant; run; from the SAS LOG file NOTE: The data set WORK.DATA_QUANT has 11 observations and 4 variables. NOTE: The above message was for the following by-group: Nitrofen concentration=0 NOTE: The data set WORK.DATA_QUANT1 has 11 observations and 4 variables. NOTE: The above message was for the following by-group: Nitrofen concentration=80 NOTE: The data set WORK.DATA_QUANT2 has 11 observations and 4 variables. NOTE: The above message was for the following by-group: Nitrofen concentration=160 NOTE: The data set WORK.DATA_QUANT3 has 11 observations and 4 variables. NOTE: The above message was for the following by-group: Nitrofen concentration=235 NOTE: The data set WORK.DATA_QUANT4 has 11 observations and 4 variables. NOTE: The above message was for the following by-group: Nitrofen concentration=310 /* write the data set names to the SAS LOG */ %put The conc_name_macro variables contains the following data sets &conc_name_macro; 76 %put The conc_name_macro variables contains the following data sets &conc_name_macro; The conc_name_macro variables contains the following data sets DATA_QUANT DATA_QUANT1 DATA_QUANT2 DATA_QUANT3 DATA_QUANT4&conc_name_macro; /* merge the concentration summary files to create single table */ /* _n_ is an internal SAS variable that tracks observation number */ data c0; set DATA_QUANT; rename Estimate=C0_Est; key=_n_; drop VarName conc; data c80; set DATA_QUANT1; rename Estimate=C80_Est; key=_n_; drop VarName conc; data c160; set DATA_QUANT2; rename Estimate=C160_Est; key=_n_; drop VarName conc; data c235; set DATA_QUANT3; rename Estimate=C235_Est; key=_n_; drop VarName conc; data c310; set DATA_QUANT4; rename Estimate=C310_Est; key=_n_; drop VarName conc; data all; merge c0 c80 c160 c235 c310; by key; drop key; proc print data=all; run; Obs Quantile C0_Est C80_Est C160_Est C235_Est C310_Est 1 100% Max 36.0 36.0 31.0 27.0 15 2 99% 36.0 36.0 31.0 27.0 15 3 95% 36.0 36.0 31.0 27.0 15 4 90% 35.0 35.5 30.5 25.0 11 5 75% Q3 34.0 33.0 30.0 21.0 6 6 50% Median 32.5 32.5 29.0 16.5 6 7 25% Q1 30.0 29.0 27.0 13.0 5 8 10% 25.5 26.5 24.5 9.5 2 9 5% 24.0 26.0 23.0 7.0 0 10 1% 24.0 26.0 23.0 7.0 0 11 0% Min 24.0 26.0 23.0 7.0 0 /* extract the rows-observations corresponding to the 5 number summary */ data fivenum; set all; if _n_=1 or _n_=5 or _n_=6 or _n_=7 or _n_=11; proc print; run; Obs Quantile C0_Est C80_Est C160_Est C235_Est C310_Est 1 100% Max 36.0 36.0 31.0 27.0 15 2 75% Q3 34.0 33.0 30.0 21.0 6 3 50% Median 32.5 32.5 29.0 16.5 6 4 25% Q1 30.0 29.0 27.0 13.0 5 5 0% Min 24.0 26.0 23.0 7.0 0 Proc TABULATE (from the SAS HELP Document related to โTABULATEโ) The TABULATE procedure displays descriptive statistics in tabular format, using some or all of the variables in a data set. You can create a variety of tables ranging from simple to highly customized. PROC TABULATE computes many of the same statistics that are computed by other descriptive statistical procedures such as MEANS, FREQ, and REPORT. PROC TABULATE provides ๏ท simple but powerful methods to create tabular reports ๏ท flexibility in classifying the values of variables and establishing hierarchical relationships between the variables ๏ท mechanisms for labeling and formatting variables and procedure-generated statistics. Proc TABULATE syntax PROC TABULATE <option(s)>; BY <DESCENDING> variable-1 <...<DESCENDING> variable-n> <NOTSORTED>; CLASS variable(s) </ options>; CLASSLEV variable(s) / style =<style-element-name | <PARENT>> <[style-attribute- specification(s)] >; FREQ variable; KEYLABEL keyword-1='description-1' <...keyword-n='description-n'>; KEYWORD keyword(s) / style =<style-element-name | <PARENT>> <[style-attribute- specification(s)] >; TABLE <<page-expression,> row-expression,> column-expression </ table-option(s)>; VAR analysis-variable(s)</ options>; WEIGHT variable Use the following keywords to request statistics in the TABLE statement. If a variable name (class or analysis) and a statistic name are the same, enclose the statistic name in single quotes. Descriptive statistic keywords COLPCTN PCTSUM COLPCTSUM RANGE CSS REPPCTN CV REPPCTSUM MAX ROWPCTN MEAN ROWPCTSUM โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 3.60โ 3.27โ 2.36โ 5.90โ 3.71โ ล ฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦล proc tabulate data=d1; class conc; var total brood1 brood2 brood3; table (mean std)*(brood1) (mean std)*(brood2) (mean std)*(brood3) (mean std)*(total),conc; run; โฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦโ โ โ Nitrofen concentration โ โ โกฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โ 0 โ 80 โ 160 โ 235 โ 310 โ โกฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โMean โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โfirst broodโ 5.10โ 5.30โ 5.50โ 5.40โ 5.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โStd โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โfirst broodโ 1.20โ 1.57โ 1.27โ 1.58โ 1.94โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โMean โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ2nd brood โ 12.40โ 11.40โ 11.30โ 5.10โ 1.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โStd โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ2nd brood โ 1.58โ 1.43โ 1.57โ 5.49โ 3.16โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โMean โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ3rd brood โ 13.90โ 14.80โ 11.50โ 6.70โ 0.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โStd โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ3rd brood โ 2.18โ 1.75โ 0.97โ 2.95โ 0.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โMean โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 31.40โ 31.50โ 28.30โ 17.20โ 6.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โStd โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 3.60โ 3.27โ 2.36โ 5.90โ 3.71โ ล ฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦล proc tabulate data=d1; class conc; var total brood1 brood2 brood3; table conc*(total brood1 brood2 brood3),(min q1 median q3 max); run; โฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦฦโ โ โ Min โ Q1 โ Median โ Q3 โ Max โ โกฦฦฦฦฦฦฦฦฦฦโฆฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โNitrofen โ โ โ โ โ โ โ โconcentra-โ โ โ โ โ โ โ โtion โ โ โ โ โ โ โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦโฐ โ โ โ โ โ โ0 โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 24.00โ 30.00โ 32.50โ 34.00โ 36.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โfirst broodโ 3.00โ 5.00โ 5.50โ 6.00โ 6.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ2nd brood โ 10.00โ 11.00โ 12.00โ 14.00โ 15.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ3rd brood โ 10.00โ 12.00โ 15.00โ 15.00โ 17.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ80 โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 26.00โ 29.00โ 32.50โ 33.00โ 36.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โfirst broodโ 3.00โ 5.00โ 5.00โ 6.00โ 8.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ2nd brood โ 9.00โ 11.00โ 12.00โ 12.00โ 13.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ3rd brood โ 12.00โ 14.00โ 14.50โ 16.00โ 18.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ160 โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 23.00โ 27.00โ 29.00โ 30.00โ 31.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โfirst broodโ 2.00โ 6.00โ 6.00โ 6.00โ 6.00โ ห หฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ160 โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ2nd brood โ 8.00โ 10.00โ 12.00โ 12.00โ 13.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ3rd brood โ 10.00โ 11.00โ 11.00โ 12.00โ 13.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ235 โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 7.00โ 13.00โ 16.50โ 21.00โ 27.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โfirst broodโ 2.00โ 4.00โ 6.00โ 6.00โ 7.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ2nd brood โ 0.00โ 0.00โ 3.50โ 10.00โ 13.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ3rd brood โ 0.00โ 6.00โ 6.50โ 9.00โ 10.00โ โกฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ310 โtotal youngโ โ โ โ โ โ โ โproduced inโ โ โ โ โ โ โ โthree โ โ โ โ โ โ โ โbroods โ 0.00โ 5.00โ 6.00โ 6.00โ 15.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โfirst broodโ 0.00โ 5.00โ 5.50โ 6.00โ 7.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ2nd brood โ 0.00โ 0.00โ 0.00โ 0.00โ 10.00โ โ โกฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦหฦฦฦฦฦฦฦฦฦฦฦฦโฐ โ โnumber of โ โ โ โ โ โ โ โyoung in โ โ โ โ โ โ โ โ3rd brood โ 0.00โ 0.00โ 0.00โ 0.00โ 0.00โ ล ฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦโนฦฦฦฦฦฦฦฦฦฦฦฦล ODS RTF file= โC:\Documents and Settings\John Bailer\My Documents\baileraj\ Classes\Fall 2003\day8-tabulate-example.rtfโ; proc tabulate data=d1; class conc; var total brood1 brood2 brood3; table conc*(total brood1 brood2 brood3),(min q1 median q3 max); run; ODS RTF close; Min Q1 Median Q3 Max Nitrofen concentration 24.00 30.00 32.50 34.00 36.000 total young produced in three broods number of young in first brood 3.00 5.00 5.50 6.00 6.00 number of young in 2nd brood 10.00 11.00 12.00 14.00 15.00 number of young in 3rd brood 10.00 12.00 15.00 15.00 17.00 80 total young produced in three broods 26.00 29.00 32.50 33.00 36.00 number of young in first brood 3.00 5.00 5.00 6.00 8.00 number of young in 2nd brood 9.00 11.00 12.00 12.00 13.00 number of young in 3rd brood 12.00 14.00 14.50 16.00 18.00 160 total young produced in three broods 23.00 27.00 29.00 30.00 31.00 number of young in first brood 2.00 6.00 6.00 6.00 6.00 number of young in 2nd brood 8.00 10.00 12.00 12.00 13.00 number of young in 3rd brood 10.00 11.00 11.00 12.00 13.00 235 total young produced in three broods 7.00 13.00 16.50 21.00 27.00 number of young in first brood 2.00 4.00 6.00 6.00 7.00 number of young in 2nd brood 0.00 0.00 3.50 10.00 13.00 number of young in 3rd brood 0.00 6.00 6.50 9.00 10.00