weight_mat {smile} | R Documentation |
Building weight matrix W for Areal Interpolation
Description
internal use. W_{ij} = | A_i \, cap \, B_j |
.
Usage
w_col(source_unit, target)
build_w(source, target)
est_w(W, source_dt, target)
var_w(W, var_vec, target, method = "CS", rho_mi)
Arguments
source_unit |
a single |
target |
a |
source |
a |
W |
the weight matrix. |
source_dt |
a |
var_vec |
a |
method |
a |
rho_mi |
|
Value
A n \times m
numeric
matrix. Where n
is the
number of observations in the target and m
is the sample size in
the source dataset.
[Package smile version 1.0.5 Index]