Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. expr1[x_] := PDF[JohnsonDistribution["SU", γ, δ, ξ, λ],
  2. x]
  3.  
  4. Integrate[expr1[x]*Exp[I*t*x], {x, -Infinity, Infinity}]
  5.  
  6. expr1 = PDF[JohnsonDistribution["SU", γ, δ, ξ, λ], x]
  7.  
  8. expr1[x_] := PDF[JohnsonDistribution["SU", γ, δ, ξ, λ], x]
  9.  
  10. CharacteristicFunction[JohnsonDistribution["SU", γ, δ, ξ, λ], t]
  11.  
  12. emCF = With[{dist = #},
  13. RandomVariate[dist, 100] // Exp[I t #] & /@ # & // Mean //
  14. Set[approx, #] &;
  15. ReIm[approx]] &;
  16.  
  17. Plot[Evaluate[emCF[NormalDistribution[0, 1]]], {t, -1, 1}]
  18.  
  19. Plot[ReIm@CharacteristicFunction[NormalDistribution[0, 1], t], {t, -1,
  20. 1}]
  21.  
  22. Manipulate[
  23. Plot[Evaluate[emCF[JohnsonDistribution["SU", a, b, c, d]]], {t, -1,
  24. 1}], {a, -5, 5}, {b, 0.01, 5}, {c, -5, 5}, {d, 0.01, 5}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement