-
Notifications
You must be signed in to change notification settings - Fork 2
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
Nov 9, 2019
1 parent
76f1b17
commit d8cfef2
Showing
10 changed files
with
142 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
- v1.0.0 | ||
- v1.0.0 (unstable) | ||
|
||
* validation | ||
* test procedures | ||
|
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,9 +1,39 @@ | ||
using ReplicateBE | ||
|
||
task = ReplicateBE.RandRBEDS(;n=24, | ||
sequence=[1,1], design = ["T" "R" "T" "R"; "R" "T" "R" "T"], | ||
inter=[0.05, 0.04, 0.6], intra=[0.02, 0.02], | ||
sequence=[1,2], design = ["T" "R" "T" "R"; "R" "T" "R" "T"], | ||
inter=[0.05, 0.04, 0.6], intra=[0.02, 0.04], | ||
intercept = 1.0, seqcoef = [0.0, 0.0], periodcoef = [0.0, 0.0, 0.0, 0.0], | ||
formcoef = [0.0, log(0.8)], seed = 0, dropobs = 0) | ||
|
||
|
||
@time result = ReplicateBE.simulation(task; num = 100000, seed = 730795390628834530, verbose = true) | ||
#= | ||
1837.914923 seconds (3.99 G allocations: 1.092 TiB, 9.91% gc time) | ||
Seed: 730795390628834530 | ||
Number: 100000 | ||
Result: 0.05078660225829358 | ||
=# | ||
|
||
task = ReplicateBE.RandRBEDS(;n=24, | ||
sequence=[1,2], design = ["T" "R" "T"; "R" "T" "R"], | ||
inter=[0.05, 0.04, 0.4], intra=[0.02, 0.04], | ||
intercept = 1.0, seqcoef = [0.0, 0.0], periodcoef = [0.0, 0.0, 0.0], | ||
formcoef = [0.0, log(0.8)], seed = 0, dropobs = 0) | ||
@time result = ReplicateBE.simulation(task; num = 100000, seed = 730795390628834530, verbose = true) | ||
|
||
#= | ||
1638.566348 seconds (3.77 G allocations: 907.478 GiB, 9.77% gc time) | ||
Seed: 730795390628834530 | ||
Number: 100000 | ||
Result: 0.04997148203368122 | ||
#E63 | ||
=# | ||
|
||
task = ReplicateBE.RandRBEDS(;n=24, | ||
sequence=[1,2], design = ["T" "R" "T" "R"; "R" "T" "R" "T"], | ||
inter=[0.05, 0.04, 0.3], intra=[0.02, 0.04], | ||
intercept = 1.0, seqcoef = [0.0, 0.0], periodcoef = [0.0, 0.0, 0.0, 0.0], | ||
formcoef = [0.0, log(0.8)], seed = 0, dropobs = 10) | ||
|
||
result = ReplicateBE.simulation(task; num = 200, seed = 123) | ||
result = ReplicateBE.simulation(task; num = 10, seed = 6564683774737, verbose = true) |
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
d8cfef2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
v1.0.0 (unstable)
d8cfef2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/5239
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via: