Description Arguments Value Author(s)

`makeData`

simulates data from a factor quantile regression model.

`N` |
The sample size. |

`whichFactor` |
A vector that indicates which factor each manifest variable relates to. E.g., |

`pQuant` |
The quantile of interest. Defaults to |

`lambda` |
The vector of the non-zero elements of the factor loading matrix, with length equal to that of |

`LambdaS` |
The vector of factor loadings related to the response. Must have length equal to the number of distinct values in |

`Phi` |
Matrix of latent factor covariances. Must be symmetric and positive-definite and have dimension equal to the number of latent factors. Defaults to the identity matrix. |

`lapScale` |
Scale of the asymmetric Laplace error distribution. Defaults to |

`Psi` |
Vector of error variances for the manifest explanatory variables. |

Returns a matrix whose first column is the response `Y`

and whose remaining columns are the explanatory manifest variables with the underlying factor grouping implied by `whichFactor`

.

Lane F. Burgette, Department of Statistical Science, Duke University. [email protected]

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.