paperKB
coga / coga-kb
Help
Sign in

Chunk #68 — Demonstrations — Example 1: Effect sizes of smoking quantity and nicotine dependence within assessment waves

Source
A Practical Guide to Calculating Cohen's f(2), a Measure of Local Effect Size, from PROC MIXED.
Embedded
yes

Text

Calculating R - ND2 and Cohen’s f 2 for nicotine dependence simply requires appropriate modifications to dataset names and to the model statement in the syntax above. Since VAB and Vnull are the same regardless of the variable of interest, only the model statement for VA must be modified to hold out nicotine dependence from the model rather than smoking quantity: