Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Marta Garcia-Granero <[email protected]> |

To |
[email protected] |

Subject |
st: Need help with ordinal reliability |

Date |
Tue, 05 Nov 2013 18:24:06 +0100 |

http://www.stata.com/statalist/archive/2012-02/msg00696.html

factor estimation result not found r(301); My code (adapted from the Statalist thread mentioned above): polychoric das* matrix define `C' = r(R) factormat `C', n(915) factors(1) tempname L Psi matrix define `L' = e(L) matrix define `Psi' = e(Psi) local p = rowsof(`L') tempname f f2 u2 scalar define `f' = 0 scalar define `f2' = 0 scalar define `u2' = 0 forvalues i = 1/`p' { scalar define `f' = `f' + `L'[`i', 1] scalar define `f2' = `f2' + `L'[`i', 1] * `L'[`i', 1] scalar define `u2' = `u2' + `Psi'[1, `i'] } scalar define `f' = `f' / `p' scalar define `f2' = `f2' / `p' scalar define `u2' = `u2' / `p' tempname pf2 scalar define `pf2' = `p' * `f' * `f' scalar define alpha = `p' / (`p' - 1) * /// (`pf2' - `f2') / (`pf2' + `u2') display in smcl as text "Ordinal alpha = " as result %06.4f alpha alpha latent* alpha das*, std I'd be very grateful if somebody could help me. Thanks in advance, Marta GG * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: Need help with ordinal reliability***From:*Marta Garcia-Granero <[email protected]>

- Prev by Date:
**Re: st: Relative Importance of predictors in regression** - Next by Date:
**Re: st: Relative Importance of predictors in regression** - Previous by thread:
**re: st: RE: meta analysis in stata** - Next by thread:
**Re: st: Need help with ordinal reliability** - Index(es):