{"action":"created","issue":{"url":"https://api.github.com/repos/cmu-phil/tetrad/issues/103","labels_url":"https://api.github.com/repos/cmu-phil/tetrad/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/cmu-phil/tetrad/issues/103/comments","events_url":"https://api.github.com/repos/cmu-phil/tetrad/issues/103/events","html_url":"https://github.com/cmu-phil/tetrad/issues/103","id":122039983,"number":103,"title":"Add CFI and RMSEA to Tetrad","user":{"login":"jdramsey","id":9853255,"avatar_url":"https://avatars.githubusercontent.com/u/9853255?v=3","gravatar_id":"","url":"https://api.github.com/users/jdramsey","html_url":"https://github.com/jdramsey","followers_url":"https://api.github.com/users/jdramsey/followers","following_url":"https://api.github.com/users/jdramsey/following{/other_user}","gists_url":"https://api.github.com/users/jdramsey/gists{/gist_id}","starred_url":"https://api.github.com/users/jdramsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdramsey/subscriptions","organizations_url":"https://api.github.com/users/jdramsey/orgs","repos_url":"https://api.github.com/users/jdramsey/repos","events_url":"https://api.github.com/users/jdramsey/events{/privacy}","received_events_url":"https://api.github.com/users/jdramsey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T13:15:39Z","updated_at":"2015-12-23T21:49:17Z","closed_at":null,"body":"Joe, I'm glad you might be able to help me with my question about getting additional fit indices from a causal path analysis with tetrad (I'm thinking CFI and RMSEA). Do you know how to do that?\r\n\r\nRMSEA is computed as e / (df * (N-1)), with e being the error of approximation of the model,and df being the degrees of freedom, and N being sample size.\r\n\r\nCFI is computed as (d(Null Model) - d(Proposed Model)) / d(Null Model), with d = Chi-square - df.\r\n\r\nI'm attaching the tetrad file, which contains the two models for which I need these indices (not sure if you need those). Please let me know if you need anything else,\r\n\r\ne is the sum of the residuals."},"comment":{"url":"https://api.github.com/repos/cmu-phil/tetrad/issues/comments/166997668","html_url":"https://github.com/cmu-phil/tetrad/issues/103#issuecomment-166997668","issue_url":"https://api.github.com/repos/cmu-phil/tetrad/issues/103","id":166997668,"user":{"login":"ps7z","id":10792386,"avatar_url":"https://avatars.githubusercontent.com/u/10792386?v=3","gravatar_id":"","url":"https://api.github.com/users/ps7z","html_url":"https://github.com/ps7z","followers_url":"https://api.github.com/users/ps7z/followers","following_url":"https://api.github.com/users/ps7z/following{/other_user}","gists_url":"https://api.github.com/users/ps7z/gists{/gist_id}","starred_url":"https://api.github.com/users/ps7z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ps7z/subscriptions","organizations_url":"https://api.github.com/users/ps7z/orgs","repos_url":"https://api.github.com/users/ps7z/repos","events_url":"https://api.github.com/users/ps7z/events{/privacy}","received_events_url":"https://api.github.com/users/ps7z/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T21:49:17Z","updated_at":"2015-12-23T21:49:17Z","body":"I am not sure of the context for the question. In terms of comparing output to a standard model to calculate a chi-squared, we usually compare it to a complete model, as we do with patterns.\n\nPeter\n\n\nFrom: Joseph Ramsey <notifications@github.com<mailto:notifications@github.com>>\nReply-To: cmu-phil/tetrad <reply@reply.github.com<mailto:reply@reply.github.com>>\nDate: Wednesday, December 23, 2015 at 11:55 AM\nTo: cmu-phil/tetrad <tetrad@noreply.github.com<mailto:tetrad@noreply.github.com>>\nSubject: Re: [tetrad] Add CFI and RMSEA to Tetrad (#103)\n\n\nWhat is the null model for CFI? Is it the model with no edges in it?\n\n-\nReply to this email directly or view it on GitHub<https://github.com/cmu-phil/tetrad/issues/103#issuecomment-166958011>.\n"}}