Learn R Programming

jackstrap (version 0.1.0)

plot_jackstrap_ks: 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

Run this code
# NOT RUN {
 
# }
# NOT RUN {
 
# }
# NOT RUN {
   ##Plot the dispersion chart with p value of K-S test and amount of DMU removed.
   plot_jackstrap_ks(effic_ks, 1)
 
# }

Run the code above in your browser using DataLab