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
1635
September 23, 2019
Rand/logpdf semantic consistency
Probabilistic Programming
12
1110
December 3, 2020
Where can I find complete documents for sample function?
New to Julia
question
,
turing
5
344
June 9, 2023
Weighted sampling algorithms not yet shipped?
General Usage
question
,
statistics
1
302
October 2, 2021
Required methods to sample a multivariate distribution
Statistics
distributions
1
297
October 26, 2023