refunders / refund

Regression with functional data
39 stars 23 forks source link

Unclear use of FPCR for prediction #102

Open Ddelval opened 1 year ago

Ddelval commented 1 year ago

Hi,

I have been trying to use the fpca regression provided in this packet. However, after browsing the documentation, I have not yet been able to find an example of how to do it.

I have tried the following:

I suspect that maybe calling predict with different parameters might solve these issues. However, I have tried several combinations to no avail. Could you please provide an example of the sequence of functions that have to be called to use the linear model created in pfcr as a predictor?

Thanks.

fabian-s commented 1 year ago

As you found out yourself, there is no predict-method for fpcr-objects so "calling predict with different parameters" won't solve the issue.

@huangracer @philreiss can you help?