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