Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plots not working in fitTsfm_vignette #41

Closed
kecoli opened this issue Jul 26, 2021 · 11 comments
Closed

Plots not working in fitTsfm_vignette #41

kecoli opened this issue Jul 26, 2021 · 11 comments
Assignees

Comments

@kecoli
Copy link
Contributor

kecoli commented Jul 26, 2021

plot(fit.sub, plot.single=TRUE, asset.name="HAM1")

Make a plot selection (or 0 to exit):

1: Actual and fitted asset returns (not working)
2: Actual vs fitted asset returns
3: Residuals vs fitted asset returns
4: Sqrt. of modified residuals vs fitted
5: Residuals with standard error bands (not working)
6: Time series of squared residuals (not working)
7: Time series of absolute residuals (not working)
8: SACF and PACF of residuals
9: SACF and PACF of squared residuals
10: SACF and PACF of absolute residuals
11: Non-parametric density of residuals with normal overlaid
12: Non-parametric density of residuals with skew-t overlaid
13: Histogram of residuals with non-parametric density and normal overlaid
14: QQ-plot of residuals
15: CUSUM test-Recursive residuals
16: CUSUM test-LS residuals
17: Recursive estimates (RE) test of LS regression coefficients
18: Rolling regression over a 24-period observation window
19: Asset returns vs factor returns (single factor model)

@JustinMShea
Copy link
Collaborator

JustinMShea commented Jul 28, 2021

Hey @kecoli and @martinrd3D

Is this the same or similar to issue #19 ?

Thanks!

@martinrd3D
Copy link
Collaborator

martinrd3D commented Jul 28, 2021 via email

@JustinMShea
Copy link
Collaborator

Ok thanks @martinrd3D. So hits is indeed a duplicate issue with #19. I will close this one, and transfer @kecoli notes

@kecoli kecoli reopened this Jul 29, 2021
@kecoli
Copy link
Contributor Author

kecoli commented Jul 29, 2021

reopen this issue since it is for plotting functions in fitTsfm, while #19 is for fitFfm (which I have not looked at yet)

@dan9401
Copy link

dan9401 commented Aug 2, 2021

@kecoli I noticed the merge conflict not resolved in plot.tsfm.r.

@JustinMShea
Copy link
Collaborator

Thanks @dan9401.

Reviewing the recent commits @kecoli, looks like we introduced some new errors.

I suggest a hard reset to my latest commit, and then re-adding your work again, and building the package locally.

The build should fail at the point of error and indicate which line of the function requires attention.

@kecoli
Copy link
Contributor Author

kecoli commented Aug 2, 2021

Thanks @dan9401.

Reviewing the recent commits @kecoli, looks like we introduced some new errors.

I suggest a hard reset to my latest commit, and then re-adding your work again, and building the package locally.

The build should fail at the point of error and indicate which line of the function requires attention.

Sorry about it, didn't expect it would happen but it did. Let me take a look and understand the issue.

@JustinMShea
Copy link
Collaborator

JustinMShea commented Nov 1, 2021

@kecoli @martinrd3D Looks like this is somewhat the email I sent you both earlier on plot.ffm. If these are fixed, lets merge and push to the repo, or close this issue :-)

@JustinMShea JustinMShea added the bug label Nov 1, 2021
@JustinMShea
Copy link
Collaborator

@martinrd3D and @kecoli , hows this issue coming along? I'm just quickly reviewing issues and am wondering if this can be closed.
Thanks,
Justin

@martinrd3D
Copy link
Collaborator

martinrd3D commented Dec 10, 2021 via email

@JustinMShea
Copy link
Collaborator

@kecoli and @martinrd3D Pinging for updates here so we can close this issue!

JustinMShea added a commit that referenced this issue Mar 26, 2022
Code fix to address plotting problems in ffm and tsfm objects. Also, see issue #41 and #58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants