search for: hx2

Displaying 1 result from an estimated 1 matches for "hx2".

Did you mean: 0x2
2012 Feb 24
1
Telling plot() the max y value to expect when plotting one distribution and then using lines() to add more distributions
...ers for the plots of three distributions mx<- c(1.95, 18.35,1.93) nux<- c(0.08,-1.02,0.25) locationx<- c(0.0048,-0.00254,0.00189) scalex<- c(0.0115,0.082187,0.026675) ## calculate probability density function hx1<- dpearsonIV(x,m=mx[1],nu=nux[1],location=locationx[1],scale=scalex[1]) hx2<- dpearsonIV(x,m=mx[2],nu=nux[2],location=locationx[2],scale=scalex[2]) hx3<- dpearsonIV(x,m=mx[3],nu=nux[3],location=locationx[3],scale=scalex[3]) ##calculate max of each distribtion maxhx1<- max(hx1) maxhx2<- max(hx2) maxhx3<- max(hx3) maxhx<- max(hx1,hx2,hx3) maxhx1 maxhx2 maxh...