JDS
HOME HELP FEEDBACK SUBSCRIPTIONS ARCHIVE SEARCH TABLE OF CONTENTS
 QUICK SEARCH:   [advanced]


     


This Article
Right arrow Abstract Freely available
Right arrow Full Text (PDF)
Right arrow Interpretive Summary
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Similar articles in this journal
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Download to citation manager
Right arrow reprints & permissions
Citing Articles
Right arrow Citing Articles via HighWire
Right arrow Citing Articles via Google Scholar
Google Scholar
Right arrow Articles by Kononoff, P. J.
Right arrow Articles by Hanford, K. J.
Right arrow Search for Related Content
PubMed
Right arrow PubMed Citation
Right arrow Articles by Kononoff, P. J.
Right arrow Articles by Hanford, K. J.
J. Dairy Sci. 89:3968-3971
© American Dairy Science Association, 2006.

Technical Note: Estimating Statistical Power of Mixed Models Used in Dairy Nutrition Experiments1

P. J. Kononoff*,1 and K. J. Hanford*,{dagger}

* Department of Animal Science, and
{dagger} Department of Statistics, University of Nebraska, Lincoln 68583–0908

2 Corresponding author: pkononoff2{at}unl.edu


    ABSTRACT
 TOP
 ABSTRACT
 Data Used in Illustration
 Statistical Methodology
 Estimation of Power Using...
 APPENDIX
 REFERENCES
 
Statistical power is defined as the probability of correctly rejecting the null hypothesis. Power calculations may be useful in planning experiments. The objective of this technical note is to outline an applied method that estimates statistical power of a dairy nutrition experiment that employs a Latin square as the experimental design. Because the SAS MIXED procedure (PROC MIXED) is commonly used to analyze data sets, this note outlines basic programming procedures that may be used to estimate statistical power of a mixed model using this procedure.

Key Words: statistical power • Latin square • mixed model • SAS

Dairy nutrition experiments are often designed to test a null hypothesis that dietary treatments have no effect on some dependent variable, often milk yield. In testing this null hypothesis (HO) investigators risk making 1 of 2 types of errors. The first is to conclude that the dietary treatment has an effect when, in reality, it does not; this would be a type I error. The second error is to conclude that the dietary treatment has no effect when, in reality, it does; this would be a type II error. Investigators are often concerned with avoiding false claims in the form of type I errors; thus {alpha}, or the type I error rate, is usually set at 0.05.

Statistical power is defined as the probability of avoiding a type II error or, in other words, the probability of correctly rejecting the null hypothesis. If HO is true then the associated F statistic, or FO, has a central F distribution with 2 parameters, the numerator (v1) and denominator (v2) degrees of freedom. When HO is false, FO has the noncentral F distribution that depends upon v1 and v2. In this case, the noncentrality parameter ({lambda}) may reflect the magnitude of the treatment effect or, in other words, just how wrong the traditional null hypothesis is (Murphy and Myors, 2004).

The use of SAS (SAS Institute Inc., Cary, NC) and mixed linear models (Littell et al., 1996) in the animal sciences has been described in several publications (Littell et al., 1999; Wang and Goonewardene, 2004). The SAS program may also be used to estimate power by referring to a noncentral F distribution and required parameters at a specified {alpha} level. The objective of this technical note is to outline an applied method that estimates statistical power of an experiment that employs a Latin square as the experimental design. Because the SAS MIXED procedure (PROC MIXED) is used to analyze data sets that include random effects or repeated measurements or both, this note will outline basic programming procedures that may be used to estimate statistical power of a mixed model using this procedure. For a detailed outline of linear model background, readers are referred to Stroup (1999).


    Data Used in Illustration
 TOP
 ABSTRACT
 Data Used in Illustration
 Statistical Methodology
 Estimation of Power Using...
 APPENDIX
 REFERENCES
 
Data from a nutrition study using 20 lactating Holstein cows are used to demonstrate statistical power estimation of a mixed model. In this experiment cows were randomly assigned to 1 of 5 Latin squares. During each of the 4 periods, cows were offered 1 of 4 diets, each an experimental treatment. Contrasts will be used to test for linear and quadratic trends in the milk production means.


    Statistical Methodology
 TOP
 ABSTRACT
 Data Used in Illustration
 Statistical Methodology
 Estimation of Power Using...
 APPENDIX
 REFERENCES
 
A Latin square design employs a 2-blocking scheme in which both cow and experimental feeding period facilitate comparisons of a third factor, namely dietary treatment (Tempelman, 2004). Individual squares are often replicated to increase the power of the statistical test. Cow nested within square is considered a random source of variation, whereas periods and treatments are considered to have fixed effects. Sometimes repeated measures, or multiple measurements made on the same cow during the same period, made sequentially over time, are also taken in these studies. The linear model as described by Kaps and Lamberson, (2004) is written as follows:


Formula 1[1]

