table.b11: Table B11

Description Usage Format Source Examples

Description

The table.b11 data frame has 38 observations on the quality of Pinot Noir wine.

Usage

1

Format

This data frame contains the following columns:

Clarity

a numeric vector

Aroma

a numeric vector

Body

a numeric vector

Flavor

a numeric vector

Oakiness

a numeric vector

Quality

a numeric vector

Region

a numeric vector

Source

Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.

Examples

1
2
3
4
5
6
data(table.b11)
attach(table.b11)
Quality.lm <- lm(Quality ~ Clarity + Aroma + Body + Flavor + Oakiness + 
factor(Region))
summary(Quality.lm)
detach(table.b11)

Example output

Attaching package: 'MPV'

The following object is masked from 'package:datasets':

    stackloss


Call:
lm(formula = Quality ~ Clarity + Aroma + Body + Flavor + Oakiness + 
    factor(Region))

Residuals:
     Min       1Q   Median       3Q      Max 
-1.80824 -0.58413 -0.02081  0.48627  1.70909 

Coefficients:
                Estimate Std. Error t value Pr(>|t|)    
(Intercept)      7.81437    1.96944   3.968 0.000417 ***
Clarity          0.01705    1.45627   0.012 0.990736    
Aroma            0.08901    0.25250   0.353 0.726908    
Body             0.07967    0.26772   0.298 0.768062    
Flavor           1.11723    0.24026   4.650 6.25e-05 ***
Oakiness        -0.34644    0.23301  -1.487 0.147503    
factor(Region)2 -1.51285    0.39227  -3.857 0.000565 ***
factor(Region)3  0.97259    0.51017   1.906 0.066218 .  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 0.9154 on 30 degrees of freedom
Multiple R-squared:  0.8376,	Adjusted R-squared:  0.7997 
F-statistic:  22.1 on 7 and 30 DF,  p-value: 3.295e-10

MPV documentation built on June 8, 2018, 1:03 a.m.