Skip to content

Commit

Permalink
Automated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeksterslab committed Dec 13, 2023
1 parent 9e04aaf commit 7958287
Show file tree
Hide file tree
Showing 19 changed files with 2,926 additions and 43 deletions.
Binary file modified .setup/build/betaMC.pdf
Binary file not shown.
Binary file modified .setup/build/betaMC_1.3.1.9000.tar.gz
Binary file not shown.
Binary file modified .setup/data-raw/benchmark.Rds
Binary file not shown.
23 changes: 22 additions & 1 deletion .setup/latex/bib/bib.bib
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,19 @@ @Article{Nesselroade-Cable-1974
publisher = {Informa {UK} Limited},
}

@Article{Osborne-Suddick-1972,
author = {R. T. Osborne and D. E. Suddick},
date = {1972-09},
journaltitle = {The Journal of Genetic Psychology},
title = {A Longitudinal Investigation of the Intellectual Differentiation Hypothesis},
doi = {10.1080/00221325.1972.10533131},
issn = {1940-0896},
number = {1},
pages = {83--89},
volume = {121},
publisher = {Informa UK Limited},
}

@Article{Rubin-1976,
author = {Donald B. Rubin},
date = {1976},
Expand All @@ -207,7 +220,6 @@ @Article{Rubin-1976
number = {3},
pages = {581--592},
volume = {63},
publisher = {Oxford University Press ({OUP})},
abstract = {When making sampling distribution inferences about the parameter of the data, $\theta$, it is appropriate to ignore the process that causes missing data if the missing data are `missing at random' and the observed data are `observed at random', but these inferences are generally conditional on the observed pattern of missing data. When making direct-likelihood or Bayesian inferences about $\theta$, it is appropriate to ignore the process that causes missing data if the missing data are missing at random and the parameter of the missing data process is `distinct' from $\theta$. These conditions are the weakest general conditions under which ignoring the process that causes missing data always leads to correct inferences.},
publisher = {Oxford University Press ({OUP})},
}
Expand Down Expand Up @@ -2353,6 +2365,15 @@ @Book{Little-Rubin-2019
keywords = {Mathematical statistics, Mathematical statistics--Problems, exercises, etc., Missing observations (Statistics), Missing observations (Statistics)--Problems, exercises, etc.},
}

@Book{Millsap-2011,
author = {Roger E. Millsap},
date = {2011},
title = {Statistical approaches to measurement invariance},
isbn = {9780203821961 },
doi = {10.4324/9780203821961},
publisher = {Routledge},
}

@Book{Montfort-Oud-Voelkle-2018,
date = {2018},
title = {Continuous time modeling in the behavioral and related sciences},
Expand Down
11 changes: 0 additions & 11 deletions .setup/latex/bib/quarto.bib

This file was deleted.

5 changes: 5 additions & 0 deletions .setup/latex/pdf/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
*/
!*.pdf
!.gitignore
!bib.bib
Binary file added .setup/latex/pdf/betaMC-001-description.pdf
Binary file not shown.
Binary file added .setup/latex/pdf/betaMC-999-session.pdf
Binary file not shown.
Binary file added .setup/latex/pdf/betaMC-zzz-references.pdf
Binary file not shown.
Binary file added .setup/latex/pdf/betaMC-zzz-tests-benchmark.pdf
Binary file not shown.
Binary file added .setup/latex/pdf/betaMC-zzz-tests-external.pdf
Binary file not shown.
Binary file added .setup/latex/pdf/betaMC-zzz-tests-internal.pdf
Binary file not shown.
Binary file added .setup/latex/pdf/betaMC-zzz-tests-staging.pdf
Binary file not shown.
2,847 changes: 2,847 additions & 0 deletions .setup/latex/pdf/bib.bib

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ preferred-citation:
doi: 10.3758/s13428-023-02114-4
journal: Behavior Research Methods
notes: R package version 1.3.1.9000
repository: https://packagemanager.rstudio.com/all/__linux__/jammy/latest/
repository: https://packagemanager.rstudio.com/all/__linux__/focal/latest/
repository-code: https://github.com/jeksterslab/betaMC
url: https://jeksterslab.github.io/betaMC/
contact:
Expand Down
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
betaMC
================
Ivan Jacob Agaloos Pesigan
2023-11-30
2023-12-13

<!-- README.md is generated from .setup/readme/README.Rmd. Please edit that file -->
<!-- badges: start -->
Expand Down Expand Up @@ -118,9 +118,9 @@ BetaMC(mvn, alpha = 0.05)
#> Standardized regression slopes
#> type = "mvn"
#> est se R 2.5% 97.5%
#> NARTIC 0.4951 0.0756 20000 0.3391 0.6339
#> PCTGRT 0.3915 0.0765 20000 0.2394 0.5386
#> PCTSUPP 0.2632 0.0740 20000 0.1201 0.4087
#> NARTIC 0.4951 0.0757 20000 0.3395 0.6337
#> PCTGRT 0.3915 0.0768 20000 0.2379 0.5368
#> PCTSUPP 0.2632 0.0742 20000 0.1187 0.4118
```

#### Asymptotic distribution-free Approach
Expand All @@ -133,9 +133,9 @@ BetaMC(adf, alpha = 0.05)
#> Standardized regression slopes
#> type = "adf"
#> est se R 2.5% 97.5%
#> NARTIC 0.4951 0.0682 20000 0.3508 0.6178
#> PCTGRT 0.3915 0.0715 20000 0.2422 0.5233
#> PCTSUPP 0.2632 0.0772 20000 0.1044 0.4085
#> NARTIC 0.4951 0.0676 20000 0.3525 0.6166
#> PCTGRT 0.3915 0.0710 20000 0.2436 0.5195
#> PCTSUPP 0.2632 0.0764 20000 0.1075 0.4066
```

#### Heteroskedasticity Consistent Approach (HC3)
Expand All @@ -148,9 +148,9 @@ BetaMC(hc3, alpha = 0.05)
#> Standardized regression slopes
#> type = "hc3"
#> est se R 2.5% 97.5%
#> NARTIC 0.4951 0.0791 20000 0.3247 0.6359
#> PCTGRT 0.3915 0.0818 20000 0.2202 0.5415
#> PCTSUPP 0.2632 0.0855 20000 0.0862 0.4226
#> NARTIC 0.4951 0.0802 20000 0.3219 0.6374
#> PCTGRT 0.3915 0.0823 20000 0.2193 0.5433
#> PCTSUPP 0.2632 0.0863 20000 0.0849 0.4266
```

### Other Effect Sizes
Expand All @@ -173,8 +173,8 @@ RSqMC(hc3, alpha = 0.05)
#> R-squared and adjusted R-squared
#> type = "hc3"
#> est se R 2.5% 97.5%
#> rsq 0.8045 0.0620 20000 0.6468 0.8879
#> adj 0.7906 0.0664 20000 0.6216 0.8799
#> rsq 0.8045 0.0622 20000 0.6447 0.8869
#> adj 0.7906 0.0666 20000 0.6194 0.8789
```

#### Improvement in R-squared
Expand All @@ -187,9 +187,9 @@ DeltaRSqMC(hc3, alpha = 0.05)
#> Improvement in R-squared
#> type = "hc3"
#> est se R 2.5% 97.5%
#> NARTIC 0.1859 0.0691 20000 0.0520 0.3218
#> PCTGRT 0.1177 0.0541 20000 0.0254 0.2357
#> PCTSUPP 0.0569 0.0371 20000 0.0058 0.1476
#> NARTIC 0.1859 0.0691 20000 0.0482 0.3214
#> PCTGRT 0.1177 0.0549 20000 0.0253 0.2368
#> PCTSUPP 0.0569 0.0377 20000 0.0055 0.1494
```

#### Semipartial Correlation Coefficients
Expand All @@ -202,9 +202,9 @@ SCorMC(hc3, alpha = 0.05)
#> Semipartial correlations
#> type = "hc3"
#> est se R 2.5% 97.5%
#> NARTIC 0.4312 0.0865 20000 0.2281 0.5673
#> PCTGRT 0.3430 0.0827 20000 0.1594 0.4855
#> PCTSUPP 0.2385 0.0782 20000 0.0758 0.3842
#> NARTIC 0.4312 0.0869 20000 0.2195 0.5669
#> PCTGRT 0.3430 0.0832 20000 0.1590 0.4866
#> PCTSUPP 0.2385 0.0789 20000 0.0742 0.3865
```

#### Squared Partial Correlation Coefficients
Expand All @@ -217,9 +217,9 @@ PCorMC(hc3, alpha = 0.05)
#> Squared partial correlations
#> type = "hc3"
#> est se R 2.5% 97.5%
#> NARTIC 0.4874 0.1184 20000 0.1815 0.6488
#> PCTGRT 0.3757 0.1156 20000 0.1061 0.5584
#> PCTSUPP 0.2254 0.1125 20000 0.0235 0.4536
#> NARTIC 0.4874 0.1194 20000 0.1746 0.6509
#> PCTGRT 0.3757 0.1154 20000 0.1068 0.5543
#> PCTSUPP 0.2254 0.1127 20000 0.0231 0.4537
```

#### Differences of Standardized Regression Coefficients
Expand All @@ -232,9 +232,9 @@ DiffBetaMC(hc3, alpha = 0.05)
#> Differences of standardized regression slopes
#> type = "hc3"
#> est se R 2.5% 97.5%
#> NARTIC-PCTGRT 0.1037 0.1416 20000 -0.1776 0.3793
#> NARTIC-PCTSUPP 0.2319 0.1322 20000 -0.0300 0.4875
#> PCTGRT-PCTSUPP 0.1282 0.1365 20000 -0.1447 0.3886
#> NARTIC-PCTGRT 0.1037 0.1430 20000 -0.1811 0.3790
#> NARTIC-PCTSUPP 0.2319 0.1342 20000 -0.0389 0.4867
#> PCTGRT-PCTSUPP 0.1282 0.1375 20000 -0.1451 0.3905
```

## Documentation
Expand Down
10 changes: 5 additions & 5 deletions vignettes/benchmark.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Benchmark: Comparing the Monte Carlo Method with Nonparametric Bootstrapping"
author: "Ivan Jacob Agaloos Pesigan"
date: "2023-11-30"
date: "2023-12-13"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Benchmark: Comparing the Monte Carlo Method with Nonparametric Bootstrapping}
Expand Down Expand Up @@ -94,9 +94,9 @@ benchmark <- microbenchmark(

```r
summary(benchmark, unit = "ms")
#> expr min lq mean median uq max neval
#> 1 MC 334.3512 342.0068 353.426 346.2133 347.8955 438.765 10
#> 2 NB 4931.5990 4961.1081 5012.514 4997.3197 5048.9832 5115.272 10
#> expr min lq mean median uq max neval
#> 1 MC 305.9151 317.1726 336.6893 326.9573 358.8984 402.2394 10
#> 2 NB 5028.2792 5236.5091 5332.0701 5379.5766 5466.1855 5504.3143 10
```

### Summary of Benchmark Results Relative to the Faster Method
Expand All @@ -106,7 +106,7 @@ summary(benchmark, unit = "ms")
summary(benchmark, unit = "relative")
#> expr min lq mean median uq max neval
#> 1 MC 1.00000 1.00000 1.00000 1.00000 1.00000 1.00000 10
#> 2 NB 14.74976 14.50588 14.18264 14.43422 14.51293 11.65834 10
#> 2 NB 16.43684 16.50996 15.83677 16.45345 15.23045 13.68417 10
```

## Plot
Expand Down
Binary file modified vignettes/fig-vignettes-benchmark-unnamed-chunk-15-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 22 additions & 1 deletion vignettes/vignettes.bib
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,19 @@ @Article{Nesselroade-Cable-1974
publisher = {Informa {UK} Limited},
}

@Article{Osborne-Suddick-1972,
author = {R. T. Osborne and D. E. Suddick},
date = {1972-09},
journaltitle = {The Journal of Genetic Psychology},
title = {A Longitudinal Investigation of the Intellectual Differentiation Hypothesis},
doi = {10.1080/00221325.1972.10533131},
issn = {1940-0896},
number = {1},
pages = {83--89},
volume = {121},
publisher = {Informa UK Limited},
}

@Article{Rubin-1976,
author = {Donald B. Rubin},
date = {1976},
Expand All @@ -207,7 +220,6 @@ @Article{Rubin-1976
number = {3},
pages = {581--592},
volume = {63},
publisher = {Oxford University Press ({OUP})},
abstract = {When making sampling distribution inferences about the parameter of the data, $\theta$, it is appropriate to ignore the process that causes missing data if the missing data are `missing at random' and the observed data are `observed at random', but these inferences are generally conditional on the observed pattern of missing data. When making direct-likelihood or Bayesian inferences about $\theta$, it is appropriate to ignore the process that causes missing data if the missing data are missing at random and the parameter of the missing data process is `distinct' from $\theta$. These conditions are the weakest general conditions under which ignoring the process that causes missing data always leads to correct inferences.},
publisher = {Oxford University Press ({OUP})},
}
Expand Down Expand Up @@ -2353,6 +2365,15 @@ @Book{Little-Rubin-2019
keywords = {Mathematical statistics, Mathematical statistics--Problems, exercises, etc., Missing observations (Statistics), Missing observations (Statistics)--Problems, exercises, etc.},
}

@Book{Millsap-2011,
author = {Roger E. Millsap},
date = {2011},
title = {Statistical approaches to measurement invariance},
isbn = {9780203821961 },
doi = {10.4324/9780203821961},
publisher = {Routledge},
}

@Book{Montfort-Oud-Voelkle-2018,
date = {2018},
title = {Continuous time modeling in the behavioral and related sciences},
Expand Down

0 comments on commit 7958287

Please sign in to comment.