where yij(k)m represents observation ij(k)m; µrepresents the overall mean; {tau}m represents the fixed effect of square m; ß({tau})im represents the random effect of cow i within square m; {rho}({tau})jm represents the fixed effect of period j within square m; and {alpha}(k) represents the fixed effect of treatment k. The residual terms {varepsilon}ij(k)m are assumed to be normally, independently, and identically distributed with variance Formula 1


    Estimation of Power Using SAS
 TOP
 ABSTRACT
 Data Used in Illustration
 Statistical Methodology
 Estimation of Power Using...
 APPENDIX
 REFERENCES
 
Stroup (1999) outlines how the MIXED procedure of SAS may be used to compute the noncentrality parameter, and this is used to determine power. This approach can be broken down into 3 parts:

  1. In step 1 a new data set "new" is created from the original "milk." The data set "milk" has the design structure of the replicated (5 times) Latin square used in the experiment, which is listed in the Appendix of this paper. The "milk" data set lists the square and treatment allocation of each of the 20 cows during each of the 4 periods. It is important that the new data set has the same structure. If this is not done the PROC MIXED step will not compute the correct noncentral F parameter using the correct degrees of freedom in assessing power. The observed or proposed means (µi) for each corresponding treatment can be assigned. In our example treatment means of 33.4, 33.8, 33.6, and 36.6 were observed for treatment 1 through 4, respectively.
    DATA new;
    SET milk;
    IF trt = 1 THEN mu =33.4;
    IF trt = 2 THEN mu =33.8;
    IF trt = 3 THEN mu =33.6;
    IF trt = 4 THEN mu =36.6;
    RUN;

  2. In step 2 the covariance parameter estimates are defined in the PARMS statement. The estimate of Formula 1, the error variance component, is listed (28.86). In addition, the variance among experimental units within square is defined as a RANDOM effect, and Formula 1 (37.37) is also listed. If the investigator is planning an experiment based on the observations of a similar one conducted and analyzed, these estimates can be found in the original SAS output in the listing of Covariance Parameter Estimates. The NOPROFILE and NOITER options are used to set the variance components. The MODEL and CONTRAST statements are used to compute the F values for each test of interest. Then PROC MIXED is run using these estimates. In summary, this step reflects the design of the experimental layout, pattern of means specified, and the magnitude of the variance among experimental units given in the PARMS statement. Lastly, the ODS statement is used to create the data set b and an additional data set c for computations needed in the contrast statement. If the experimental design includes repeated measures of the response variable, the REPEATED statement can be included after the RANDOM statement, and the corresponding variances and covariances are listed as additional parameters in the PARMS statement.
    TITLE ‘Power of test: Milk Yield’;
    PROC MIXED noprofile DATA=new;
    CLASS sq per cow trt ;
    MODEL mu=trt per(sq) sq;
    RANDOM cow(sq);
    PARMS (37.3720) (28.8617)/NOITER;
    CONTRAST ‘Linear’ trt -3-113;
    CONTRAST ‘Quadratic’ trt 1-1-11;
    ODS OUTPUT tests3=b contrasts=c;
    RUN;

  3. In step 3 data contained in data sets b and c are used to compute power at the specified {alpha} level, 0.05. The FINV function returns the F value for the specified parameters v1, v2, and type I error rate ({alpha}). Both FINV and PROBF are SAS functions that are used to calculate the critical F value and the ß value associated with the Type II error rate. The PROBF returns the probability of retaining a false null hypothesis, and subtracting this from 1 yields the power of the test. Note that {lambda} is computed in the statement where power is calculated (i.e., numdf*f-value).
    DATA power; SET b c;
    alpha=0.05;
    fcrit = finv(1-alpha, numdf, dendf);
    power=1-probf (fcrit, numdf, dendf, numdf* fvalue);
    RUN;
    PROC PRINT DATA = power;
    RUN;

The output in our example is shown in Table 1Go. The SAS program returns a critical F value of 2.83 and a power estimate of 0.39 at the 5% significance level. Thus, given the population variance and magnitude of the treatment effects, there is a probability of about 0.38 that the null hypothesis will be rejected. In other words there is approximately a 0.62 probability of committing a type II error. In addition the linear and quadratic tests return a power estimate of 0.40 and 0.18, respectively. In conclusion, the program may be useful to investigators planning studies to anticipate whether a reliable comparison can be expected.


View this table:
[in this window]
[in a new window]
 
Table 1. Resulting output of the SAS program of statistical power denoting power of the test among treatment means and for linear and quadratic contrasts
 

    APPENDIX
 TOP
 ABSTRACT
 Data Used in Illustration
 Statistical Methodology
 Estimation of Power Using...
 APPENDIX
 REFERENCES
 
Experimental design structure of a replicated Latin square in nutrition study using 20 lactating Holstein cows. The name of this data set, "milk," is used in the SAS program to estimate statistical power. Variable names used in the program are in parentheses.


Square (sq) Period (per) Treatment (trt) Cow (cow)

