TAILIEUCHUNG - Matematik simulation and monte carlo with applications in finance and mcmc phần 3

56 phương pháp chung để tạo ra variates ngẫu nhiên (i) phương pháp tỷ lệ tiêu chuẩn, (ii) các phương pháp di dời trong đó Y = X - m = X - 2, 9 (iii) một xấp xỉ bằng số sự lựa chọn tối ưu. 11. Hãy xem xét những phương pháp sau đây để lấy mẫu từ một bản phân phối thử nghiệm đối xứng với mật độ fx x | 56 General methods for generating random variates i the standard ratio method ii the relocated method where Y X m X 9 iii a numerical approximation to the optimal choice of Ớ. 11. Consider the following approach to sampling from a symmetric beta distribution with density fX x - 2 --r1 1 x 1 x - 1 0- 1 2 a Put Y X 7. Then the density of Y is proportional to h y where h y 1 yA 1 y 1 4 7 2 2 Now show that the following algorithm will sample variates x from the density fX x . R1 and R2 are two independent U 0 1 random variables. 1. U V 1 r 7 R2 1 2 1ựã V U IfU 1 4 Y2 j deliver Y - else goto 1. Using Maple to reduce the mathematical labour show that the probability of acceptance is n 4T 2 v v 1 1 2a 2 Plot the probability of acceptance as a function of a and comment upon the efficiency of the algorithm. Show that for large a the acceptance probability is approximately J e - . 4 12. The adaptive rejection sampling method is applicable when the density function is log-concave. Examine whether or not the following densities are log-concave a normal b f x a x 1e x on support 0 to a 0 Problems 57 c Weibull f x a A ax 1 exp - Ax on support 0 to A 0 a 0 d lognormal f x a 1 ơx exp I-1 lnX- x a 2 J on support 0 to Ơ 0 X e R. 13. In adaptive rejection sampling from a density f a h r x ln h x must be concave. Given k ordered abscissae x0 . xk e support h the tangents to y r x at x Xj and X Xj 1 respectively intersect at X Zj for j 1 . k 1. Let x0 z0 inf x X e support h and xk 1 zk sup x X e support h . Let Mk y x0 y xk 1 be the piecewise linear hull formed from these tangents. Then uk is an upper envelope to r. It is necessary to sample a prospective variate from the density 4 y exp k y xE exp Mk y dy a Show that k y E Pjjy j 1 where jy exp k y E. exp k y dy zj-1 0 y e Zj 1 Zj- y ị zj-1 zj and x _ exp k y dy zj-1 Pj f exp k y dy for j 1 . k. b In a the density Ộ is represented as a probability mixture. This means that in order to sample a variate from Ộ a variate from

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.