Analiza pročišćenih podataka - utjecaji u modelu
Opisna statistika podataka za izračun UV

Variable N Mean Std Dev Minimum Maximum
region
herd
parity
calvdiff
stillb
weight
source
sex
birth_dt
birth_dt_dam
ycalv
mcalv
age_c
parity2
calvdiff1
calvdiff2
age_c2
stillb1
stillb2
sex1
age_x
parity_c
n_hycalv
ycalv2
varObsCE
varExpCE
varObsSB
varExpSB
meanObsCE
meanObsSB
calvdiffs
calvdiff1s
calvdiff2s
stillbs
stillb1s
stillb2s
n_hycalv1
perma
perm2a
sexa
sexpa
sexpaga
calvsa
regya
herda
herdya
idanima
idsirea
iddama
y3103
y3104
y3105
y3106
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
299123
296996
295847
299123
299123
299123
299123
11.931
-1025423.635
2.302
1.596
1.046
35.803
1.340
1.544
18058.896
16675.122
2008.940
6.661
45.369
1.621
62.050
38.546
45.209
61.837
38.209
1.210
45.369
2.239
383.042
2003.842
0.257
0.305
0.044
0.038
1.596
1.046
1.596
62.051
38.545
1.046
61.836
38.210
382.926
74345.305
103103.320
1.544
2.708
89.935
179.842
133.561
2500.962
7110.818
251863.742
247085.565
199297.867
1.596
1.596
1.046
1.046
4.661
3983379.712
1.457
0.541
0.210
11.482
0.474
0.498
1902.689
2023.644
5.198
3.497
21.141
0.485
47.254
47.276
20.580
47.525
47.537
0.407
21.141
1.283
506.351
0.365
0.085
0.000
0.010
0.000
0.188
0.011
0.584
47.253
47.277
0.196
47.526
47.537
506.329
44940.534
62191.515
0.498
1.102
78.251
62.509
53.573
1182.470
4250.200
100742.124
195977.803
136975.146
0.541
0.541
0.210
0.210
1.000
-21270001.00
1.000
1.000
1.000
0.000
1.000
1.000
12513.000
8705.000
1997.000
1.000
18.000
1.000
1.000
1.000
18.000
1.000
1.000
1.000
18.000
1.000
3.000
2003.000
0.008
0.305
0.016
0.038
1.314
1.017
-4.179
-4.179
-4.179
0.991
0.991
0.991
3.000
1.000
1.000
1.000
1.000
1.000
1.000
1.000
1.000
1.000
57550.000
3.000
4.000
1.000
1.000
1.000
1.000
22.000
186021.000
10.000
4.000
2.000
98.000
2.000
2.000
21003.000
20409.000
2017.000
12.000
162.000
2.000
99.000
99.000
108.000
99.000
99.000
2.000
162.000
5.000
2201.000
2004.000
0.346
0.305
0.090
0.038
2.020
1.100
6.278
99.000
99.000
2.526
99.000
99.000
2201.000
153482.000
213083.000
2.000
4.000
229.000
277.000
228.000
4245.000
15518.000
443748.000
447594.000
446200.000
4.000
4.000
2.000
2.000

cattle - hol - ce - 1702



Analiza pročišćenih podataka - utjecaji u modelu
Opisna statistika nepročišćenih ulaznih podataka

Variable N Mean Std Dev Minimum Maximum
region
herd
parity
calvdiff
stillb
weight
source
457942
457968
457971
457954
457954
457954
457971
11.344
-1208469.605
2.329
1.578
1.072
34.984
1.298
5.165
4200269.371
1.531
0.652
0.332
12.728
0.457
0.000
-99100229.00
1.000
0.000
0.000
0.000
1.000
22.000
186656.000
94.000
9.000
6.000
100.000
2.000

cattle - hol - ce - 1702



Region analysis
Original data

Region Calving ease
N PctN Min Max Std
0 8 0.00 1.00 2.00 0.35
1 25445 5.56 0.00 6.00 0.57
2 3789 0.83 0.00 6.00 0.60
3 13572 2.96 0.00 6.00 0.57
4 13126 2.87 0.00 6.00 0.65
5 15543 3.39 0.00 6.00 0.46
6 37127 8.11 0.00 6.00 0.53
7 46965 10.26 0.00 7.00 0.63
8 1065 0.23 0.00 3.00 0.55
9 1971 0.43 0.00 6.00 0.56
10 9822 2.14 0.00 6.00 0.68
11 3830 0.84 0.00 6.00 0.53
12 12222 2.67 0.00 8.00 0.61
13 13791 3.01 0.00 9.00 0.79
14 166787 36.42 0.00 6.00 0.65
15 983 0.21 0.00 6.00 0.54
16 55601 12.14 0.00 6.00 0.73
17 1873 0.41 0.00 6.00 0.59
18 7729 1.69 0.00 6.00 0.65
19 45 0.01 1.00 2.00 0.47
20 25181 5.50 0.00 7.00 0.71
22 1452 0.32 0.00 4.00 0.51

