Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Updated version of -scores- on SSC

    Thanks (as always) to Kit Baum, the package scores has been updated on SSC with a new .ado-file (and correspondingly a new help file).

    Using row functions of egen, scores calculates scores according to different functions (min, max, total, sd, mean, median, percentile) using sets of variables and assigns them to a new variable. If the number of valid values is less than a user specified number the resulting score will be set to missing. Mean scores can be transformed into z-scores, centered, divided by 2 standard deviations (Gelman 2008), transformed into the percentage of maximum possible scores (POMPs, Cohen et al. 1999), into the proportion of maximum possible scores, or into a shrunken proportion (Smithson & Verkuilen 2006) of maximum possible scores. by, aweights, fweights, and iweights are allowed.

    This version includes the following changes/additions:
    • A new score() option z_2 allows to transform mean scores to z-scores divided by 2 (resulting mean = 0, sd = 0.5) (see Gelman, 2008).
    • A new score() option sd2 will rescale mean scores by dividing by 2 standard deviations (resulting sd = 0.5) (see Gelman, 2008).
    • If scores is used to simply transform an already existing variable, now you can specify the original variable both as newvar and in the function mean() if you are using the option replace to overwrite the original variable.
    Note that scores can also be used to simply transform scores - in this case you specify only the variable you want to transform using the function mean(), followed by the respective score() option.

    To install, you can use
    Code:
    ssc install scores
    To update an already existing version, you can use
    Code:
    ssc install scores, replace
    References










  • #2
    Thanks to Kit Baum an updated version (2.2.2) of scores is on SSC.

    This version contains the following changes/corrections:
    • When overwriting an already existing variable, the "replaced" variable was placed at the end of the dataset. This has been fixed: Now the replaced variable is at its original position.
    • Some minor errors of the help file have been corrected. Additionally, it now contains an example showing how to transform a variable into z-scores divided by 2 for each category of another variable.
    To install scores for the first time, you can use
    Code:
    ssc install scores
    To update an already existing version of scores, you can use
    Code:
    adoupdate scores, update

    Comment

    Working...
    X