Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_kennedy_estimator

Kennedy Estimator


Description

Computes the consistent and almost unbiased estimator for dummy variables in semi-logarithmic regressions proposed by Kennedy, P.E. (1981). Estimation with correctly interpreted dummy variables in semi-logarithmic equations. American Economic Review, 71, 801.

Usage

get_kennedy_estimator(coefficient, variance)

Arguments

coefficient

numeric value of the estimated coefficient for a dummy variable in a semi-logarithmic regression

variance

numeric value of the variance of this estimated coefficient

Details

Given a semi-logarithmic regression with a dummy variable and its estimated coefficient c with a variance v, the consistent and almost unbiased estimator proposed by Kennedy is computed as k = exp(c) / exp(v / 2) - 1

Value

a numeric value representing the so-called "Kennedy estimator"


logib

Salary Analysis by the Swiss Federal Office for Gender Equality

v0.1.0
GPL-3
Authors
Jonathan Chassot [aut, cre], Jeremy Kolly [ctb], Federal Office for Gender Equality of Switzerland [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.