代写数学作业 MATH 7241代写 数学作业代写 数学课业代写
476MATH 7241 代写数学作业 Problem Set #3 Reading: relevant background material for these problems can be found in the class notes, and in Rosenthal Chapter 3. Problem Set #3 代写数学作业 ...
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 3rd 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代写 论文代写 写手招聘 英国留学生代写
MATH 7241 代写数学作业 Problem Set #3 Reading: relevant background material for these problems can be found in the class notes, and in Rosenthal Chapter 3. Problem Set #3 代写数学作业 ...
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 detailsDiscrete Mathematics and Graph Theory 离散数学与图论代写 Practice Class 4 1. Give recursive definitions of the following sequences. (a) The sequence of powers of 2: 20 = 1, and for n ≥ 1, _ ...
View detailsMth 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 details