I have previously used SPSS to perform a factor analysis on sets of data. I collect data using PHP hooked up to an SQL database. Is there a way to perform a factor analysis of data directly in PHP or SQL?
I found that this question (SPSS and PHP/MySQL Integration) addresses how to hook SPSS and SQL together so they share information but I wondered if it were possible to directly implement. There seem to be a number of functions in the PHP stats library (http://php.net/manual/en/ref.stats.php) but the documentation is mostly incomplete.