-
Notifications
You must be signed in to change notification settings - Fork 63
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
-R CMD Check ERROR: Running examples in ‘FactorAnalytics-Ex.R’ failed #43
Comments
This ultimately executes and fails at |
Will be interesting to see what the issue is here.
…On Fri, Aug 20, 2021 at 1:32 PM Justin M. Shea ***@***.***> wrote:
This ultimately executes and fails at fitTsfm, which appears to be
working OK? The fitTsfm example test passes. The issue maybe in the lag
transform steps...hence the [.xts Error.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP575Y7EW7PPUNFHUPG2Y53T523WPANCNFSM5BDSUDGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
|
I will check fitTsfmLagLeadBeta() stand alone to make sure it is ok, and post what I find out |
Oops, looks like you fixed it |
Not yet! Still working through it. Might be an |
Got it, thanks.
By the way, once everything is fixed in FA, I am going to enhance that
function in two ways:
1. Use the known bias correction as a default option for the current Dimson
method.
2. Add the Scholes-Williams method (with bias correction)
You will see the extent to which using one of these methods has a
non-trivial impact on beta
estimates for micro-cap stocks in the next version of the Robust Time
Series Factor Models,
by early next week.
Doug
…On Fri, Aug 20, 2021 at 2:34 PM Justin M. Shea ***@***.***> wrote:
Not yet! Still working through it. Might be an xts issue...getting some
odd behavior here during the merge
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP575YZ6TWFYF3OOHUKHJ63T53C7VANCNFSM5BDSUDGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
|
Sounds compelling! You could open another issues for this and mark it as "feature". Thanks! |
On Fri, Aug 20, 2021 at 4:25 PM Justin M. Shea ***@***.***> wrote:
Sounds compelling! You could open another issues and mark it as "feature".
Good thought - will do.
… Thanks!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP575Y46QJIO5JBWOWTX7KDT53P6DANCNFSM5BDSUDGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
|
Last fail on this issue is here:
|
I could check both this one and the last one. But this is the kind of
function level stuff that Kirk could
check out, fix, and then I could test run and do the update at github.
Doug
…On Fri, Aug 20, 2021 at 5:30 PM Justin M. Shea ***@***.***> wrote:
Name: fitTsfmUpDn Title: Fit a up and down market factor model using time
series regression Aliases: fitTsfmUpDn ** Examples load data
data(managers, package = 'PerformanceAnalytics')
Make syntactically valid column names
colnames(managers)
[1] "HAM1" "HAM2" "HAM3" "HAM4" "HAM5"
[6] "HAM6" "EDHEC LS EQ" "SP500 TR" "US 10Y TR" "US 3m TR"
colnames(managers) <- make.names( colnames(managers))
colnames(managers)
[1] "HAM1" "HAM2" "HAM3" "HAM4" "HAM5"
[6] "HAM6" "EDHEC.LS.EQ" "SP500.TR" "US.10Y.TR" "US.3m.TR"
example: Up and down market factor model with LS fit
fitUpDn <- fitTsfmUpDn(asset.names=colnames(managers[,(1:6)]),mkt.name="
SP500.TR", data=managers, fit.method="LS",control=NULL)
Error in do.call(lmrobdet.control, control[m2, drop = TRUE]) :
second argument must be a list
Calls: fitTsfmUpDn -> fitTsfm -> do.call
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP575Y3EAKNDLGV2EPJ73D3T53XSXANCNFSM5BDSUDGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
|
and `StockReturns` discussed in #34
…which get filled in by "." during merge.xts.
After recent enhancement to FitFffm, need to fix a few things that will pop up here e7e0007 |
…ow accesses FitFfmDT through a wrapper function
@midoshammaa , the last example fails on Name: fmTstats
Error in R_matrix[[1]] %*% g[[1]][1:K] : non-conformable arguments |
…scores6, results in an error in fitFfm and fitFfmDT
@martinrd3D Cleared all ERRORs for now and am closing this issue. We are back down to 1 NOTE, related to data size. |
reopening, as many of the items in #69 relate to this, and we are already throwing some new errors as we go through the process of changing data sets as well as FitFfmDT. For example, this build error related to issues #65
|
The error most likely occurred in:
The text was updated successfully, but these errors were encountered: