NY_lags_example | R Documentation |
Contains the original times series of populations 'N_t', simple lagged values and differences, and then calculations from ‘rEDM::simplex()' and Andy’s original independent code. This was independent code originally done to understand EDM, but revealed discrepancies between those results and those of 'rEDM()'. See 'full_calcs_orig' and 'psi_orig' for full results.
NY_lags_example
A 100x14 tibble where each row is a time step (year) and columns are: * 't': time step, 1, 2, 3, ..., 100. * 'N_t': original time series of number of spawners, $N_t$ at time $t$ from Carrie's 'salmonTraj()' function. * 'N_tmin1': $N_t-1$, the number at the previous time step (value for 't=1' is therefore 'NA'). * 'Y_t': First difference $Y_t = N_t+1 - N_t$; (value for 't=100' is therefore 'NA'). * 'Ytmin1': $Y_t-1$ * 'Ytmin2': $Y_t-2$ * 'rEDM.pred': predicted value from 'rEDM::simplex()' with embedding dimension $E=2$. * 'rEDM.var': estimated variance of 'rEDM.pred' (from 'rEDM::simplex()'). * ‘my.pred': predicted value from Andy’s 'EDM_pred_E_2()' function (saved in 'PBSedm') * 'my.var': estimated variance of 'my.pred' * 'pred.diff': the difference between predictions, i.e. 'rEDM.pred - my.pred' * 'var.diff': the difference between estimated variances, i.e. 'rEDM.var - my.var' * 'pred.ratio': ratio of the two estimated predictions, as 'rEDM.pred / my.pred' * 'var.ratio': ratio of the two estimated variances, as 'rEDM.var / my.var'
Generated from Andy running 'data-raw/Nx_lags.R'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.