estimate_intercept_reg: Function to update intercept

View source: R/helper.r

estimate_intercept_regR Documentation

Function to update intercept

Description

Function to update intercept

Usage

estimate_intercept_reg(y, Xorig, beta, n.break, intercept, state)

Arguments

y

outcome vector

Xorig

design matrix in original scale

beta

regression coefficient

n.break

number of breaks

intercept

boolean; if FALSE, the intercept is set to zero.

state

state vector (length T)


jongheepark/BridgeChange documentation built on Jan. 12, 2023, 4:48 p.m.