standardizeExposures | R Documentation |
function to calculate z-scores for numeric exposure using weights weight.var
standardizeExposures(
specObj,
Std.Type = c("None", "CrossSection", "TimeSeries"),
lambda = 0.9
)
specObj |
is a ffmSpec object, |
Std.Type |
method for exposure standardization; one of "none",
"CrossSection", or "TimeSeries".
Default is |
lambda |
lambda value to be used for the EWMA estimation of residual variances. Default is 0.9 |
this function operates on the data inside the specObj and applies a standardization to it. The user can choose CrossSectional or timeSeries standardization
the ffM spec object with exposures z-scored
specFfm
for information on the definition of the specFfm object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.