Learn R Programming

multilevelPSA (version 1.3.0)

getPropensityScores: Returns a data frame with two columns corresponding to the level 2 variable and the fitted value from the logistic regression.

Description

Returns a data frame with two columns corresponding to the level 2 variable and the fitted value from the logistic regression.

Usage

getPropensityScores(lr.results, nStrata = 5)

Value

a data frame

Arguments

lr.results

the results of [mlpsa.logistic()]

nStrata

number of strata within each level.

See Also

mlpsa.logistic