计算数论作业代写 Mth 440/540代写 数学作业代写 数学代写
148Mth 440/540 Homework 计算数论作业代写 (1) Part I a.) Use Mathematica to determine the 100th prime, the 1000th prime, and the 10,000th prime. b.) Use Mathematica to determine the prime (1) ...
View detailsSearch the whole station
应用数学计算代写 Read these instructions carefully!!! This project involves predicting what happens to a mortgage loans that have been purchased by FNMA during the
This project involves predicting what happens to a mortgage loans that have been purchased by FNMA during the 3^{rd} quarter of 2001.
The data has 30 predictor variables described in the file PredictorsDescription.csv”. All 30 of these variables are known to FNMA when the loans were acquired. Recently obtained performance information about all of the loans has become available relatively recently (in around 2021). Some of the loans performed as lender would expect: monthly payments made on time up until performance data stopped being collected. Other loans were problematic in that the holder of the mortgage may have foreclosed (payments stopped, home was taken by the lender, etc..) In many instances, the holder of the mortgage sold the home and paid the outstanding balance owed before the mortgage term (15 years, 30 years, etc..)
Every loan has a 12 digit loan id LID.
FORCLOSED – a Boolean variable that indicates whether or not foreclosure took place
NMONTHS – a variable giving the number of months that the mortgage remained on the books by the lender
A large data set has been randomly split into
TrainingData.csv – this one has all 30 predictors, a loan ID (LID), and the two performance variables (FORCLOSED, NMONTHS ) for 588,490 loans.
TestDataYremoved.csv – this one has only the 30 predictors and loan ID (LID) for a different set of loans (196,164 of them).
Your task is to use the 31 predictors to make predictions about performance for the loans in the test set.
1) Predict whether the loan will foreclose or not by supplying a Boolean value (True for foreclosure, False for non-foreclosure)
2) Predict the accuracy of your predictions in 1)
3) Predict NMONTHS – this should be a number but needn’t be an integer
4) Predict the accuracy of your predictions in 3).
o Uploading jupyter notebooks you used to do your calculations
o Answering 3 questions in a Blackboard final submission assessment (see Three Questions link)
o the true positive rate (TPR) for your predictions in 1) – see definitions below
o and the false positive rate (FPR) for your predictions in 1) – see definitions below
o the MAD (mean absolute deviation) between predicted and true values of NMONTHS i.e. the average of the absolute difference between your predicted value of NMONTHS and the true value of NMONTHS, averaged over all loans in the test dataset.
For foreclosure prediction (since I know the true status of each loan) I can fill a 2×2 table with counts of where each loan falls in the following table based on its true and predicted foreclosure status:
So once you submit your predictions the four numbers in the table should add up to 196,164. I can then calculate the quantities
TPR=TP/(TP+FN)
FPR=FP/(FP+TN)
and you should be striving to make TPR high and FPR low.
更多代写：CS美国代考推荐 雅思作弊被抓 英国统计代上网课 英文期刊论文代写 北美留学生sci论文代写 怎么写reflection
合作平台：essay代写 论文代写 写手招聘 英国留学生代写
Mth 440/540 Homework 计算数论作业代写 (1) Part I a.) Use Mathematica to determine the 100th prime, the 1000th prime, and the 10,000th prime. b.) Use Mathematica to determine the prime (1) ...
View detailsHomework 3 数学统计作业代写 Instructions: Solve the problems in the spaces provided and save as a single PDF. Then upload the PDF to Canvas Assignments by the due date. Instructions: Solve t...
View detailsMATH5806 Applied Regression Analysis Mid-session Test 应用回归分析作业代写 Note: • This assessment is due Thursday 30th June (Week 5), 2:30pm and must be uploaded to Moodle. You have 1.5 ho...
View detailsMT4514 Graph Theory Assignment 1 图论代写 This assignment forms 5% of the assessment for this module. The assignment will be marked out of 20 marks. Please answer all questions, This assi...
View details