SlideShare a Scribd company logo
1 of 3
Download to read offline
Compute the inverse cdfs of the following density functions and describe how to generate
random variables from these distributions based on the inverse-cdf method. f(x) = 1 / 2b e -|x|/b,
b > 0, x R. (1) f(x) = k(x - a) k-1 / (b - a)k, k > 0, a x b. (2).
Solution
I will use I[a,b] for the integral from a to b and E[a,b] for evaluated from a to b
For - infinity < x < 0, F(x) = |[-infinity,x] 1/2b e ^ x/b = 1/2 e ^x/b E[-infinity, x] =
1/2 e ^x/b - 0 = 1/2 e ^x/b
For 0 < x < infinity, as the value of integral above = 1/2 at 0, F(x) =
1/2 + |[0,x] 1/2b e^-x/b = 1/2 - 1/2e^-x/bE[0, x] =
1/2 - 1/2 e^-x/b - -1/2 = 1 - 1/2e^-x/b
Then, if 1/2 e^x/b = Y, e^x/b = 2Y, and x/b = ln(2Y) and x = ln(2Y) b Y <= 1/2
if1 - 1/2e^-x/b = Y
1 - Y = 1/2 e^-x/b
2 - 2Y = e^-x/b
ln(2-2Y) = -x/b
x = -ln(2-2Y) b Y >= 1/2
Our solution is
x = ln(2Y) b Y <= 1/2
x = -ln(2-2Y) b Y >= 1/2
where Y ~ U[0,1]
As f(x) = k(x-a)^(k-1)/(b-a)^k a <= x <= b
F(x) = I[a,x] k(x-a)^(k-1)/(b-a)^k =(x-a)^k/(b-a)^k E[a,x] =
(x-a)^k/(b-a)^k - 0 =
(x-a)^k/(b-a)^k
Then, if(x-a)^k/(b-a)^k = y
(x-a)^k =(b-a)^k y
Taking the k'th root on both sides
x-a = (b-a) y^(1/k)
x = a +(b-a) y^(1/k)
 Compute the inverse cdfs of the following density functions and descr.pdf

More Related Content

Similar to Compute the inverse cdfs of the following density functions and descr.pdf

Additional Mathematics form 4 (formula)
Additional Mathematics form 4 (formula)Additional Mathematics form 4 (formula)
Additional Mathematics form 4 (formula)Fatini Adnan
 
1.  Write an equation in standard form of the parabola that has th.docx
1.  Write an equation in standard form of the parabola that has th.docx1.  Write an equation in standard form of the parabola that has th.docx
1.  Write an equation in standard form of the parabola that has th.docxKiyokoSlagleis
 
Figure Eight Curve
Figure Eight CurveFigure Eight Curve
Figure Eight Curvenaifang
 
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuacionesNatalia
 
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuacionesNatalia
 
1.3 solving equations t
1.3 solving equations t1.3 solving equations t
1.3 solving equations tmath260
 
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdfSolucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdfFranciscoJavierCaedo
 

Similar to Compute the inverse cdfs of the following density functions and descr.pdf (12)

Additional Mathematics form 4 (formula)
Additional Mathematics form 4 (formula)Additional Mathematics form 4 (formula)
Additional Mathematics form 4 (formula)
 
1.  Write an equation in standard form of the parabola that has th.docx
1.  Write an equation in standard form of the parabola that has th.docx1.  Write an equation in standard form of the parabola that has th.docx
1.  Write an equation in standard form of the parabola that has th.docx
 
Maths formulae
Maths formulaeMaths formulae
Maths formulae
 
Figure Eight Curve
Figure Eight CurveFigure Eight Curve
Figure Eight Curve
 
Eight Curve Final
Eight  Curve  FinalEight  Curve  Final
Eight Curve Final
 
Changed pattern of CBSE Class XII Mathematics -2016-17-with_marking_scheme
Changed pattern of CBSE Class XII Mathematics -2016-17-with_marking_schemeChanged pattern of CBSE Class XII Mathematics -2016-17-with_marking_scheme
Changed pattern of CBSE Class XII Mathematics -2016-17-with_marking_scheme
 
Chap05alg
Chap05algChap05alg
Chap05alg
 
Chap05alg
Chap05algChap05alg
Chap05alg
 
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
 
Raices de ecuaciones
Raices de ecuacionesRaices de ecuaciones
Raices de ecuaciones
 
1.3 solving equations t
1.3 solving equations t1.3 solving equations t
1.3 solving equations t
 
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdfSolucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
 

More from vijayhumne

Complete the PEM Assembly Flow using the processes listed below Wafe.pdf
 Complete the PEM Assembly Flow using the processes listed below  Wafe.pdf Complete the PEM Assembly Flow using the processes listed below  Wafe.pdf
Complete the PEM Assembly Flow using the processes listed below Wafe.pdfvijayhumne
 
classify the give differential equation as to type and order. classif.pdf
 classify the give differential equation as to type and order. classif.pdf classify the give differential equation as to type and order. classif.pdf
classify the give differential equation as to type and order. classif.pdfvijayhumne
 
Classify the data as either qualitative or quantitative. A large reco.pdf
 Classify the data as either qualitative or quantitative. A large reco.pdf Classify the data as either qualitative or quantitative. A large reco.pdf
Classify the data as either qualitative or quantitative. A large reco.pdfvijayhumne
 
College students often make up a substantial portion of the popul.pdf
 College students often make up a substantial portion of the popul.pdf College students often make up a substantial portion of the popul.pdf
College students often make up a substantial portion of the popul.pdfvijayhumne
 
Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdf
 Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdf Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdf
Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdfvijayhumne
 
Consider the following function Reduce all fractions to lowest terms..pdf
 Consider the following function Reduce all fractions to lowest terms..pdf Consider the following function Reduce all fractions to lowest terms..pdf
Consider the following function Reduce all fractions to lowest terms..pdfvijayhumne
 
Class C and Class F fly ashes are used extensively as pozzolanic mate.pdf
 Class C and Class F fly ashes are used extensively as pozzolanic mate.pdf Class C and Class F fly ashes are used extensively as pozzolanic mate.pdf
Class C and Class F fly ashes are used extensively as pozzolanic mate.pdfvijayhumne
 
City A+ has a population of 314,159 people on January 1, 2010. The po.pdf
 City A+ has a population of 314,159 people on January 1, 2010. The po.pdf City A+ has a population of 314,159 people on January 1, 2010. The po.pdf
City A+ has a population of 314,159 people on January 1, 2010. The po.pdfvijayhumne
 
Consider the annual maximum series for the US Geological survey gatin.pdf
 Consider the annual maximum series for the US Geological survey gatin.pdf Consider the annual maximum series for the US Geological survey gatin.pdf
Consider the annual maximum series for the US Geological survey gatin.pdfvijayhumne
 
Consider the ANOVA table for a simple linear regression given below. .pdf
 Consider the ANOVA table for a simple linear regression given below. .pdf Consider the ANOVA table for a simple linear regression given below. .pdf
Consider the ANOVA table for a simple linear regression given below. .pdfvijayhumne
 
Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdf
 Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdf Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdf
Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdfvijayhumne
 
Christy Reed has been depositing $2,000 in her savings account every .pdf
 Christy Reed has been depositing $2,000 in her savings account every .pdf Christy Reed has been depositing $2,000 in her savings account every .pdf
Christy Reed has been depositing $2,000 in her savings account every .pdfvijayhumne
 
Consider a continuous-time LTI system whose transfer function is give.pdf
 Consider a continuous-time LTI system whose transfer function is give.pdf Consider a continuous-time LTI system whose transfer function is give.pdf
Consider a continuous-time LTI system whose transfer function is give.pdfvijayhumne
 
Consider a catchment that has undergone extensive urbanisation. What .pdf
 Consider a catchment that has undergone extensive urbanisation. What .pdf Consider a catchment that has undergone extensive urbanisation. What .pdf
Consider a catchment that has undergone extensive urbanisation. What .pdfvijayhumne
 
Compute the correlation of X and Y. Compute the covariance of X and .pdf
 Compute the correlation of X and Y.  Compute the covariance of X and .pdf Compute the correlation of X and Y.  Compute the covariance of X and .pdf
Compute the correlation of X and Y. Compute the covariance of X and .pdfvijayhumne
 

More from vijayhumne (15)

Complete the PEM Assembly Flow using the processes listed below Wafe.pdf
 Complete the PEM Assembly Flow using the processes listed below  Wafe.pdf Complete the PEM Assembly Flow using the processes listed below  Wafe.pdf
Complete the PEM Assembly Flow using the processes listed below Wafe.pdf
 
classify the give differential equation as to type and order. classif.pdf
 classify the give differential equation as to type and order. classif.pdf classify the give differential equation as to type and order. classif.pdf
classify the give differential equation as to type and order. classif.pdf
 
Classify the data as either qualitative or quantitative. A large reco.pdf
 Classify the data as either qualitative or quantitative. A large reco.pdf Classify the data as either qualitative or quantitative. A large reco.pdf
Classify the data as either qualitative or quantitative. A large reco.pdf
 
College students often make up a substantial portion of the popul.pdf
 College students often make up a substantial portion of the popul.pdf College students often make up a substantial portion of the popul.pdf
College students often make up a substantial portion of the popul.pdf
 
Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdf
 Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdf Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdf
