Question: In python code: write function and explanation code; 1. Calculate the Pearson correlation between the loan_amount and the num_lenders_total or between time_to_raise and the loan_amount
In python code: write function and explanation code;
1. Calculate the Pearson correlation between the loan_amount and the num_lenders_total or between time_to_raise and the loan_amount or between num_lenders_total and time_to_raise. If you divide up the class you can compare values to see which pair has the strongest correlation.
2. Calculate the standard deviation of the loan_amount variable and store the variance in loan_var and the standard deviation in loan_stdev.
3. What is the arithmetic mean of the time/dollar it takes to fund a loan? The arithmetic mean is the average of the individual time/dollar calculations, not the average of the sum of time divided by the sum of dollar amounts. Store your result in the variable a_mean
4. Compute the total number of loans made to the Philippines and store it in a variable philippines_count
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
