get_time_weight: Compute time-specific weights

View source: R/did-sad-functions.R

get_time_weightR Documentation

Compute time-specific weights

Description

Compute time-specific weights

Usage

get_time_weight(Gmat, id_time_use)

Arguments

Gmat

G matrix.

id_time_use

A vector of time index (normalized). Output of get_periods.

Value

A vector of time weights.


naoki-egami/DIDdesign documentation built on June 4, 2024, 2:59 p.m.