cattle - hol - ce - 1702



Region analysis
After data editing

Region Calving ease
N PctN Min Max Std
1 14033 4.69 1.00 4.00 0.53
3 5714 1.91 1.00 4.00 0.51
4 6117 2.04 1.00 4.00 0.50
5 5567 1.86 1.00 4.00 0.30
6 24339 8.14 1.00 4.00 0.45
7 28824 9.64 1.00 4.00 0.49
10 5748 1.92 1.00 4.00 0.52
11 1271 0.42 1.00 4.00 0.29
12 6308 2.11 1.00 4.00 0.47
14 137817 46.07 1.00 4.00 0.55
16 41714 13.95 1.00 4.00 0.57
18 20800 6.95 1.00 4.00 0.55
22 871 0.29 1.00 4.00 0.46

cattle - hol - ce - 1702



The SGPlot Procedure



Herd effect
Herd effect - Number of animals by herd

N animal per herd n %
3 1024 24.12
4 310 7.30
5-10 961 22.64
11-20 681 16.04
21-30 324 7.63
31-40 206 4.85
41-50 137 3.23
51-100 303 7.14
101-150 107 2.52
151-200 48 1.13
201-250 22 0.52
> 250 122 2.87
Sum 4245 100.00

cattle - hol - ce - 1702



The SGPlot Procedure



Herd effect
Descriptive statistics by year of testing for milk traits

Year of test calvdiff1 calvdiff2 stillb1 stillb2
N Min Max N Min Max N Min Max N Min Max
1997 5,379 1.00 99.00 5,379 1.00 99.00 5,379 1.00 99.00 5,379 1.00 99.00
1998 4,564 1.00 99.00 4,564 1.00 99.00 4,564 1.00 99.00 4,564 1.00 99.00
1999 6,441 1.00 99.00 6,441 1.00 99.00 6,441 1.00 99.00 6,441 1.00 99.00
2000 6,804 1.00 99.00 6,804 1.00 99.00 6,804 1.00 99.00 6,804 1.00 99.00
2001 7,399 1.00 99.00 7,399 1.00 99.00 7,399 1.00 99.00 7,399 1.00 99.00
2002 8,523 1.00 99.00 8,523 1.00 99.00 8,523 1.00 99.00 8,523 1.00 99.00
2003 8,297 1.00 99.00 8,297 1.00 99.00 8,297 1.00 99.00 8,297 1.00 99.00
2004 10,828 1.00 99.00 10,828 1.00 99.00 10,828 1.00 99.00 10,828 1.00 99.00
2005 16,313 1.00 99.00 16,313 1.00 99.00 16,313 1.00 99.00 16,313 1.00 99.00
2006 19,320 1.00 99.00 19,320 1.00 99.00 19,320 1.00 99.00 19,320 1.00 99.00
2007 21,016 1.00 99.00 21,016 1.00 99.00 21,016 1.00 99.00 21,016 1.00 99.00
2008 22,405 1.00 99.00 22,405 1.00 99.00 22,405 1.00 99.00 22,405 1.00 99.00
2009 22,760 1.00 99.00 22,760 1.00 99.00 22,760 1.00 99.00 22,760 1.00 99.00
2010 22,715 1.00 99.00 22,715 1.00 99.00 22,715 1.00 99.00 22,715 1.00 99.00
2011 14,104 1.00 99.00 14,104 1.00 99.00 14,104 1.00 99.00 14,104 1.00 99.00
2012 539 1.00 99.00 539 1.00 99.00 539 1.00 99.00 539 1.00 99.00
2013 22,792 1.00 99.00 22,792 1.00 99.00 22,792 1.00 99.00 22,792 1.00 99.00
2014 24,001 1.00 99.00 24,001 1.00 99.00 24,001 1.00 99.00 24,001 1.00 99.00
2015 23,768 1.00 99.00 23,768 1.00 99.00 23,768 1.00 99.00 23,768 1.00 99.00
2016 22,631 1.00 99.00 22,631 1.00 99.00 22,631 1.00 99.00 22,631 1.00 99.00
2017 8,524 1.00 99.00 8,524 1.00 99.00 8,524 1.00 99.00 8,524 1.00 99.00
Sum 299,123 1.00 99.00 299,123 1.00 99.00 299,123 1.00 99.00 299,123 1.00 99.00

cattle - hol - ce - 1702