Theory Questions
What is the difference between statistics and machine learning?
What is the mean and how is it calculated in Python?
What is the purpose of the standard deviation?
How can you generate random numbers from a normal distribution in Python?
Explain the concept of correlation coefficient.
What is a covariance matrix in statistics?
How do you calculate the determinant of a matrix in Python?
What is eigenvalue and eigenvector decomposition?
Explain the concept of Singular Value Decomposition (SVD).
What is the purpose of the Principal Component Analysis (PCA) algorithm?
Statistics and Linear Algebra PPT
Programming Questions
How can you calculate the mean of a list of numbers using Python?
Calculate the standard deviation of a list of numbers using Python.
Generate 10 random numbers from a normal distribution with mean 0 and standard deviation 1.
Calculate the correlation coefficient between two lists of numbers using Python.
Calculate the covariance matrix between two lists of numbers using Python
Create a 3×3 identity matrix using numpy.
Perform matrix multiplication of two matrices using numpy.
Calculate the determinant of a matrix using numpy.
Find the eigenvalues and eigenvectors of a matrix using numpy.
Calculate the inverse of a matrix using numpy.
Output Questions
Calculate the mean of the given data: [18, 22, 16, 20, 24]
.
Find the median of the dataset: [12, 15, 18, 21, 24]
.
Calculate the standard deviation of the dataset: [8, 12, 15, 20, 25]
.
Generate a random sample of 5 numbers from a normal distribution with mean 10 and standard deviation 2.
Calculate the correlation coefficient between two lists: [1, 2, 3, 4, 5]
and [5, 4, 3, 2, 1]
.
Multiply the matrices A and B:
A = [[2, 3], [1, 4]]
B = [[5, 1], [2, 3]]
Calculate the determinant of the matrix:
Matrix = [[3, -1], [4, 2]]
Find the eigenvalues of the matrix:
Matrix = [[6, 2], [3, 5]]
Solve the system of linear equations:
2x + 3y = 8
4x + 2y = 10
Calculate the inverse of the matrix
Matrix = [[4, 7], [2, 6]]