View source: R/print.tsfmUpDn.r
print.tsfmUpDn | R Documentation |
S3 print
method for object of class tsfmUpDn
. Prints
the call, factor model dimension, regression coefficients, r-squared and
residual volatilities from the fitted object.
## S3 method for class 'tsfmUpDn'
print(x, digits = max(3, .Options$digits - 3), ...)
x |
an object of class |
digits |
an integer value, to indicate the required number of significant digits. Default is 3. |
... |
optional arguments passed to the |
Yi-An Chen and Sangeetha Srinivasan
fitTsfmUpDn
, summary.tsfmUpDn
# load data
data(managers, package = 'PerformanceAnalytics')
colnames(managers)
# Make syntactically valid column names
colnames(managers) <- make.names( colnames(managers))
colnames(managers)
# 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")
print(fitUpDn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.