Return the average values of 'var' in 'data' for the lowest and highest quartiles of idx

sanity_check(data, idx, var)

Arguments

data

Given dataset containing variables

idx

Consutructed Index

var

variable used construct a composite index from the first principal

Examples

if (FALSE) { }