Skip to content

Commit cde1bf8

Browse files
Fix spelling of 'pseudo' in documentation (#477)
* Fix spelling of 'pseudo' in documentation Corrected the spelling of 'pseudo' in the explanation of random number streams. Signed-off-by: vincent guyader <[email protected]> * Also correct in vignette source --------- Signed-off-by: vincent guyader <[email protected]> Co-authored-by: shikokuchuo <[email protected]>
1 parent bf18a25 commit cde1bf8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/vignettes/_v07-questions.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ daemons(0)
9999

100100
The reason the change in random seed persists in all circumstances is due to this being a special case, arising from the use of L'Ecuyer CMRG streams to provide parallel-safe random numbers.
101101

102-
Streams can be thought of as entry points to the psuedo random number line far away from each other to ensure that random results in each daemon are independent from one another.
102+
Streams can be thought of as entry points to the pseudo random number line far away from each other to ensure that random results in each daemon are independent from one another.
103103
The random seed is not reset after each mirai call to ensure that however many random draws are made in any mirai call, the next random draw follows on in the stream, and hence have the desired statistical properties.
104104

105105
Hence normally, the random seed should be set once on the host process when daemons are created, rather than in each daemon.

vignettes/v07-questions.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ daemons(0)
107107

108108
The reason the change in random seed persists in all circumstances is due to this being a special case, arising from the use of L'Ecuyer CMRG streams to provide parallel-safe random numbers.
109109

110-
Streams can be thought of as entry points to the psuedo random number line far away from each other to ensure that random results in each daemon are independent from one another.
110+
Streams can be thought of as entry points to the pseudo random number line far away from each other to ensure that random results in each daemon are independent from one another.
111111
The random seed is not reset after each mirai call to ensure that however many random draws are made in any mirai call, the next random draw follows on in the stream, and hence have the desired statistical properties.
112112

113113
Hence normally, the random seed should be set once on the host process when daemons are created, rather than in each daemon.

0 commit comments

Comments
 (0)