withinvar: Generate the variance of the demeaned variable

Description Usage Arguments Details Author(s)

View source: R/auxFun.R

Description

withinvar() subtracts the mean of a vector from the vector itself, and then returns its variance.

Usage

1
2
    withinvar(inmat)
  

Arguments

inmat

Vector of log(value added output).

Details

withinvar() accepts a vector as input, then subtracts the mean from it and returns the variance.

Author(s)

Gabriele Rovigatti


prodest documentation built on June 20, 2018, 5:04 p.m.