plot_jackstrap_ks {jackstrap}R Documentation

Plot Jackstrap KS: This function plots p-value of Kolmogorov-Smirnov Test in decreasing order of leverage.

Description

Plot Jackstrap KS: This function plots p-value of Kolmogorov-Smirnov Test in decreasing order of leverage.

Usage

plot_jackstrap_ks(data_plot, model_plot)

Arguments

data_plot

is the jackstrap object created by jackstrap function.

model_plot

is the desired model. There are two models: 1 - The graphic shows the amount of removed DMU on x axis and p-value of K-S test on y axis; 2 - The graphic shows DMU code on x axis and p-value of K-S test on y axis.

Value

Return the plot with p-value of K-S test and removed DMU or DMU code.

Examples

 
 
   ##Plot the dispersion chart with p value of K-S test and amount of DMU removed.
   plot_jackstrap_ks(effic_ks, 1)
 

[Package jackstrap version 0.1.0 Index]