vuong_sim: Simulated pdfs for the Vuong statistics using linear models
Description
This function can be used to reproduce the examples given by Shi
(2015) which illustrate the fact that the distribution of the Vuong
statistic may be very different from a standard normal
Usage
vuong_sim(N = 1000, R = 1000, Kf = 15, Kg = 1, a = 0.125)
Value
a numeric of length N containing the values of the Vuong statistic
Arguments
N
sample size
R
the number of replications
Kf
the number of covariates for the first model
Kg
the number of covariates for the second model
a
the share of the variance of y explained by the two
competing models