parameter_estimate: Estimate the parameters

Description Usage Arguments Value References

View source: R/parameter_estimate.R

Description

Esimate both the functiona and scalar parameterzs.

Usage

1
parameter_estimate(y, x, z, lambda_s, lambda_u, bd, order_1, order_2, breaks,  pois_par, grid)

Arguments

y

a list of the response with the elements y_ID, y_time_point and y_value.

x

a list of the functional covariate with the elements x_ID, x_time_point and x_value.

z

a list of the scalar covariate with the elements z_ID, z_time_point and z_value.

lambda_s

the tuning parameter in the s direction.

lambda_u

the tuning parameter in the u direction.

bd

the bandwidth of the kernel function.

order_1

order of the B-splines in the s direction.

order_2

order of the B-splines in the u direction.

breaks

knots of the B-splines.

pois_par

intensity of the Possion distribution when generating the time points of the functional parameter.

grid

observation points in the u direction.

Value

gamma_est

estimates of the salcar parameters.

b_est

estimates of the B-splines coefficients.

beta_est

estimate of the functional parameter.

gamma_stat

Statistic with respect to testing the nullity of the scalar parameters.

b_stat

Statistic with respect to testing the nullity of the functional parameter.

References

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


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