-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintegrated_model_comparison.txt
More file actions
73 lines (55 loc) · 2.64 KB
/
integrated_model_comparison.txt
File metadata and controls
73 lines (55 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
=== INTEGRATED MODEL COMPARISON SUMMARY ===
Date: 2025-08-03 17:40:24
Comparison of RCBD vs SpATS Spatial Model
Dataset: 54 observations, 3 treatments, 3 blocks
RCBD Model: Linear Mixed Model with random block effects
SpATS Model: Spatial spline model with PSANOVA smoothing
OVERALL MODEL PERFORMANCE (Mean Absolute Errors):
=================================================
Model Treatment_Error Environmental_Error
----- --------------- ------------------
RCBD_Model 0.2075 1.1237
SpATS_Spatial 0.0506 1.0937
ESTIMATED vs TRUE TREATMENT EFFECTS:
====================================
Treatment True_Effect RCBD_Estimate SpATS_Estimate RCBD_Error SpATS_Error
--------- ----------- ------------- -------------- ---------- -----------
Control 0.000 0.000 0.000 0.000 0.000
Test 1.000 0.894 1.024 0.106 0.024
Reference 0.500 1.016 0.627 0.516 0.127
BLOCK EFFECTS vs SPATIAL MODELING:
===================================
RCBD Block Effects:
(Random Effects from Mixed Model)
Block 1: +0.2675 t/ha
Block 2: -0.1327 t/ha
Block 3: -0.1348 t/ha
SpATS Spatial Modeling:
- Uses PSANOVA splines to model continuous spatial variation
- Spatial effect range: 11.635 to 13.660 t/ha
MODEL ASSUMPTION TESTS:
=======================
RCBD Model:
-----------
(Linear Mixed Model with random block effects)
Normality (Shapiro-Wilk): W = 0.9111, p-value = 0.0007
Interpretation: Non-normal residuals (p ≤ 0.05)
Homoscedasticity (Bartlett): K-squared = 0.4842, p-value = 0.7850
Interpretation: Homoscedastic residuals (p > 0.05)
SpATS Model:
------------
Normality (Shapiro-Wilk): W = 0.9567, p-value = 0.0489
Interpretation: Non-normal residuals (p ≤ 0.05)
Homoscedasticity (Bartlett): K-squared = 4.1230, p-value = 0.1273
Interpretation: Homoscedastic residuals (p > 0.05)
Spatial Autocorrelation (Moran's I): I = -0.1890, p-value = 0.9720
Interpretation: No significant spatial autocorrelation (p > 0.05)
MODEL COMPARISON INTERPRETATION:
================================
Treatment Effect Estimation: SpATS performs better (lower error)
Environmental Effect Estimation: SpATS performs better (lower error)
Key Differences:
- RCBD: Captures environmental variation through discrete block effects
- SpATS: Models continuous spatial variation using smooth splines
- Mixed Model: Accounts for pseudoreplication with random effects (if convergent)
- Spatial Model: Explicitly models spatial correlation structure