(no subject)
Sep. 23rd, 2005 01:57 pmA random question for people with science leanings:
I need a probability distribution, but its shape isn't really known. That inclines me to use a gaussian as a generic, because most things are gaussian.
However, it can't produce negative values. What would you use?
Truncate the gaussian below zero? Fold negative values back to positive? Something like a chi-square distribution that looks gaussian once the mean is far from zero?
I need a probability distribution, but its shape isn't really known. That inclines me to use a gaussian as a generic, because most things are gaussian.
However, it can't produce negative values. What would you use?
Truncate the gaussian below zero? Fold negative values back to positive? Something like a chi-square distribution that looks gaussian once the mean is far from zero?
no subject
Date: 2005-09-23 01:24 pm (UTC)If it's continuous and "probably normal" because it's kind of like the sum of a bunch of observations, you probably want a gamma == sum of exponential variables.
If it's discrete and "probably normal" for the same reason, you probably want negative binomial == sum of geometrics or just plain old binomial == sum of Bernoullis.
no subject
Date: 2005-09-23 02:01 pm (UTC)Sadly I am incapable of absorbing new information as my brain has garglefilzered it's nuero-rhuemitizer.
Plus my science leanings are not at nearly acute enough anlge to count.
no subject
Date: 2005-09-23 02:10 pm (UTC)no subject
Date: 2005-09-23 02:22 pm (UTC)no subject
Date: 2005-09-23 02:24 pm (UTC)[I admit that I'm awkward with the style of language you're using here, but at least that's what I get when I look at what you've written...]
OK, fine be all literall and stuff: A clarification? Correction? Some stuff anyway:
Date: 2005-09-23 02:32 pm (UTC)Sadly I am incapable parsing even the request in a reasobale manner because my schnitzel is sans noodles
Plus my science leanings are not at nearly obtuse enough angle to count.
Plus I probably am deficient in the maths. Are there maths involved?
Because I am bad at them. I blame the girl I was dating when I flunked those one maths.
Re: OK, fine be all literall and stuff: A clarification? Correction? Some stuff anyway:
Date: 2005-09-23 02:35 pm (UTC)It's nearly all math, in fact, with only a tenuous toehold on reality.
Re: OK, fine be all literal and stuff: A clarification? Correction? Some stuff anyway:
Date: 2005-09-23 02:41 pm (UTC)Incoherency tastes a lot like chartreuse.
Pony, Pony, Pony!
Date: 2005-09-23 02:42 pm (UTC)Weeeeeeeeeeeeee!
no subject
Date: 2005-09-23 02:46 pm (UTC)Basically, we have an agent-based model where all our little software people are deciding whether or not to evacuate based on whether the number of warning signs they've seen has hit their panic threshold yet. The distribution of thresholds is what I'm concerned with here.
It doesn't really make sense for the threshold to be negative, but there's a fraction of the population will evacuate given any provocation at all, so their threshold is basically zero. It's "probably normal" on the grounds that, well, it's people. So it's really based on a jillion unobservables, but we're calling it (likely normal) random noise.
(Might need to use it for a couple other things, like response delay and attention paid to official announcements, both of which make no sense being negative.)
I was thinking about a gamma distribution, actually. I just have to remember what the hell ranges of coefficients gives you halfway-normal looking curves. Thanks!
no subject
Date: 2005-09-23 03:00 pm (UTC)no subject
Date: 2005-09-23 03:03 pm (UTC)I realize I don't understand your way of thinking about this concept. But let me propose a way of thinking that makes more sense to me, at least:
Let x be the rv that is the number of times a person needs to be warned before they decide to evacuate. [I realize that in your model, probably warnings have weights, but for my sanity's sake, let's say all "warnings" have weight 1.] A person's threshold is the number of warnings that it takes before they run.
It seems to me that what you actually have is just an infinite-state Markov chain modeling the people: it has states x_0, x_1, ... and RAN, where x_i's indicator i is the number of warnings the person has previously seen, if they've not evacuated yet, while RAN is the catchall state for "I ran like hell." You want to know the distribution of the time of first occupancy of RAN.
I seems odd to assume that this distribution is quasi-normal. More likely quasi-geometric sounds right to me: that would suggest that every new warning convinces the same fraction of stragglers to run.
no subject
Date: 2005-09-23 03:07 pm (UTC)Re: OK, fine be all literal and stuff: A clarification? Correction? Some stuff anyway:
Date: 2005-09-23 03:36 pm (UTC)no subject
Date: 2005-09-23 03:38 pm (UTC)I don't follow once we get to the infinite-state Markov chain. How does it have any implications for the distribution? In other words, it seems like the markov chain representation is just a way of making a histogram of the agents' thresholds... what am I missing?
Note also that one of the signals the agents integrate is "who else has already evacuated", which would violate one of the assumptions for markov processes, no?
no subject
Date: 2005-09-23 03:44 pm (UTC)Yes, "who's already gone" would violate the Markovianness.
Re: OK, fine be all literall and stuff: A clarification? Correction? Some stuff anyway:
Date: 2005-09-23 03:45 pm (UTC)Hey, why don't you go convolve it with itself in your mind's eye.
Re: OK, fine be all literall and stuff: A clarification? Correction? Some stuff anyway:
Date: 2005-09-23 03:52 pm (UTC)no subject
Date: 2005-09-23 04:00 pm (UTC)I'll fool around with gammas some. (Hopefully, when we do some sensitivity analysis of the model, one of the things we'll find out is that the details of the distribution of thresholds is not especially important. That'd be convenient.)
Re: OK, fine be all literall and stuff: A clarification? Correction? Some stuff anyway:
Date: 2005-09-23 04:53 pm (UTC)The second part won.
So now I'll just drop that phrase into a conversation next week, and tell you how easily it went.
no subject
Date: 2005-09-23 04:55 pm (UTC)no subject
Date: 2005-09-23 06:21 pm (UTC)Human nature note.
Date: 2005-09-24 05:09 am (UTC)While it may be a really small proportion that wouldn't affect your program, I would note that in RL, people are perverse enough that they will pay negative attention to official announcements. Tell them that they should leave, and that't the impetus for them to stay.
no subject
Date: 2005-09-24 10:55 am (UTC)I think the assumption that the threshold is based on the number of warnings is flawed.
I suspect there's some fraction of the population that will run on first warning, and some that won't run at all, ever. But for the ones in between, the interesting threshold is probably the % of the population that already ran. As that happens, the odds of someone you know having run goes up sharply, and consequently your odds of doing so as well.
So I'd expect a small chunk at first, an accelerating rampup, and then a sudden plunge.
no subject
Date: 2005-09-24 12:18 pm (UTC)no subject
Date: 2005-09-24 12:31 pm (UTC)Absolutely correct. (Though there are some interesting questions about won't run versus can't run.)
But for the ones in between, the interesting threshold is probably the % of the population that already ran. As that happens, the odds of someone you know having run goes up sharply, and consequently your odds of doing so as well.
Yup. The really interesting part (I suspect) will be how the signal of other people deciding to act is filtered through people's social networks, because how your friends are acting has an entirely different kind of influence than how "everybody" is acting.
It'll probably usually be a sigmoid curve, but where it tops out and how it unfolds over time are really useful details we hope the model can provide.
Re: Human nature note.
Date: 2005-09-24 12:44 pm (UTC)There's an interesting phenomenon that some subpopulations (criminals, for example) may find it advantageous NOT to evacuate if everyone else is evacuating. But if we end up modeling that, I think the way to do it will probably be to give them an extra, negative signal representing the opportunity, because nromal meaning of the other signals (mortal danger) holds just as much for them as everyone else...
no subject
Date: 2005-09-24 12:47 pm (UTC)That's separate from the number of people you know personally who have evacuated, for which we need to make a simple model social network.
Re: Human nature note.
Date: 2005-09-24 05:31 pm (UTC)