Description Usage Arguments Value References Examples
Weighted samples of the fiducial distribution of the parameters of a linear regression model with normal, Student, Cauchy, or logistic error terms.
1 2 3 4 5 6 7 8 9 10 |
formula |
two-sided formula defining the model |
data |
dataframe containing the data |
distr |
the distribution of the error terms, |
df |
degrees of freedom of the Student distribution if
|
L |
number of subdivisions of each axis of the hypercube
|
Kmax |
maximal number of combinations of indices to use |
nthreads |
number of threads for parallel computations |
stopifbig |
logical, whether to stop if the algorithm requires huge matrices |
A gfilinreg
object, list with the fiducial samples and the
weights.
Jan Hannig, Randy C.S. Lai, Thomas C.M. Lee. Computational issues of generalized fiducial inference. Computational Statistics and Data Analysis 71 (2014), 849–858. <doi:10.1016/j.csda.2013.03.003>
1 2 3 4 5 | set.seed(666L)
x <- c(1, 2, 3, 4)
y <- x + 3 * rcauchy(4L)
gfi <- gfilinreg(y ~ x, distr = "cauchy", L = 30L, nthreads = 2L)
gfiSummary(gfi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.