Let

The time required to compute the correlation matrix is roughly proportional to
![\[ n(p+q)^2 \]](images/statug_cancorr0048.png)
The time required for the canonical analysis is roughly proportional to
![\[ \frac{1}{6}p^3 + p^2q + \frac{3}{2}pq^2 + 5q^3 \]](images/statug_cancorr0049.png)
but the coefficient for
varies depending on the number of QR iterations in the singular value decomposition.
The minimum memory required is approximately
![\[ 4(v^2 + w^2 + t^2) \]](images/statug_cancorr0051.png)
bytes. Additional memory is required if you request the VDEP or WDEP option.