*Problem 1
data scores;
infile
'http:/rci.rutgers.edu/~tonytang/stat390/dataset/score
.dat';
input var1 233 var2 3568;
run;
proc print data = scores;
run;
PROC MEANS DATA=grade;
run;
PROC MEANS data=scores min max nmiss var t;
var var1;
title 'Summary S
Final Exam
960:390
November 8, 2010
Jiyoon Jung
*Problem 1
1) Provide summary statistics and appropriate graphic displays for each of
the two age groups (over 35 age and under 35)
Summary statistics is on output. Also, through histograms for each
group, I
Density estimation in R
Henry Deng and Hadley Wickham
September 2011
Abstract
Density estimation is an important statistical tool, and within R there are over 20
packages that implement it: so many that it is often dicult to know which to use.
This paper
R news and tutorials contributed by (573) R bloggers
Home
About
RSS
WELCOME!
Follow @rbloggers
22.7K
Here you will find daily
news and tutorials about
R, contributed by over 573
bloggers.
There are many ways to
follow us By email:
Your email here
Subsc
1sample proportions test with continuity correction
data: 424 out of 950, null probability 0.5
Xsquared = 10.7379, df = 1, pvalue = 0.00105
alternative hypothesis: true p is not equal to 0.5
95 percent confidence interval:
0.4144634 0.4786078
sample es
my account
log out
rss
Blogs
R Language
R Packages
How to
Pretty R
Get R
A Community Site for R Sponsored by Revolution Analytics
Home Language reference density cfw_stats
Package:
stats
Version:
R 3.0.2
Description
The (S3) generic function de
O ne Sample tTest
17
T he MEANS Procedure
Variable
N
Mean
Std Dev t Value Pr >  t 
Domestic 30
16.9820000
2.0003800
46.50
<.0001
Imported 30
16.8880000
1.9146376
48.31
<.0001

O ne Sample tTest
Obs
Date
Domestic
18
Imported
Composite
1
940101
12.55
Records of corn yield and rainfall measurements
239
17:53 Sunday, October 24, 2010
T he MEANS Procedure
A nalysis Variable : rain ?rainfall measurements in inches, in the six states?
N
Mean
Std Dev
M inimum
Maximum
19
10.4947368
2.2621213
6.9000000

16.
*Second problem
Data corn ;
input year $ yield $ rain;
label
year='year from 1909 to 1927
yield=' yearly corn yield in bushels per
acre, in six Corn Belt states(Iowa, Illinois, Nebraska,
Missouri, Indiana, and Ohio)'
rain=rainfall measurements in inches,
Records of Weightlosing club
17:53 Sunday, October 24, 2010 1
T he MEANS Procedure
Variable Label
N
Mean
Std Dev
M inimum
strtwght Weight when joining the club
13
167.0000000
31.1501739
13
152.5384615
127.0000000
endwght
Weight when exiting the club
29.
data wghtclub;
input idno $ name $ team $ strtwght endwght;
loss = strtwght  endwght;
label
idno='Identification Number'
strtwght='Weight when joining the
club'
endwght='Weight when exiting the club'
loss='Weight lost during the period of
club membership
A)Problem 1
sas code
data AAUP;
input FICE, State, Average salary  full professors,
Average salary  associate professors,
Average salary  assistant professors,
Average salary  all ranks,
Average compensation  full professors,
Average compensati
1
ExploratoryDataAnalysisexaminetechniquesforexploringdata.Techniquesdeveloped~1970
primarilybyJohnTukeyforflexibleprobingofdatabeforeanyprobabilisticmodelisavailable.
TraditionalExampleComparingtwomeansbasedonindependentsamples.
How does SAS work in
this