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 May 2, 2019, 8:34 a.m.