Weighted Least-Squares Function For Longitudinal Data

tvcm_wls(x, y, time, id, time_zero, h, type)

Arguments

x

design matrix

y

response vector

time

vector

id

grouping vector

time_zero

grid point double

h

bandwidth double

type

kernel function int