Gen_data_same_time: Generate the data at the same time points

Description Usage Arguments Value References

View source: R/Gen_data_same_time.R

Description

Generate the response and the covariates at the same time points.

Usage

1
Gen_data_same_time(n, pois_par, u_time, gamma, len_k, B)

Arguments

n

The number of sample size to be generated.

pois_par

The number of time points in the t direction follows from a Possion(pois_par).

u_time

length of the observation time in the u direction.

gamma

true values of the scalar parameters

len_k

number of the basis function used when generating the functional parameter.

B

signal of the functional parameter.

Value

y

The response in the simulations.

x

The functional variable in the simulations with the same observation times with the response.

z

The scalar variables in the simulations with the same observation times with the response.

References

see the paper "Generalized functional partial varying-coefficient model".


BIG-S2/GFPLVCM documentation built on May 23, 2019, 5:01 a.m.