Description Usage Arguments Value Author(s) References See Also Examples

This function computes the minimum norm quadratic unbiased estimate of variance components. Typically this is used as starting values of REML.

1 |

`y` |
A numeric vector of zero-mean response variable. |

`varcov` |
A list of variance-covariance matrices, the same as in |

`start` |
A numeric vector of prior values of the ratio of variance components to the error variance. |

`lower.bound` |
A numeric value of the ratio of variance components to the error variance. If this is -Inf (default), minque solves the linear equation as in Rao (1972). If this is zero, quadratic programming is used to minimize the squared error between the two sides of the linear equation. |

`restricted` |
Not used. Currently only restricted likelihood is supported. |

A numeric vector of estimates of ratio of variance components to error variance.

Long Qu

C. Radhakrishna Rao (1972) Estimation of Variance and Covariance Components in Linear Models. *Journal of the American Statistical Association* 67, 112–115.

1 2 3 4 5 6 7 8 | ```
library(nlme)
data(Oxide)
vcf0 = varComp(Thickness~Source, Oxide, ~Lot/Wafer,
control=varComp.control(nlminb=nlminb.control(iter.max=0L)))
coef(vcf0,'var.ratio')
(st=minque(vcf0$residual.contrast, vcf0$working.cor, lower.bound = 0))
(vcf = varComp(Thickness~Source, Oxide, ~Lot/Wafer, control=varComp.control(start=st)))
coef(vcf,'var.ratio')
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.