getPropensityScores: Returns a data frame with two columns corresponding to the...

View source: R/mlpsa.logistic.R

getPropensityScoresR Documentation

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)

Arguments

lr.results

the results of [mlpsa.logistic()]

nStrata

number of strata within each level.

Value

a data frame

See Also

mlpsa.logistic


multilevelPSA documentation built on April 11, 2025, 6:18 p.m.