Learn R Programming

ddecompose (version 1.0.0)

GU_normalization_sum_coefficients: Sum coefficients for GU normalization

Description

This function sums the coefficients of a single factor variable to construct an additional coefficient for the left-out reference level.

Usage

GU_normalization_sum_coefficients(coef_names, est_coef)

Arguments

coef_names

names of the dummy coefficients of a factor variable

est_coef

estimated coefficient vector