You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current UnitVector transformation currently transforms an n-1 dimensional vector to an n dimensional unit vector. However, upon transformation, all resulting unit vectors lie on the "hemi-hypersphere", where the final dimension is strictly positive. This is a problem for any applications where the unit vectors across the whole sphere are needed (e.g. directional/orientational statistics)
Stan handles the unit vector transform with a simple trick. I've implemented a version of this with an explanation here and would be happy to adapt it for this package if you're willing.
The text was updated successfully, but these errors were encountered:
The current
UnitVector
transformation currently transforms ann-1
dimensional vector to ann
dimensional unit vector. However, upon transformation, all resulting unit vectors lie on the "hemi-hypersphere", where the final dimension is strictly positive. This is a problem for any applications where the unit vectors across the whole sphere are needed (e.g. directional/orientational statistics)Stan handles the unit vector transform with a simple trick. I've implemented a version of this with an explanation here and would be happy to adapt it for this package if you're willing.
The text was updated successfully, but these errors were encountered: