Data Mining in Python programming

Posted: January 20th, 2023

A. Write a Python program that computes the factorial of an integer X (the program should ask the user to enter the value of X)
 
 
B. Write a Python program to compute the CORRELATION according to the following Pearson equation:
 

Hint: define a function called cor using the def key word that takes two inputs and return the correlation as an output.
 
Then create two vectors X and Y (Lists) of 10 numbers each and calculate the correlation between them using the function cor you defined.
 
 
 
 
For more details about the correlation, see the following link:
https://www.statisticshowto.datasciencecentral.com/probability-and-statistics/correlation-coefficient-formula/

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 3234125597

Feel free to ask questions, clarifications, or discounts available when placing an order.