Skip to contents

Matches the Stata demeanmat() function.

Usage

double_center(mat)

Arguments

mat

n x n matrix

Value

Double-centered matrix