Genetics: Heritability data

Description Format Source Examples

Description

The Genetics data frame has 60 rows and 4 columns.

Format

This data frame contains the following columns:

Location

a factor with levels 1 to 4

Block

a factor with levels 1 to 3

Family

a factor with levels 1 to 5

Yield

a numeric vector of crop yields

Source

Littel, R. C., Milliken, G. A., Stroup, W. W., and Wolfinger, R. D. (1996), SAS System for Mixed Models, SAS Institute (Data Set 4.5).

Examples

1
2
3
4
5
str(Genetics)
if (require("lme4", quietly = TRUE, character = TRUE)) {
  options(contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
  summary(fm1Gen <- lmer(Yield ~ Family + (1|Location/Block), Genetics))
}

Example output

'data.frame':	60 obs. of  4 variables:
 $ Location: Factor w/ 4 levels "1","2","3","4": 1 1 1 1 1 1 1 1 1 1 ...
 $ Block   : Factor w/ 3 levels "1","2","3": 1 2 3 1 2 3 1 2 3 1 ...
 $ Family  : Factor w/ 5 levels "1","2","3","4",..: 1 1 1 2 2 2 3 3 3 4 ...
 $ Yield   : num  268 279 261 242 261 258 242 245 234 225 ...
 - attr(*, "ginfo")=List of 7
  ..$ formula     :Class 'formula'  language Yield ~ 1 | Location/Block
  .. .. ..- attr(*, ".Environment")=<environment: R_GlobalEnv> 
  ..$ order.groups:List of 2
  .. ..$ Location: logi TRUE
  .. ..$ Block   : logi TRUE
  ..$ FUN         :function (x)  
  ..$ outer       : NULL
  ..$ inner       : NULL
  ..$ labels      :List of 1
  .. ..$ Yield: chr "Wheat yield"
  ..$ units       : list()
Linear mixed model fit by REML ['lmerMod']
Formula: Yield ~ Family + (1 | Location/Block)
   Data: Genetics

REML criterion at convergence: 453.9

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.16379 -0.41037 -0.00713  0.61955  1.54693 

Random effects:
 Groups         Name        Variance Std.Dev.
 Block:Location (Intercept)  77.06    8.778  
 Location       (Intercept) 628.17   25.063  
 Residual                   113.10   10.635  
Number of obs: 60, groups:  Block:Location, 12; Location, 4

Fixed effects:
            Estimate Std. Error t value
(Intercept)  207.417     13.149  15.775
Family1       22.167      4.342   5.105
Family2        9.083      4.342   2.092
Family3      -15.083      4.342  -3.474
Family4       -7.583      4.342  -1.747

Correlation of Fixed Effects:
        (Intr) Famly1 Famly2 Famly3
Family1 -0.165                     
Family2 -0.165  0.500              
Family3 -0.165  0.500  0.500       
Family4 -0.165  0.500  0.500  0.500

SASmixed documentation built on May 2, 2019, 4:47 p.m.