sqr_diff.mnl: Squared differences optimization function with multinomial...

View source: R/mu.mnl.R

sqr_diff.mnlR Documentation

Squared differences optimization function with multinomial logit

Description

Squared differences optimization function with multinomial logit

Usage

sqr_diff.mnl(x, mu, areas, targets, restrictions = NULL, cutoff = 0)

Arguments

x

Bias correction parameters

mu

Means of each class

areas

Vector of areas

targets

Targets to match

restrictions

Optional restrictions. Binary, if 1, the log-odds are set to zero

cutoff

Optional, defaults to zero. If set, all log-odds below cutoff are set to zero

Value

Squared differences of optimized values and targets


tkrisztin/downscalr documentation built on June 2, 2025, 1:16 a.m.