powered by
A function for quantile analysis that provides a p-value and a point estimation.
QuantileAnalysis(S, C, Z, R, quantile = 0.5, delta_hyp = 0)
A list of the outputs
A numeric column vector with individuals' stratum number
A numeric column vector with individuals' cluster number
A numeric column vector with individuals' treatment assignment (binary)
A numeric column vector with individuals' outcome
A numeric value for intended quantile in the input data for running the quantile test, the default of this value is 0.5.
A numeric value that is the hypothesized treatment effect given the quantile. The default of this value is 0.
# First we need to obtain the vectors for the inputs. S = example1$S C = example1$C Z = example1$Z R = example1$R QuantileAnalysis(S, C, Z, R)
Run the code above in your browser using DataLab