------------------------------------------------------------------------------- help foralphawgt-------------------------------------------------------------------------------

Cronbach's alpha for weighted data

alphawgtvarlist[weight] [ifexp] [inrange] [,asiscasewisedetailgenerate(newvar)itemlabelmin(#)reverse(varlist)std]

by...:may be used withalphawgt; see help by.

fweights andaweights may be used withalphawgt; see help weights

Description

alphawgtdoes the same than the officialalpha(version 4.5.2, 09apr2002) except thatfweights andaweights may be used. Iffweights are used, the sum of weights is displayed in place of the number of observations (if optionsdetailand/oritemare specified). Ifaweights are used, the sum of weights is displayed in addition to the number of observations (if optiondetailis specified).See help alpha for details on options.

Examples. alpha q1-q10 [fweight=pop]

. alpha bg2cost1-bg2cost6 dotest1-dotest6 [aweigth=cellpop], std

Methods and FormulasSee http://fmwww.bc.edu/RePEc/bocode/a/alphawgt.pdf.

AuthorBen Jann, ETH Zurich, jann@soz.gess.ethz.ch

Note:

alphawgtis essentially a copy ofalpha(version 4.5.2, 09apr2002) developed by Stata Corporation. I only added some minor modifications. Ifalphawgtproduces erroneous results due to these modifications, I am to blame for it.

Also seeManual:

[R] alphaOn-line: help for alpha