Description Usage Arguments Details Value Examples
View source: R/functions_poisson.r
get_dweights
calculates difference weights
1 | get_dweights(targets, goal = 100)
|
targets |
s x k matrix of desired target values |
goal |
optional scalar – weights multiplied by targets will equal this |
number of households (or individuals, records, tax returns, etc.)
number of states (or other geographies or subgroups)
number of characteristics each household has
scalar: sum of squared differences
1 2 3 | p <- make_problem(h=10, s=3, k=2)
dw <- get_dweights(p$targets)
dw * p$targets
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.