title: Tetrachoric correlation and Fortran style format
body: <p>I am trying to get a tetrachoric correlation matrix to perform a factor analysis on dichotomous variables. I have been guided to a number of programs to calculate the matrix. These have been very helpful in aiding my understanding about the correlations. However I have not been able to get them to run with my data. I have no problem with the examples they provide. so I am wondering if it has to do with my data file and the input data format that I prescribe.</p>
  
  <p>Tetcorr from JS fleming, The program asks for fortran style format codes. </p>
  
  <p>I have the following data (just a section of it, there are actually 142 cases but the number of variables are the same) </p>
  
  <p>1 1 1 2 1 1</p>
  
  <p>1 2 1 2 2 1</p>
  
  <p>1 1 2 2 2 1</p>
  
  <p>2 1 1 2 2 1</p>
  
  <p>The input format I have prescribed is (6F2.0). the files have been .txt files or dat files (I have tried a number of different ways)</p>
  
  <p>For TetMatt (Ubersax)I just get an error message saying that it cannot read the input file.</p>
  
  <p>Has anyone had experience with these programs and can give me any advise. Or is there another another way to get the correlation matrix that you could recommend?</p>
  
  <p>Thanks in advance. </p>