February 14th, 2013

guardians_song: A crop from FE7's Arcadia CG showing Nergal and two villagers chatting over scrolls. (analytical)

Brownian Motion

 Brownian motion refers to one-dimensional random motion of a particle that is homogenous in time, homogenous in space, and independent in increments.

This basically means that the particle's motion isn't affected by which direction is which, what time it is, or what it's done previously. So it's sort of like a Too Stupid To Live protagonist. :P

In equations. the random variable X(t,w) giving the probability distribution of the particle being displaced by w units at time t has the following properties:
X(0,w)=0 for all w (the particle has not moved at time 0)
X(t,w)-X(s,w)=X(t-s,w) (the displacement of the particle between time s and time t only depends on the time elapsed between time s and time t)
X(t), X(t+e-t), t(t+e+e2-(t+e)), etc. are all independent variables ( the particle's behavior during at interval of time is not dependent on its behavior during any other period of time)
X is normally distributed with mean 0 and variance t (it goes to the left or right with equal probability, and... I'll get back to you on the variance)
With probability 1, t->X(t,w) is continuous (the particle is not a Portkey, and cannot teleport)


...Don't mind me - just studying . :) (And I said I'd share info with the f-list...) Now, let's just hope I didn't make any typos.
-- Prophecy Categories
guardians_song: Ken Sugimori's concept art of the Pokemon starters, with the main characters and rival beside them. (Pokemon)

Happy Valentine's Day, Everybody!


And in the case of those who are single, voluntarily or otherwise:

Too bad.

This thing loves you anyway.
WOO!
And it's coming for you. *mwahahahaha*

, -- Prophecy Categories
guardians_song: A slightly edited posterized version of King Zephiel from Fire Emblem: Rekka no Ken. (Amused)

Have you ever wondered where random 'supplies' come from during PWP fics? Wonder no longer!


This College Student Founded A Startup Delivering Emergency Condoms On Campus

Now, if someone expands the business to include lube and more... exotic... items, Kink Meme fics will never want for supplies again!

Dear gad, I can already see the prompts...

-- Prophecy Categories
guardians_song: A crop from FE7's Arcadia CG showing Nergal and two villagers chatting over scrolls. (scholarly)

Random Fact:


An "urn model" in probability is a certain kind of model for random walks using urns. (Please don't call me Captain Obvious.) Typically, you have r red balls and b blue balls [be mature about this, darn it!] in an urn which are evenly mixed together, and you pull one ball out at random and, depending upon the color of the ball, do something such as changing the color of the ball and putting it back in, adding a given number of balls of a certain color to the urn, or performing an operation on another urn. At the end of the process, you change the state of a certain system depending upon your results, and repeat the process.

A simple example would be having two balls in an urn, one red and one blue, picking one ball, and moving a token one space further or one space backward on an infinite line depending upon whether the ball chosen was red or blue, respectively. Then, you put the ball you chose back in the urn, and repeat the process.

Hypothetically, if not for the crazy two-RN hit chance, you could model a Fire Emblem attack sequence [without counterattack] as follows: 
(Hit chance is X%, crit rate is C%, attack strength is A, and enemy HP is E.)
Put X black balls and 100-X white balls in Urn 1 and C red balls and 100-C blue balls in Urn 2. Then, remove a ball from Urn 1. If it's white, end the process there and do nothing. If it's black, proceed to Urn 2; if the ball chosen is red, subtract 3A Hit Points from E and end the process - otherwise, subtract A Hit Points from E and end the process. Repeat until enemy keels over. :B

Modeling the average-of-the-two-RNs would require weighting the balls, methinks, and that kind of ruins the point. D|

Alternatively, you could model an NPC randomly moving about by having A red balls, B white balls, C blue balls, and D green balls in the urn, then moving up if the ball picked is red, left if the ball picked is white, down if the ball picked is blue, and right if the ball picked is green. You get the idea.

The usefulness of this is that it gives you some way to model weirder transition chances in a way you can grasp. Say, for instance, that you have r red balls, b blue balls, and g green balls in the urn, and you pick one ball and, before replacing it, pick another ball - moving the state up a notch if you pick the same color of ball twice, moving down if you pick red and then blue (or vice versa), and staying constant if you picked green and then a different color (or vice versa).

Then, your transition probabilities are as follows:
Moving up: (r(r-1)+b(b-1)+g(g-1))/[(r+b+g)(r+b+g-1)]
Not moving: (2rg+2bg)/[(r+b+g)(r+b+g-1)]
Moving down: (2br)/[(r+b+g)(r+b+g-1)]
...You wouldn't know quite what to make of those if you ran across them in another context, would you? :P But this way, you actually have some way of understanding what crazy stuff is going on. And it would get more complicated if you performed actions based upon your results (such as changing a ball to blue or green depending upon what the color of the first ball you picked was) before proceeding onto the next step, of course...
-- Prophecy Categories
guardians_song: Part of Fire Emblem 7's Chapter 19xx CG, colored (comfort)

HIGHLY RECOMMENDED: Codecademy


Free website dedicated to teaching people how to code in-browser. Teaches HTML, jQuery, JavaScript, Python, Ruby, and more!

I just found my new "But it's productive, really!" procrastination site. :D

, , -- Prophecy Categories
guardians_song: Part of Fire Emblem 7's Chapter 19xx CG, colored (comfort)

Advertising this again...



MULTIFANDOM AU DRABBLE MEME


C'mon, the prompts are free-for-all! I've even filled a few...
, -- Prophecy Categories
guardians_song: Icon depiction of the sporker Richard. (Default)
Guardian's Song

December 2014

S M T W T F S
123456
78910111213
14151617181920
21222324252627
28293031

Tags

Powered by Dreamwidth Studios