# F79MA: Statistical Model Assignment, HWU, Malaysia Suppose that you are a trainee actuary working in the mathematical modeling team for a non-governmental organization that is rolling out a micro-credit scheme to support rural communities in developing countries

University |
Heriot-Watt University (HWU) |

Subject |
F79MA: Statistical Model |

**Project description**

In a manner akin to Project 1, suppose that you are a trainee actuary working in the mathematical modeling team for a non-governmental organization that is rolling out a micro-credit scheme to support rural communities in developing countries. As a reminder, the scheme al- lows members of the community to borrow the equivalent of 50 Euros to support or develop a commercial activity (e.g., repair tools, buy consumables, expand production capacity, etc.). The micro-credit scheme only has one active loan within the community at any given time and operates the first-come-first-served queue. This introduces a form of community-based peer pressure that keeps the loan default rate low and that allows the micro-credit scheme to bypass formal credit checks and issue loans without charging a fee.

### Are You Searching Answer of this Question? Request Malaysian Writers to Write a plagiarism Free Copy for You.

The scheme that you studied in Project 1 has been running for several months successfully. However, because of a change in economic conditions, the model needs to be updated. You decide to consider the following model for the time that an individual stays in the queue:

X ∼ Exp(θ),

where θ ∈ R is unknown. The likelihood function associated with an observation x is

L(θ; x) = θ exp(−θx).

You decide to perform Bayesian inference on θ given a realization x = {xi} N

i=1 of an i.i.d. sample X1, . . . , XN of size N = 100. You do not wish to take into consideration any prior knowledge about θ, so you choose to use Jeffrey’s prior for θ, given by

πJ (θ) ∝ 1/θ.

You are required to perform the following analyses:

1. Derive the posterior density function π(θ|X = x). Check that this density function is proper. State the expression of the posterior mean and the posterior variance. Justify your answers (you are not required to derive the mean and variance from first principles).

2. Let P100

i=1 xi = 20. Plot the posterior density π(θ|X = x). Calculate the value of the posterior mean and the posterior variance. Using R, or otherwise, calculate an equi-tailed 95% credible interval for (θ|X = x).

3. Use simulation in R to compute the predictive distribution of a future observation X101 given the observations X1 = x1, . . . , X100 = x100, when P100 i=1 xi = 20. Plot the predictive density (e.g., use a histogram representation).

4. Use simulation in R to calculate a lower 95% predictive credible interval for X101 given

X1 = x1, . . . , X100 = x100 when P100 i=1 xi = 20.

Your findings should be presented in the form of a report for your line manager, who is also part of the statistical modeling team but has not worked directly on this problem. Your report should:

• have a clear and logical structure; include an introduction and clearly stated conclusions that can be understood by any numerate scientist;

• include detail of your mathematical calculations so that your results could be reproduced by another statistician;

• include clearly labeled and correctly referenced tables and diagrams, as appropriate;

• include the R code you used in an appendix (you do not need to explain individual R commands but some comments should be included to indicate the purpose of each section of code). Do not include figures, references, or mathematical developments in your appendix, only R code with comments. The R code should be included in text format that can be copied into R (not presented as an image file).

• include a citation and reference for any material (books, papers, websites, etc) used. When possible, use reliable sources, produced by respected and well-known authors, published by recognized publishers, and associated with the well-established government, academic, or educational institutions. Note that some web pages, YouTube videos, blog posts, and Wikipedia pages might include errors.

• Your report should be produced using a word-processing program, such as Microsoft Word, or LaTeX, and uploaded as a single file in PDF format. All equations should be produced digitally (typeset) by using an equation editor (we recommend avoiding scanned or handwritten equations). You may use the Microsoft Word template provided, but this is not compulsory.

• maximum page limit of four (4) pages (2 double-sided sheets of paper, 11-point font, A4 size). The R code in the appendix does not count toward this page limit. Only the R code should be presented in the appendix, there should be no other material in the appendix.

• Please complete the Standard Declaration of Student Authorship form and attach a copy of the completed form at the end of your report (you should submit a single file with this form attached at the end, after the appendix). This form does not count toward the page limit.

### Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.

## Get Help By Expert

Looking for reliable **homework help** for your F79MA statistical model assignment? Look no further than assignmenthelper.my! Our experienced **Malaysian assignment helpers** are experts in all areas of statistics, and can help you with everything from data collection, analysis, interpretation, and presentation. We also provide assistance in other subjects, including **Fundamentals Of Computer Problem Solving Assignment**. Contact us now to get started!

## Recent Solved Questions

- English Coursework, UOM, Malaysia How would you spend your last day if you knew you had only one more day to live? Life is so unpredictable and at times
- BAC305: Define an associate and Explain how to account for associates in the separate financial statements of the investor: Company Accounting Reporting Assignment, WOU, Malaysia
- BBSB4103: Cross Cultural Management Assignment, OUM, Malaysia The ideological power of the jury system should not be underestimated. It represents the ordinary person’s
- Managing Organizational Health Essay, UWS, Malaysia At first sight, the concept of measuring and managing business performance is straightforward not necessarily easy
- SKAA4313: Advanced Reinforced Concrete Design Assignment, UTM, Malaysia: A footbridge is required to provide communication between residential areas on either side of a dual carriageway road
- CDCT 2203 Information Technology and Environment Assignment, OUM, Describe the environmental factors that influence a business organization in Malaysia
- BBUS2103: The purpose of this assignment is to enhance learners’ ability to discuss the principles related to members of a company: Company Law, Assignment, OUM, Malaysia
- SKMM2413: Thermodynamics Assignment, UMT, Malaysia Choose a value for the polytropic exponent between 1.2-1.6. Using Microsoft Excel, construct the process
- Health Insurance Report, BCU, Malaysia Perform a SWOT Analysis of the visit Health Insurance Company. Discuss the importance of Health Insurance
- BBF305/03: Investment and Portfolio Management Assignment, WOU, Malaysia Merry Karthik is a bank executive who has just inherited a large sum of money Having spent several years in the bank’s investments department