Some wierd behavoir when trying to use a PDF
Some wierd behavoir when trying to use a PDF
First: Creation of my Distribution
First: Creation of my Distribution
First: Creation of my Distribution
Plot of a Graphic to test my distribtuion
In[]:=
Plot[Sin[x],{x,0,2π}]
Out[]=
In[]:=
Plot[Sin[x],{x,0,3π/2}]
Out[]=
In[]:=
Plot[1+Sin[x],{x,0,3π/2}]
Out[]=
In[]:=
preFfdp=1+Sin[x]
Out[]=
1+Sin[x]
In[]:=
myDistFunc=preFfdp/Integrate[preFfdp,{x,0,3π/2}]
Out[]=
1+Sin[x]
1+
3π
2
In[]:=
myDist=ProbabilityDistribution[myDistFunc,{x,0,3π/2}]
Out[]=
ProbabilityDistribution,x.,0,
1+Sin[x.]
1+
3π
2
3π
2
In[]:=
PDF[myDist,x]
Out[]=
|
Second: Test of my Distribution
Second: Test of my Distribution
First, make a plot
In[]:=
Plot[PDF[myDist,x],{x,0,3π/2}]
Out[]=
Now test other probability related Wolfram Languajes Functions
In[]:=
Plot[{PDF[myDist,x],CDF[myDist,x]},{x,0,3π/2}]
Out[]=
An then .. something weird happens when making Plots
An then .. something weird happens when making Plots
In[]:=
Plot[PDF[myDist,x],{x,0,1}]Plot[PDF[myDist,x],{x,0,2}]Plot[PDF[myDist,x],{x,0,3}]Plot[PDF[myDist,x],{x,0,3.5}]Plot[PDF[myDist,x],{x,0,3π/2}]
Out[]=
Out[]=
Out[]=
Out[]=
Out[]=
Depending on the Plotting Range, I see the PDF starting from a Different vertical postion at x = 0.
Why is this?
Depending on the Plotting Range, I see the PDF starting from a Different vertical postion at x = 0.
Why is this?
Why is this?