Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 202012

summary.manova error exact singularity in 'qr.coef'

$
0
0

R code: summary(manova(y~x),test="Wilks", tol=0) Error: Error in qr.coef(rss.qr, D %% ss[[i]] %% D) : exact singularity in 'qr.coef'

For MANOVA, we need to calculate the inverse of (E+H) matrix. But in my data, (E+H) is singular, I think "solve" function is used in summary.manova function. I need to change "solve" to "ginv" function.

I do not know how to solve this problem. Do you have some alternative function can solve the singular issue?

Thank you very much.


Viewing all articles
Browse latest Browse all 202012

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>