1 1 1 502
1 2 2 502
1 3 3 502
1 4 4 502
1 1 2 507
1 2 4 507
1 3 1 507
1 4 3 507
1 1 3 513
1 2 1 513
1 3 4 513
1 4 2 513
1 1 4 522
1 2 3 522
1 3 2 522
1 4 1 522
2 1 2 512
2 2 1 512
2 3 4 512
2 4 3 512
2 1 3 517
2 2 4 517
2 3 1 517
2 4 2 517
2 1 1 523
2 2 3 523
2 3 2 523
2 4 4 523
2 1 4 524
2 2 2 524
2 3 3 524
2 4 1 524
3 1 3 288
3 2 4 288
3 3 2 288
3 4 1 288
3 1 2 370
3 2 3 370
3 3 1 370
3 4 4 370
3 1 1 424
3 2 2 424
3 3 4 424
3 4 3 424
3 1 4 445
3 2 1 445
3 3 3 445
3 4 2 445
4 1 4 327
4 2 1 327
4 3 2 327
4 4 3 327
4 1 3 392
4 2 2 392
4 3 1 392
4 4 4 392
4 1 2 396
4 2 4 396
4 3 3 396
4 4 1 396
4 1 1 441
4 2 3 441
4 3 4 441
4 4 2 441
5 1 4 344
5 2 3 344
5 3 1 344
5 4 2 344
5 1 1 404
5 2 4 404
5 3 2 404
5 4 3 404
5 1 3 431
5 2 2 431
5 3 4 431
5 4 1 431
5 1 2 462
5 2 1 462
5 3 3 462
5 4 4 462


    FOOTNOTES
 
1 A contribution of the University of Nebraska Agricultural Research Division, Lincoln, NE 68583; Journal Series No. 15031. Back

Received for publication November 11, 2005. Accepted for publication April 4, 2006.


    REFERENCES
 TOP
 ABSTRACT
 Data Used in Illustration
 Statistical Methodology
 Estimation of Power Using...
 APPENDIX
 REFERENCES
 


Kaps, M., and W. R. Lamberson. 2004. Page 308 in Biostatistics for Animal Science. CABI Publishing, New York, NY.

Littell, R. C., P. R. Henry, and C. B. Ammerman. 1999. Statistical analysis of repeated measures data using SAS procedures. J. Anim. Sci. 76:1216–1231.

Littell, R. C., G. A. Milliken, W. W. Stroup, and R. D. Wolfinger. 1996. SAS System for Mixed Models. SAS Inst. Inc., Cary, NC.

Murphy, K. R., and B. Myors. 2004. Statistical Power Analysis, A Simple and General Model for Traditional and Modern Hypothesis, 2nd ed. Page viii. Lawrence Erlbaum Associates, Publ., Mahwah, NJ.

Stroup, W. W. 1999. Mixed model procedures to assess power, precision, and sample size in the design of experiments. Pages 15–24 in Proc. Biopharmaceutical Section. Am. Stat. Assoc., Baltimore, MD.

Tempelman, R. J. 2004. Experimental design and statistical methods for classical and bioequivalence hypothesis testing with an application to dairy nutrition studies. J. Anim. Sci. 82(E. Suppl.):E162–E172.[Abstract/Free Full Text]

Wang, Z., and L. A. Goonewardene. 2004. The use of mixed models in the analysis of animal experiments with repeated measures data. Can. J. Anim. Sci. 84:1–11.


This article has been cited by other articles:


Home page
J DAIRY SCIHome page
A. M. Gehman, P. J. Kononoff, C. R. Mullins, and B. N. Janicek
Evaluation of Nitrogen Utilization and the Effects of Monensin in Dairy Cows Fed Brown Midrib Corn Silage
J Dairy Sci, January 1, 2008; 91(1): 288 - 300.
[Abstract] [Full Text] [PDF]


Home page
J ANIM SCIHome page
A. L. Van Eenennaam, J. Li, R. M. Thallman, R. L. Quaas, M. E. Dikeman, C. A. Gill, D. E. Franke, and M. G. Thomas
Validation of commercial DNA tests for quantitative beef quality traits
J Anim Sci, April 1, 2007; 85(4): 891 - 900.
[Abstract] [Full Text] [PDF]


This Article
Right arrow Abstract Freely available
Right arrow Full Text (PDF)
Right arrow Interpretive Summary
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Similar articles in this journal
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Download to citation manager
Right arrow reprints & permissions
Citing Articles
Right arrow Citing Articles via HighWire
Right arrow Citing Articles via Google Scholar
Google Scholar
Right arrow Articles by Kononoff, P. J.
Right arrow Articles by Hanford, K. J.
Right arrow Search for Related Content
PubMed
Right arrow PubMed Citation
Right arrow Articles by Kononoff, P. J.
Right arrow Articles by Hanford, K. J.


HOME HELP FEEDBACK SUBSCRIPTIONS ARCHIVE SEARCH TABLE OF CONTENTS