4.8 Simulating Lactation Data

BESTPRED can simulate example Holstein lactation data for testing plans described in the file DCRexample.txt. Each entry corresponds to separate record, and each record may have different supervision codes, milking frequency, weighing frequency, sampling frequency, number of days included in labor-efficient records, testing interval (in days), time of first sample (in days), time of last sample (in days), and lactation number. Each plan may also be given a name. Testing plans that change over time, such as every-other-month components tests, are also accommodated. The first three (3) records in DCRexample.txt are shown below (lines beginning with underscores are treated as comments and ignored):
_ super- times  times times  LER  testplan first last par-
_ vised  milked weigh sample days interval test  test ity  plan-name
____________________________________________________________________
    1      2      2     2      1      30     15  255   5  255-day RIP

    1      3      2     2      7      60     30  300   4  LER sampled
    1      3      2     0      7      60     60  300   4  odd months

    1      2      2     2      1      30     15  285   1  Supervised
Herd average ME milk, fat, and protein yields are hard-coded in bestpred_main.f90 as 20,000 pounds, 700 pounds, and 600 pounds, respectively.

Results are written to the file results_v2.dcr, and may be compared with the AIPL-calculated figures in DCRexample.results.dcr for validation that BESTPRED is working as expected. The format of results_v2.dcr is presented in Table 4.6, and the example values are taken from the first record in DCRexample.results.dcr distributred with BESTPRED.

Contents of DCRexample.results.dcr and results_v2.dcr Variable & Column(s) & Example Value & Note(s)

\begin{xtabular}{lllp{4in}}
Animal & 1--17 & HOUSA.EX.COW. & Animal ID \\
F...
...0.0000 & \\
& 294--300 & 0.0000 & \\
& 303--309 & 0.28 & \\
\end{xtabular}
Results from the first three (3) records defined in DCRexample.txt are shown below (note that the data heve been reformatted slightly for typesetting purposes).
HOUSA.EX.COW. 19990401 255  102. 102. 101. 21753.   778.   692.   2.21 24744.   893.   796.
   2.30 21753.   778.   692.   2.21 18824.   669.   595.   2.15 -0.06  0.04 -0.31 -0.58 0.97
 0.97 0.97 0.97 0.85 0.84 0.84 0.72 21800.   780.   695.   0.00 20000.   700.   600.   3.08
  0.0000 0.0000 0.0000     0.28
HOUSA.EX.COW. 19990401 300  104.  97.  94. 18889.   686.   605.   2.55 21386.   790.   697.
   2.64 18889.   686.   605.   2.55 18662.   676.   597.   2.54 -0.14  0.20 -0.07 -0.20 1.00
 0.93 0.93 0.90 0.98 0.75 0.81 0.52 18894.   690.   610.   0.00 20000.   700.   600.   3.08
  0.0000 0.0000 0.0000     0.73
HOUSA.EX.COW. 19990401 285  101. 101. 103. 28599.  1019.   897.   3.33 32656.  1172.  1033.
   3.48 28599.  1019.   897.   3.33 27151.   966.   849.   3.26  0.38  0.44 -2.01 -0.24 0.97
 0.97 0.97 0.97 0.90 0.89 0.79 0.79 28885.  1029.   906.   0.00 20000.   700.   600.   3.20
  0.0000 0.0000 0.0000     0.56
While these results are presented in standard units (pounds) BESTPRED will return values in Metric units (kg) if so requested by the user (see Section 5.1.26).
See About this document... for information on suggesting changes.