Gen_data: Generate the data in the simulations

Description Usage Arguments Value References

View source: R/Gen_data.R

Description

Generate the data used in the simulations.

Usage

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

Arguments

n

number of sample size to be generated.

pois_par

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

true signal of the functional parameter.

Value

y

the response in the simulations.

x

the functional variable in the simulations.

z

the scalar variables in the simulations.

References

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


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