Fitting SEMs from correlation matrices and standard errors

Posted on
No user picture. alha9497 Joined: 01/29/2018
Hello,

I have two general questions and I am particularly interested in doing these models in OpenMx.

1. Is there a way to estimate SEMs with input only being pearson's correlations and the standard errors from the pearson correlations? I want to do this without back transforming to the sample size, so essentially the sample size is unknown.

2. I have a series of pearson's correlations that are estimated with different sample sizes. Is there a way to use the pearson correlations to estimate an SEM and take these differences in sample sizes into consideration for estimation of the liklihood test and standard errors?

Thanks!

Replied on Thu, 02/01/2018 - 09:53
Picture of user. AdminNeale Joined: 03/01/2013

One approach might be to use a diagonally weighted least squares approach, with weights proportional to 1/se where se is the standard error of the correlation. Asymptotically this is ok, but deviations from good behavior can occur when the sample size is some distance from its asymptotic value. The problem, however, is that often the different correlations may not be independent, and failure to model this statistically can yield biased standard errors (the parameter estimates are usually ok though). The usual solution here is to use full WLS - which includes information about the correlations between the correlations.

The sample size question 2 seems pretty much the same as question 1, except N is substituted for SE, and has the same solution.

More carefully, can you explain why your data are like this - different N's etc? Possibly a FIML approach would be best, if you have access to the raw data. But perhaps this is meta-analysis of statistics obtained from the literature, for which the luxury of raw data is rarely available.

Replied on Thu, 02/01/2018 - 14:21
No user picture. alha9497 Joined: 01/29/2018

In reply to by AdminNeale

Thanks for the reply!

So am looking at building models with Diagonal weighted least squares in OpenMx now. I have attempted to add a weighted matrix before in R, but was hoping to design this procedure in a toolbox that others are utilizing. I am curious about two aspects of OpenMx for SEM in particular:

1. Are there any scripts for this analysis currently available? Specifically, ones that do not require me to enter nobs= for my OpenMx objects? I can work on rewriting the WLS and data functions (i have some familiarity with R), but wanted to see if there is an easier option present in OpenMx currently.

2. You hit my issue pretty on the nose in terms of data structure. These are correlations from the literature and I do not really have the true n or raw data, just the correlation and standard error. I have thought about calculating the effective sample size from the correlation and its standard error and using that, but each correlation would have a different effective sample size (hence my second question). I am looking for a way to input this information directly now and thought OpenMx flexibility might help. Is there an approach with meta-analytic SEM maybe that would be best?

Thanks again for your advice!

Replied on Thu, 02/01/2018 - 19:59
Picture of user. Mike Cheung Joined: 10/08/2009

I am just echoing Michael's point that the use of SE or N would not be optimal.

In terms of the implementation, the metaSEM package, which uses OpenMx as the backend, has a wls() function for fitting correlation and covariance structures.

Replied on Fri, 02/02/2018 - 11:55
No user picture. alha9497 Joined: 01/29/2018

In reply to by Mike Cheung

I have two questions:
1. Are you saying there is a way to estimate the models entirely without specifying the N or SE?

2. Does your function also speak to Michael's point about using the correlation of the correlations in the model?

Replied on Fri, 02/02/2018 - 20:00
Picture of user. Mike Cheung Joined: 10/08/2009

These two questions are related. The best way is to conduct a two-stage structural equation modeling. You need to have the correlation matrices and their sample sizes (not the average correlation matrix).

In the first stage, the correlation matrices are pooled together. In the second stage, the average correlation matrix with its asymptotic covariance matrix are used to fit SEM with the WLS approach. You may refer to the following examples: https://cran.r-project.org/web/packages/metaSEM/vignettes/Examples.html#two-stage-structural-equation-modeling

Replied on Sat, 03/03/2018 - 09:56
Picture of user. rahyabmosahver Joined: 02/28/2018

I worked on the synthesis of photocatalytic titanium oxide nanoparticles. I also have a problem.
please guide me[!](http://rahyabmoshaver.com "")