Julia Programming Language
What is the difference between rand and sample?
General Usage
question
Tamas_Papp
December 24, 2020, 9:15am
8
Personally I think that using
StatsBase.sample
for MCMC is bad style (“punning”).
Allowing the object.method(args...) syntax as an alias for method(object, args ...)
show post in topic
Related topics
Topic
Replies
Views
Activity
Function rand() or sample() for MCMC sampling and similar?
Probabilistic Programming
19
1720
September 23, 2019
Rand/logpdf semantic consistency
Probabilistic Programming
12
1136
December 3, 2020
Weighted sampling algorithms not yet shipped?
General Usage
question
,
statistics
1
322
October 2, 2021
StatsBase, sampling without "putting back"
Statistics
2
1697
April 21, 2019
Where can I find complete documents for sample function?
New to Julia
question
,
turing
5
367
June 9, 2023