Skip to content
Prev 16588 / 20628 Next

Free statistical analysis material?

Hello again Ben and all R users,

I am having the problem that I cannot make a contrast hypothesis for a rectangular matrix, because I cannot invert it. Somehow, I had read somewhere to use the method "pseudoinverse()" instead of "solve()".

But in the analysis, I cannot get the p_value of my contrast hypothesis.
Does somebody have a suggestion on how to either:

  *   create a square matrix when I have few hypothesis with a lot of conditions (e.g., ps_c1 = c(0.5, 0.5, -1/6, -1/6, -1/6, -1/6, -1/6, -1/6)). Matrix 2x8.
  *   get the p_value of a rectangular matrix contrast hypothesis?

A more detailed explanation is on stackexchange: https://stats.stackexchange.com/questions/346523/get-p-value-about-contrast-hypothesis-for-rectangular-matrix#346523

Best
Luca