Results: kars.sas

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Frequency Distributions

The FREQ Procedure

The FREQ Procedure

Table country

One-Way Frequencies

Country of Origin
country Frequency Percent Cumulative
Frequency
Cumulative
Percent
Europ 14 14.00 14 14.00
Japan 13 13.00 27 27.00
US 73 73.00 100 100.00

Table c1

One-Way Frequencies

c1 Frequency Percent Cumulative
Frequency
Cumulative
Percent
0 27 27.00 27 27.00
1 73 73.00 100 100.00

Table c2

One-Way Frequencies

c2 Frequency Percent Cumulative
Frequency
Cumulative
Percent
0 86 86.00 86 86.00
1 14 14.00 100 100.00

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Means and standard deviations by country

The MEANS Procedure

The MEANS Procedure

Summary statistics

Country of Origin N Obs Variable Label N Mean Std Dev Minimum Maximum
Europ 14
lper100k
mpg
weight
length
Litres per 100 Kilometers
Miles per gallon
Weight in kg
Length in cm
14
14
14
14
10.1785714
26.2549337
1080.07
4.2942857
3.6190051
10.0041797
240.8457739
0.4406239
5.8000000
13.8353297
823.0000000
3.6100000
17.0000000
40.5518286
1539.00
4.9000000
Japan 13
lper100k
mpg
weight
length
Litres per 100 Kilometers
Miles per gallon
Weight in kg
Length in cm
13
13
13
13
10.6846154
23.1417159
1060.00
4.3407692
2.3632062
5.6322751
104.6804662
0.1804375
6.8000000
17.8182277
891.0000000
3.9100000
13.2000000
34.5883244
1237.00
4.6700000
US 73
lper100k
mpg
weight
length
Litres per 100 Kilometers
Miles per gallon
Weight in kg
Length in cm
73
73
73
73
12.9643836
19.2129499
1540.00
5.0461644
3.1325518
4.6567253
327.7703719
0.4789996
7.9000000
11.8788185
949.0000000
4.1400000
19.8000000
29.7722286
2178.00
5.9200000

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Correlation matrix

The CORR Procedure

The CORR Procedure

Variables Information

4 Variables: lper100k mpg weight length

Simple Statistics

Simple Statistics
Variable N Mean Std Dev Sum Minimum Maximum Label
lper100k 100 12.27800 3.29203 1228 5.80000 19.80000 Litres per 100 Kilometers
mpg 100 20.70957 6.28772 2071 11.87882 40.55183 Miles per gallon
weight 100 1413 361.95176 141321 823.00000 2178 Weight in kg
length 100 4.84920 0.54991 484.92000 3.61000 5.92000 Length in cm

Pearson Correlations

Pearson Correlation Coefficients, N = 100
Prob > |r| under H0: Rho=0
  lper100k mpg weight length
lper100k
Litres per 100 Kilometers
1.00000
 
-0.93066
<.0001
0.83423
<.0001
0.82141
<.0001
mpg
Miles per gallon
-0.93066
<.0001
1.00000
 
-0.76968
<.0001
-0.78924
<.0001
weight
Weight in kg
0.83423
<.0001
-0.76968
<.0001
1.00000
 
0.94604
<.0001
length
Length in cm
0.82141
<.0001
-0.78924
<.0001
0.94604
<.0001
1.00000
 

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Regression model with non-parallel planes

The REG Procedure

Model: MODEL1

Dependent Variable: lper100k Litres per 100 Kilometers

The REG Procedure

MODEL1

Fit

lper100k

Number of Observations

Number of Observations Read 100
Number of Observations Used 100

Analysis of Variance

Analysis of Variance
Source DF Sum of
Squares
Mean
Square
F Value Pr > F
Model 8 817.63884 102.20486 36.43 <.0001
Error 91 255.27276 2.80520    
Corrected Total 99 1072.91160      

Fit Statistics

Root MSE 1.67487 R-Square 0.7621
Dependent Mean 12.27800 Adj R-Sq 0.7412
Coeff Var 13.64124    

Parameter Estimates

Parameter Estimates
Variable Label DF Parameter
Estimate
Standard
Error
t Value Pr > |t|
Intercept Intercept 1 -10.07335 16.83584 -0.60 0.5511
weight Weight in kg 1 0.01692 0.01024 1.65 0.1019
length Length in cm 1 0.64989 5.94151 0.11 0.9131
c1   1 5.01091 17.14931 0.29 0.7708
c2   1 -1.83239 18.58103 -0.10 0.9217
wc1   1 -0.01123 0.01036 -1.08 0.2810
wc2   1 -0.01035 0.01171 -0.88 0.3793
Lc1   1 1.18552 6.03345 0.20 0.8447
Lc2   1 2.83971 6.70494 0.42 0.6729

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Regression model with non-parallel planes

The REG Procedure

Model: MODEL1

Test EqualSlopes

Results

Test EqualSlopes Results for Dependent Variable lper100k
Source DF Mean
Square
F Value Pr > F
Numerator 4 5.08328 1.81 0.1333
Denominator 91 2.80520    

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Parallel planes

The REG Procedure

Model: MODEL1

Dependent Variable: lper100k Litres per 100 Kilometers

The REG Procedure

MODEL1

Fit

lper100k

Number of Observations

Number of Observations Read 100
Number of Observations Used 100

Analysis of Variance

Analysis of Variance
Source DF Sum of
Squares
Mean
Square
F Value Pr > F
Model 4 797.30574 199.32644 68.71 <.0001
Error 95 275.60586 2.90111    
Corrected Total 99 1072.91160      

Fit Statistics

Root MSE 1.70327 R-Square 0.7431
Dependent Mean 12.27800 Adj R-Sq 0.7323
Coeff Var 13.87250    

Parameter Estimates

Parameter Estimates
Variable Label DF Parameter
Estimate
Standard
Error
t Value Pr > |t|
Intercept Intercept 1 -5.28270 2.92605 -1.81 0.0742
weight Weight in kg 1 0.00546 0.00147 3.71 0.0004
length Length in cm 1 2.34597 0.98033 2.39 0.0187
c1   1 -1.99424 0.58499 -3.41 0.0010
c2   1 -0.50652 0.66016 -0.77 0.4448

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Parallel planes

The REG Procedure

Model: MODEL1

Test USvsEURO

Results

Test USvsEURO Results for Dependent Variable lper100k
Source DF Mean
Square
F Value Pr > F
Numerator 1 19.37833 6.68 0.0113
Denominator 95 2.90111    

Metric Cars Data Example

Jerry Brunner: Student Number 999999999

Parallel planes

The REG Procedure

Model: MODEL1

Test country

Results

Test country Results for Dependent Variable lper100k
Source DF Mean
Square
F Value Pr > F
Numerator 2 20.01754 6.90 0.0016
Denominator 95 2.90111