Is there some sort of formula which one can use to determine the odds of getting a given weapon based on it's rarity?

For example, a 1/100 chance for getting a 1* item, or whatever.

I'm wondering how often a 9* item would drop... *yes, I'm still dreaming the impossible dream, Degahna Cannon*