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
1574
September 23, 2019
What is rand(distrSamp, n) for distrSamp being a probability distribution sampler?
General Usage
0
315
January 24, 2019
Where can I find complete documents for sample function?
New to Julia
question
,
turing
5
301
June 9, 2023
`Base.rand` but `Random.rand!`?
General Usage
25
1482
August 29, 2018
Required methods to sample a multivariate distribution
Statistics
distributions
1
286
October 26, 2023