-
Notifications
You must be signed in to change notification settings - Fork 20
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
General updates, and for ordination with predictors #62
Conversation
…r was inconsistent between R and C++ (former was num.lv.c,num.RR,num.lv whereas latter is num.lv.c,num.lv,num.RR)
…ue to random slopes
I have now removed the heuristic penalty that was used to induce orthogonality for ordination with predictors. This is instead replaced by alternative optimization routines when Options for the optimization in ordination with predictors are 1) 'nloptr(agl)'(default), 2) 'nloptr(sqp)', or 3) 'alabama'. 1) and 2) use the nloptr library to implement constrained optimization with equality constraints using an augmented Lagrangian method (1) or using a sequential quadratic programming algorithm (2). 1) requires specifying a local solver which can be specified through Auxiliary functions for the implementation of the optimizers are stored in When the canonical coefficients are treated as random-effects with the In total, orthogonality of the canonical coefficients adds d(d-1)/2 constraints (where d is the number of latent variables and d<K<m where K is the number of predictors and m the number of species), so that the number of constraints should now be the same as in e.g. With d = p and using I do not exclude that these implementations will need/get some bug fixes in the near future. |
…e to starting values
Hi, |
So as in NEWS file, please put them under version 1.3.2 like this:
|
Of course, I will take a moment right now to work it out. |
num.RR
) or concurrent ordination (num.lv.c
) as random-effects. At present all slopes need to be fixed, or all random, no mixing (because coding those up simultaneously is tedious & to some degree this choice is philosophical, I am not yet convinced that both in the same model makes sense)!randomB="LV"
) inducing correlation between the responses of species to a predictorsummary(.)
changes to "Constrained LVs" and "Informed LVs". Also the "standard deviation" is removed for unconstrained ordination, since it is not meaningful (while in concurrent ordination it serves a different purpose)summary(.)
to keep clear difference between random- and fixed-effectscoefplot(.)
This does not yet include the quadratic term whenquadratic != FALSE
. The exact confidence intervals for that case are (very) tedious to calculate, so they might follow at a later time. See also newRRse
function ingllvm.auxiliary.R
which calculates the standard errors for reduced-rank approximated terms (function is NOT exported at present)