-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
PharmCat
committed
Jan 19, 2021
1 parent
ead6888
commit bb51815
Showing
13 changed files
with
249 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,51 @@ | ||
## API | ||
|
||
### Metida.lmm | ||
### Metida.LMM | ||
```@docs | ||
Metida.lmm | ||
Metida.LMM | ||
``` | ||
|
||
### Metida.fit! | ||
```@docs | ||
Metida.fit! | ||
``` | ||
|
||
### Metida.@covstr | ||
```@docs | ||
Metida.@covstr | ||
``` | ||
|
||
### Metida.VarEffect | ||
```@docs | ||
Metida.VarEffect | ||
``` | ||
|
||
### Metida.ScaledIdentity | ||
```@docs | ||
Metida.ScaledIdentity | ||
``` | ||
|
||
### Metida.Diag | ||
```@docs | ||
Metida.Diag | ||
``` | ||
|
||
### Metida.Autoregressive | ||
```@docs | ||
Metida.Autoregressive | ||
``` | ||
|
||
### Metida.HeterogeneousAutoregressive | ||
```@docs | ||
Metida.HeterogeneousAutoregressive | ||
``` | ||
|
||
### Metida.CompoundSymmetry | ||
```@docs | ||
Metida.CompoundSymmetry | ||
``` | ||
|
||
### Metida.HeterogeneousCompoundSymmetry | ||
```@docs | ||
Metida.HeterogeneousCompoundSymmetry | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
## Benchmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## CUDA | ||
|
||
Use CuBLAS & CuSOLVER for REML calculation. Optimization with NLopt.jl. | ||
|
||
Install: | ||
|
||
``` | ||
using Pkg | ||
Pkg.add("MetidaCu") | ||
``` | ||
|
||
Using: | ||
|
||
``` | ||
using Metida, MetidaCu, StatsBase, StatsModels, CSV, DataFrames | ||
df = CSV.File(dirname(pathof(Metida))*"\\..\\test\\csv\\df0.csv") |> DataFrame | ||
lmm = LMM(@formula(var ~ sequence + period + formulation), df; | ||
random = VarEffect(@covstr(formulation), CSH), | ||
repeated = VarEffect(@covstr(formulation), VC), | ||
subject = :subject) | ||
fit!(lmm; solver = :cuda) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## NLopt | ||
|
||
Optimization with NLopt.jl. | ||
|
||
Install: | ||
|
||
``` | ||
using Pkg | ||
Pkg.add("MetidaNLopt") | ||
``` | ||
|
||
Using: | ||
|
||
``` | ||
using Metida, MetidaNLopt, StatsBase, StatsModels, CSV, DataFrames | ||
df = CSV.File(dirname(pathof(Metida))*"\\..\\test\\csv\\df0.csv") |> DataFrame | ||
lmm = LMM(@formula(var ~ sequence + period + formulation), df; | ||
random = VarEffect(@covstr(formulation), CSH), | ||
repeated = VarEffect(@covstr(formulation), VC), | ||
subject = :subject) | ||
fit!(lmm; solver = :nlopt) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Validation | ||
|
||
|
||
|
||
### Reference dataset | ||
|
||
* Schütz, H., Labes, D., Tomashevskiy, M. et al. Reference Datasets for Studies in a Replicate Design Intended for Average Bioequivalence with Expanding Limits. AAPS J 22, 44 (2020). https://doi.org/10.1208/s12248-020-0427-6 | ||
|
||
* Gregory Belenky, Nancy J. Wesensten, David R. Thorne, Maria L. Thomas, Helen C. Sing, Daniel P. Redmond, Michael B. Russo and Thomas J. Balkin (2003) Patterns of performance degradation and restoration during sleep restriction and subsequent recovery: a sleep dose-response study. Journal of Sleep Research 12, 1–12. | ||
|
||
* O.L. Davies and P.L. Goldsmith (eds), Statistical Methods in Research and Production, 4th ed., Oliver and Boyd, (1972), section 6.6 | ||
|
||
* O.L. Davies and P.L. Goldsmith (eds), Statistical Methods in Research and Production, 4th ed., Oliver and Boyd, (1972), section 6.5 | ||
|
||
https://vincentarelbundock.github.io/Rdatasets/datasets.html | ||
|
||
|
||
Stock, J.H. and Watson, M.W. (2007). Introduction to Econometrics, 2nd ed. Boston: Addison Wesley. | ||
Anglin, P.M. and R. Gencay (1996) “Semiparametric estimation of a hedonic price function”, Journal of Applied Econometrics, 11(6), 633-648. | ||
Anglin, P., and Gencay, R. (1996). Semiparametric Estimation of a Hedonic Price Function. Journal of Applied Econometrics, 11, 633–648. | ||
|
||
Verbeek, M. (2004). A Guide to Modern Econometrics, 2nd ed. Chichester, UK: John Wiley. | ||
O'Brien, R. G., and Kaiser, M. K. (1985) MANOVA method for analyzing repeated measures designs: An extensive primer. Psychological Bulletin 97, 316–333, Table 7. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.