mjhajharia / transforms

2 stars 1 forks source link

Add Stan models for unit vector transforms #33

Closed sethaxen closed 1 year ago

sethaxen commented 2 years ago

Adds Stan models for 2 transforms to unit vectors:

The paper includes the derivations.

There are several definitions of hyperspherical coordinates. I picked a particular one, but maybe someone prefers a different convention?

sethaxen commented 2 years ago

Relates #22

spinkney commented 2 years ago

Neat way of getting the 2 final parameters into $[0, 2\pi]$