Last chance! 50% off unlimited learning
Sale ends in
Generalized Hierarchical Model-Based estimation method
ghmb(y_S, X_S, X_Sa, Z_Sa, Z_U, Omega_S, Sigma_Sa)
Response object that can be coerced into a column vector. The
_S
denotes that y
is part of the sample S, with
Object of predictors variables that can be coerced into a matrix.
The rows of X_S
correspond to the rows of y_S
.
Object of predictor variables that can be coerced into a matrix. The set Sa is the intermediate sample.
Object of predictor variables that can be coerced into a matrix.
The set Sa is the intermediate sample, and the Z-variables often some
sort of auxilairy, inexpensive data. The rows of Z_Sa
correspond to
the rows of X_Sa
Object of predictor variables that can be coerced into a matrix. The set U is the universal population sample.
The covariance structure of
The covariance structure of
A fitted object of class HMB.
The GHMB assumes two models
Saarela, S., Holm, S., Healey, S.P., Andersen, H.-E., Petersson, H., Prentius, W., Patterson, P.L., N<U+00E6>sset, E., Gregoire, T.G. & St<U+00E5>hl, G. (2018). Generalized Hierarchical Model-Based Estimation for Aboveground Biomass Assessment Using GEDI and Landsat Data, Remote Sensing, 10(11), 1832.
# NOT RUN {
pop_U = sample(nrow(HMB_data), 20000)
pop_Sa = sample(pop_U, 2500)
pop_S = sample(pop_U, 300)
y_S = HMB_data[pop_S, "GSV"]
X_S = HMB_data[pop_S, c("hMAX", "h80", "CRR", "pVeg")]
X_Sa = HMB_data[pop_Sa, c("hMAX", "h80", "CRR", "pVeg")]
Z_Sa = HMB_data[pop_Sa, c("B20", "B30", "B50")]
Z_U = HMB_data[pop_U, c("B20", "B30", "B50")]
Omega_S = diag(1, nrow(X_S))
Sigma_Sa = diag(1, nrow(Z_Sa))
ghmb_model = ghmb(
y_S, X_S, X_Sa, Z_Sa, Z_U, Omega_S, Sigma_Sa)
ghmb_model
# }
Run the code above in your browser using DataLab