specialise_weight: Individualize weight vectors for each mark test function.

Description Usage Arguments Value

View source: R/mtf.r

Description

Create an individual weight vector for each mark test function. The weight of the point pair (x_1, x_2) is w_1, 2 = e_1, 2 / (lambda^2 * c_f), where e_1, 2 is the edge correction term, lambda^2 is the estimate of the intensity squared and c_f is the scaling term for the mark test function. This way each pair of points has exactly one coefficient tailored for them.

Usage

1
specialise_weight(weight_vec, mark_stat, mtf_name, one_per_lambda2)

Arguments

weight_vec

A vector of weights.

mark_stat

Mark statistics.

mtf_name

A vector containing the names of the mark test functions.

one_per_lambda2

An estimate for the inverse of the estimate of the intensity squared

Value

A matrix of weights. Each column is for a different mark test function. Each row is for a different _ordered_ point pair where (x1, x2) is different from (x2, x1).


myllym/marksummary documentation built on May 23, 2019, 11:59 a.m.