In[]:=
ClearAll["Global`*"];s[x_,n_,η_,k_]:=n**;(*ThisistheLikliyhoodL(Y|x)whichisproportionaltothenumberofexperimentsdone*)likeYX[x_,y_,n_,k_,η_]:=;(*onecanseeherethatthesumconvergesto1*)likeSum[x_,y_,n_,k_,η_]:=Sum[likeYX[x,y,n,k,η],{y,0,Infinity}]
k
η
2k
x
Power[s[x,n,η,k],y]*Exp[-s[x,n,η,k]]
y!
evidance[x_,y_,n_,k_,η_]:=1/Integrate[likeYX[x,y,n,k,η],{x,0,1}];pxn[x_,y_,n_,k_,η_]:=Simplify[likeYX[x,y,n,k,η]*evidance[x,y,n,k,η]];numenatorSum[x_,n_,k_,η_]:=Sum[pxn[x,y,n,k,η]*likeYX[x,y,n,k,η],{y,0,Infinity}]
Out[]=
∞
∑
y=0
(*ClearAll[n,k,η,x];*)ListPlot[Table[{x,numenatorSum[x,4,2,0.9]},{x,0.1,1,0.1}]]
0
0.
0
0.
0
0.
5.36656
2y
0.
y!Gamma+y-Gamma+y,3.24
1
4
1
4
