https://github.com/bozenne/article-lvm-small-sample-inference

R code for the article "Small Sample Maximum Likelihood Inference in Latent Variable Model" published in JRSS-C (link: https://doi.org/10.1111/rssc.12414).

https://github.com/bozenne/article-lvm-small-sample-inference

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    2 of 3 committers (66.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary

Keywords from Contributors

generalized-pairwise-comparisons non-parametric inference latent-variable-models
Last synced: 6 months ago · JSON representation

Repository

R code for the article "Small Sample Maximum Likelihood Inference in Latent Variable Model" published in JRSS-C (link: https://doi.org/10.1111/rssc.12414).

Basic Info
  • Host: GitHub
  • Owner: bozenne
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 3.94 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 7 years ago · Last pushed about 4 years ago
Metadata Files
Readme

README.org

This directory contains the R code used to generate the results
presented in the article: "Small sample corrections for Wald tests in Latent Variable Models" published in JRSS-C
(https://doi.org/10.1111/rssc.12414). It is organized as follows:
- *the BATCH files* define the simulation studies. Each file was
  excecuted 40 times using a different id (obtain using
  =Sys.getenv("SGE_TASK_ID")= in R) and therefore a different seed
  when randomly generating the data. The output of the simulations
  were saved in a =Results= directory, not uploaded on Github to save
  space but available upon request.  

- *the BUILD file* gather the results of the various simulations by
  reading the data in the =Results= directory. It converts them into a
  small number of table (=data.table= format) and exports them in the
  =Results= directory.
- *the RESULTS files* are used to generate the numbers, figures, and
  tables displayed in the article.


/Example:/ the first run of the file =BATCH_simulation-mixedModel.R=
  exports the results in
  =Results/simulation-mixedModel/estimate-S1.rds=. Running
  =BUILD_simulation= will read all the final results in
  =Results/simulation-mixedModel= (e.g. =estimate-S1.rds= to
  =estimate-S40.rds=) and combine them in a single table. The type 1
  errror rate is then computed and exported in
  =Results/type1error-illustration-mixedModel.rds=. The bias of the
  estimates is also computed and exported in
  =Results/bias-simulation-mixedModel=. The file =RESULTS_figure4.R=
  uses =Results/type1error-illustration-mixedModel.rds= to produce
  figure 4.


* More details on the BATCH files

- =BATCH_simulation-mixedModel.R=, =BATCH_simulation-factorModel.R=,
  and =BATCH_simulation-lvm.R= : these files were used to perform the
  simulations studies in section 7 (respectively, scenario A, B, and
  C). They also contains the code to assess the timing of Algorithm 2
  reported in the discussion.


- =BATCH_illustration-mixedModel.R=,
  =BATCH_illustration-factorModel.R=, =BATCH_illustration-lvm.R= :
  these files contains to the simulation study used to assess the type
  1 error of the latent variable models used in the illustration
  section (respectively, section 9.1, 9.2, and 9.3).

- =BATCH_comparison-ML-IV-GLS.R=: this file was used to assess the
  control of the type 1 error when using Wald test with (uncorrected)
  maximum likelihood estimator and other estimators (IV,GLS,WLS). This
  corresponds to the last paragraph of the discussion and table S4 in
  the supplementary material.

- =BATCH_IV-non-normal.R=, =BATCH_IV-non-normal2.R=,
  =BATCH_IV-non-normal3.R=: these files correspond to additional
  simulations performed to assess the control of type 1 error in
  misspecified models (e.g. residuals non normally distributed,
  misspecified covariance structure). The results are not reported in
  the manuscript but are available upon request.

Owner

  • Name: Ozenne
  • Login: bozenne
  • Kind: user
  • Location: Copenhagen

I'm a bio-statistician; you will find on my Github R packages implementing statistical developments, code related to articles, and setting for emacs.

GitHub Events

Total
Last Year

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 13
  • Total Committers: 3
  • Avg Commits per committer: 4.333
  • Development Distribution Score (DDS): 0.231
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Brice Maxime Hugues Ozenne h****2@s****k 10
Ozenne b****e@g****m 2
Brice Maxime Hugues Ozenne h****2@k****k 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels