Probabilistic density function in Netlogo?

62 views
Skip to first unread message

Hayli Chiu

unread,
Jul 18, 2022, 11:52:50 AM7/18/22
to netlogo-users
Hi, 

I am trying to implement Bayesian update with each agent having its own prior distribution for a parameter. Is it possible to set a normal distribution for each agent? Thanks.

Best, 
Hay

Pradeesh Kumar K V

unread,
Jul 20, 2022, 12:55:12 AM7/20/22
to netlogo-users
Hello Hay,

I am currently learning probability theory which includes Bayesian inference. So curious to know how you propose to implement Bayesian update in your model.

Since normal distribution is characterized by its mean and standard deviation, perhaps prior distribution can be represented by including the mean and standard deviation as agent variables?

Best,

Pradeesh

--
You received this message because you are subscribed to the Google Groups "netlogo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-users/3890c36e-cc8d-419a-b08f-341ca9271d87n%40googlegroups.com.

James Steiner

unread,
Jul 20, 2022, 9:12:15 AM7/20/22
to Hayli Chiu, netlogo-users
Agents like turtles or patches or links can have their own variables. Like objects in an object -oriented programming language, agents can have properties (we call them "owned variables", as the syntax is like "turtkes-own [ a b c ]")

So agents can have their own individual values for those properties. Those values can be numbers, strings, other agents, lists, sets of agents, or anything else netlogo can store in a variable. 



--
Reply all
Reply to author
Forward
0 new messages