st.diff | R Documentation |
Calculate standardized difference to assess balance of covariates in unweighted and weighted dataset.
st.diff.binom(factor, group)
st.diff.multinom(factor, group)
st.diff.categor(factor, group)
st.diff.numeric(numeric, group)
st.diff.binom.w(factor, weight, group)
st.diff.multinom.w(factor, weight, group)
st.diff.categor.w(factor, weight, group)
st.diff.numeric.w(numeric, weight, group)
factor |
factor variable in vector for balace assessment. |
numeric |
numeric variable in vector for balace assessment. |
group |
group variable in vector for balace assessment. |
weight |
weight variable in vector for balace assessment of weighted dataset. |
st.diff.binom(), st.diff.multinom(), st.diff.categor() and st.diff.numeric() functions calculate standardized difference of factor variables and numeric variables, respectively, in unweighted dataset. st.diff.binom.w(), st.diff.multinom.w(), st.diff.categor.w() and st.diff.numeric.w() functions calculate standardized difference of factor variables and numeric variables, respectively, in weighted dataset. st.diff.binom() and st.diff.binom.w() are for binomial factors, st.diff.multinom() and st.diff.multinom.w() are for multinomial factors, and st.diff.categor() and st.diff.categor() are for factors irrespective of levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.