Prior Distribution in Bioinformatics

Multinominal distribution on [0,,n1] whose probability of i is pi. The logarithm of probability distribution can be written as:
logp(x)=log(n1i=0δ(i,x)px)=n1i=0δ(i,x)logpx=(1n1i=1δ(i,x))logp0+n1i=1δ(i,x)logpx=n1i=1δ(i,x)logpip0+logp0


Therefore, by defining
ϕ(x)=δ(i,x),θi=logpip0,ψ(θ)=logp0=log[1+n1i=1exp(θi)].

the distribution is of exponentail family:
p(x)=exp{θϕ(x)ψ(θ)}