fastlm
(Package: metafolio) :
Super fast linear regression
Super fast linear regression
● Data Source:
CranContrib
● Keywords:
● Alias: fastlm
●
0 images
|
Add a pretty axis
● Data Source:
CranContrib
● Keywords:
● Alias: my.axis
●
0 images
|
Get quantile contour
● Data Source:
CranContrib
● Keywords:
● Alias: get_quantile_contour
●
0 images
|
fit_ricker
(Package: metafolio) :
Fit Ricker linear regression
Fit a Ricker curve to spawner-recruit data and return the intercept (a) and slope (b). The model is fit via the RcppArmadillo package for speed..
● Data Source:
CranContrib
● Keywords:
● Alias: fit_ricker
●
0 images
|
CVaR
(Package: metafolio) :
Conditional Value at Risk
Get the conditional value at risk.
● Data Source:
CranContrib
● Keywords:
● Alias: CVaR
●
0 images
|
run_cons_plans
(Package: metafolio) :
Run conservation plans and return the portfolio mean and variance values
This function takes a set of weights representing different conservation plans and gets the mean and variance in portfolio space. This function allows a maximally complicated set of weights to accommodate all possible scenarios. It can accommodate different spatial strategies of conservation, conserving different numbers of populations, and a lack of knowledge. You can do this by how you set your w weight object. See the example.
● Data Source:
CranContrib
● Keywords:
● Alias: run_cons_plans
●
0 images
|
Creates a quadratic thermal tolerance curve of the form: width_param * (temp - optim_temp)^2 + max_a Negative values are *not* returned as 0 for speed of computation. You should check for this after.
● Data Source:
CranContrib
● Keywords:
● Alias: thermal_curve_a
●
0 images
|
plot_cons_plans
(Package: metafolio) :
Plot conservation plans in mean-variance space
This makes a mean-variance plot of the portfolio output. It can take care of: plotting the individual portfolios, adding 2D kernel density polygons at two quantile levels, and adding an efficient frontier.
● Data Source:
CranContrib
● Keywords:
● Alias: plot_cons_plans
●
0 images
|
plot_correlation_between_returns
(Package: metafolio) :
Plot correlation of returns (i.e. metapopulation abundance) across stocks.
Create a matrix plot showing the correlation between the log returns of each stock/asset.
● Data Source:
CranContrib
● Keywords:
● Alias: plot_correlation_between_returns
●
0 images
|
meta_sim
(Package: metafolio) :
Run a single metapopulation simulation.
This is the master function for running metafolio simulations. It runs a single iteration of a simulation. The arguments can be manipulated with other functions in the package to use this function as part of a portfolio analysis.
● Data Source:
CranContrib
● Keywords:
● Alias: meta_sim
●
0 images
|