Cisco Systems, Inc. (CSCO) has a current dividend of $0.84 per share..pdf
 
Consider the following function Reduce all fractions to lowest terms..pdf
 Consider the following function Reduce all fractions to lowest terms..pdf Consider the following function Reduce all fractions to lowest terms..pdf
Consider the following function Reduce all fractions to lowest terms..pdf
 
Class C and Class F fly ashes are used extensively as pozzolanic mate.pdf
 Class C and Class F fly ashes are used extensively as pozzolanic mate.pdf Class C and Class F fly ashes are used extensively as pozzolanic mate.pdf
Class C and Class F fly ashes are used extensively as pozzolanic mate.pdf
 
City A+ has a population of 314,159 people on January 1, 2010. The po.pdf
 City A+ has a population of 314,159 people on January 1, 2010. The po.pdf City A+ has a population of 314,159 people on January 1, 2010. The po.pdf
City A+ has a population of 314,159 people on January 1, 2010. The po.pdf
 
Consider the annual maximum series for the US Geological survey gatin.pdf
 Consider the annual maximum series for the US Geological survey gatin.pdf Consider the annual maximum series for the US Geological survey gatin.pdf
Consider the annual maximum series for the US Geological survey gatin.pdf
 
Consider the ANOVA table for a simple linear regression given below. .pdf
 Consider the ANOVA table for a simple linear regression given below. .pdf Consider the ANOVA table for a simple linear regression given below. .pdf
Consider the ANOVA table for a simple linear regression given below. .pdf
 
Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdf
 Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdf Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdf
Consider the AC circuit shown in Figure P75 (a) Find the branch curre.pdf
 
Christy Reed has been depositing $2,000 in her savings account every .pdf
 Christy Reed has been depositing $2,000 in her savings account every .pdf Christy Reed has been depositing $2,000 in her savings account every .pdf
Christy Reed has been depositing $2,000 in her savings account every .pdf
 
Consider a continuous-time LTI system whose transfer function is give.pdf
 Consider a continuous-time LTI system whose transfer function is give.pdf Consider a continuous-time LTI system whose transfer function is give.pdf
Consider a continuous-time LTI system whose transfer function is give.pdf
 
Consider a catchment that has undergone extensive urbanisation. What .pdf
 Consider a catchment that has undergone extensive urbanisation. What .pdf Consider a catchment that has undergone extensive urbanisation. What .pdf
Consider a catchment that has undergone extensive urbanisation. What .pdf
 
Compute the correlation of X and Y. Compute the covariance of X and .pdf
 Compute the correlation of X and Y.  Compute the covariance of X and .pdf Compute the correlation of X and Y.  Compute the covariance of X and .pdf
Compute the correlation of X and Y. Compute the covariance of X and .pdf
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

Compute the inverse cdfs of the following density functions and descr.pdf

  • 1. Compute the inverse cdfs of the following density functions and describe how to generate random variables from these distributions based on the inverse-cdf method. f(x) = 1 / 2b e -|x|/b, b > 0, x R. (1) f(x) = k(x - a) k-1 / (b - a)k, k > 0, a x b. (2). Solution I will use I[a,b] for the integral from a to b and E[a,b] for evaluated from a to b For - infinity < x < 0, F(x) = |[-infinity,x] 1/2b e ^ x/b = 1/2 e ^x/b E[-infinity, x] = 1/2 e ^x/b - 0 = 1/2 e ^x/b For 0 < x < infinity, as the value of integral above = 1/2 at 0, F(x) = 1/2 + |[0,x] 1/2b e^-x/b = 1/2 - 1/2e^-x/bE[0, x] = 1/2 - 1/2 e^-x/b - -1/2 = 1 - 1/2e^-x/b Then, if 1/2 e^x/b = Y, e^x/b = 2Y, and x/b = ln(2Y) and x = ln(2Y) b Y <= 1/2 if1 - 1/2e^-x/b = Y 1 - Y = 1/2 e^-x/b 2 - 2Y = e^-x/b ln(2-2Y) = -x/b x = -ln(2-2Y) b Y >= 1/2 Our solution is x = ln(2Y) b Y <= 1/2 x = -ln(2-2Y) b Y >= 1/2
  • 2. where Y ~ U[0,1] As f(x) = k(x-a)^(k-1)/(b-a)^k a <= x <= b F(x) = I[a,x] k(x-a)^(k-1)/(b-a)^k =(x-a)^k/(b-a)^k E[a,x] = (x-a)^k/(b-a)^k - 0 = (x-a)^k/(b-a)^k Then, if(x-a)^k/(b-a)^k = y (x-a)^k =(b-a)^k y Taking the k'th root on both sides x-a = (b-a) y^(1/k) x = a +(b-a) y^(1/k)