
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Professor: Marasinghe; Class: CMPTR PROCESSG DATA; Subject: STATISTICS; University: Iowa State University; Term: Unknown 1989;
Typology: Exams
1 / 24
This page cannot be seen from the preview
Don't miss anything!

















mylib^ 'C:\Documents and Settings...\stat479'; proc^ univariate
data=mylib.fueldat
plots^ normal;
var^ pop income;id^ state;title^ 'Use of Proc Univariate to Examine Distributions:1'; run ; proc^ univariate
data=mylib.fueldat
cibasic^
mu0=^4
trim=^2 ;
var^ income fuel;id^ state;title^ 'Use of Proc Univariate to Compute Statistics:2'; run ; proc^ univariate
data=mylib.fueldat
noprint;
var^ fuel percent;output^ out=stats
pctlpts=
pctlpre=fuel lic;
title^ 'Calculation of User Specified Percentile Points'; run ; proc^ print data=stats; run ;
ls=80^ ps=
nodate^ pageno=1;
2 libname
mylib^ 'C:\Documents and Settings\mervyn\My
Documents\Classwork\stat479';
NOTE:^ Libref
MYLIB^ was
successfully assigned
as^ follows:
Engine:^
Physical Name:^ C:\Documents
and^ Settings\mervyn\My Documents\Classwork\stat
3 4 proc
univariate
data=mylib.fueldat
plots^ normal;
5 var
pop^ income; 6 id
state; 7 title
'Use^ of^
Proc^ Univariate
to^ Examine
Distributions:1';
8 run;NOTE:^ PROCEDURE
used^ (Total
process time):
real^ time
0.29 seconds cpu^ time
0.04 seconds
9 10 proc
univariate
data=mylib.fueldat
cibasic^
mu0=4^500
trim=2;
11 var
income fuel; 12 id
state; 13 title
'Use^ of^
Proc^ Univariate to
Compute^
Statistics:2';
14 run;NOTE:^ PROCEDURE
used^ (Total
process time):
real^ time
0.09 seconds cpu^ time
0.01 seconds
Use^ of^ Proc
Univariate
to^ Examine Distributions: The^ UNIVARIATE
Procedure Variable:
pop^ (Population(in
thousands)) Moments
N^
48 Sum
Weights
Mean^
Sum^ Observations
Std^ Deviation
Variance
Skewness
Kurtosis
Uncorrected
Corrected
Coeff^ Variation
Std^ Error^ Mean
Basic Statistical Measures Location
Variability
Mean^
Std^
Deviation
Median^
Variance
Mode^
Range^
Interquartile Range
Tests for Location:
Mu0=
Test^
-Statistic-
-----p Value------
Student's
t^ t^
Pr^ > |t|^
Sign^
24 Pr
Signed^ Rank
588 Pr
Tests^ for
Normality
Test^
--Statistic---
-----p
Value------
Shapiro-Wilk
Pr^ <
Kolmogorov-Smirnov
Pr^ >^ D^
Cramer-von
Mises^
W-Sq^ 0.
Pr^ > W-Sq^ <0.
Anderson-Darling
A-Sq
Pr^ > A-Sq^ <0.
Extreme^ Observations ----------------Lowest---------------Value^ state
Obs
345 Wyoming
462 Vermont
527 Nevada
565 Delaware
579 South
Dakota^
Extreme^ Observations ----------------Highest---------------Value^
state^
Obs
Illinois^
Texas^
Pennsylvania 18366 New York^ 20468 California
Use^ of^ Proc
Univariate
to^ Examine Distributions: The^ UNIVARIATE
Procedure Variable:
pop^ (Population(in
thousands))
Stem^ Leaf
Boxplot
----+----+----+----+Multiply Stem.Leaf by 10**+
Use^ of^ Proc
Univariate
to^ Examine Distributions: The^ UNIVARIATE
Procedure
Variable:
income (Per^ capita
Income(in
thsnds.)) Moments
N^
48 Sum
Weights
Mean^
Sum^ Observations
Std^ Deviation
Variance
Skewness
Kurtosis
Uncorrected
Corrected
Coeff^ Variation
Std^ Error^ Mean
Basic Statistical Measures Location
Variability
Mean^
Std^
Deviation
Median^
Variance
Mode^
Range
Interquartile
Range^
Tests for Location:
Mu0=
Test^
-Statistic-
-----p Value------
Student's
t^ t^
Pr^ > |t|^
Sign^
24 Pr
Signed^ Rank
588 Pr
Tests^ for
Normality
Test^
--Statistic---
-----p
Value------
Shapiro-Wilk
Pr^ <
Kolmogorov-Smirnov
Pr^ >^ D^
Cramer-von
Mises^
W-Sq^ 0.
Pr^ > W-Sq^ >0.
Anderson-Darling
A-Sq
Pr^ > A-Sq^ >0.
Extreme^ Observations ----------------Lowest----------------Value^
state^
Obs
Mississippi
Alabama^
Arkansas^
South^ Carolina
Louisiana
Extreme^ Observations ----------------Highest---------------Value^
state^
Obs
New^ Jersey
5.^ Illinois^
Nevada^
New^ York^
5.^ Connecticut
Use^ of^ Proc
Univariate
to^ Examine Distributions: The^ UNIVARIATE
Procedure
Variable:
income (Per^ capita
Income(in
thsnds.))
Stem^ Leaf
Boxplot
----+----+----+----+Multiply Stem.Leaf by
Use of^ Proc Univariate
to^ Compute
Statistics:
The^ UNIVARIATE
Procedure
Variable:
income (Per^ capita
Income(in
thsnds.)) Moments
N^
48 Sum
Weights
Mean^
Sum^ Observations
Std^ Deviation
Variance
Skewness
Kurtosis
Uncorrected
Corrected
Coeff^ Variation
Std^ Error^ Mean
Basic Statistical Measures Location
Variability
Mean^
Std^
Deviation
Median^
Variance
Mode^
Range
Interquartile
Range^
Basic^ Confidence
Limits^ Assuming
Normality
Parameter
Estimate 95% Confidence Limits
Mean^
Std^ Deviation
Variance
Tests for Location:
Mu0=
Test^
-Statistic-
-----p Value------
Student's
t^ t^
Pr^ > |t|^
Sign^
7 Pr^
Signed^ Rank
Pr >=^ |S|
Quantiles
(Definition
Quantile Estimate 100% Max
50% Median
0%^ Min^
Extreme^ Observations ----------------Lowest----------------Value^
state^
Obs
Mississippi
3.^ Alabama^ 3.^ Arkansas^ 3.^ South^ Carolina 3.^ Louisiana
Extreme^ Observations ----------------Highest---------------Value^
state^
Obs
New^ Jersey
Illinois^
Nevada^
New York^
Connecticut
Use of^ Proc Univariate
to^ Compute
Statistics: The^ UNIVARIATE
Procedure
Variable:
fuel^ (Fuel
Consumption
(in^ gallons/person)) Moments
N^
48 Sum
Weights
Mean^
Sum^ Observations
Std^ Deviation
Variance
Skewness
Kurtosis
Uncorrected
Corrected
Coeff^ Variation
Std^ Error^ Mean