Enable contrast version

Tutor profile: Debkrishna M.

Inactive
Debkrishna M.
Statistician & Statistical Programmer
Tutor Satisfaction Guarantee

Questions

Subject:R Programming

TutorMe
Question:

Explain the difference Between Matrix and Dataframe in R.

Inactive
Debkrishna M.

Both are tabulated structures ie. Row vs Column structure. But the fundamental difference is that matrix can contain only similar types of data (e.g. numeric ) and Dataframe can contain many types of data simultaneously. Which means in one Dataframe, we can get numeric, integer, character, etc. For mathematical operations like matrix multiplication, inverse, etc we use matrix. For Data related operations like storing, manipulating, accessing or joining we will be using Dataframe.

Subject:Python Programming

TutorMe
Question:

A = np.array ( [ [ [ 3, 4, 5 ] ] ] ) B = np.array ( [ 5 ] ) C = A + B What will be the value of C ? Explain.

Inactive
Debkrishna M.

In any type of mathematical operation between numpy arrays, if the shape of any participating array is not sufficient then the Broadcasting rule applies. Rule 1: The compiler will add one extra rank to the array with a smaller rank until both participating rank matches. Compiler will make B as np.array( [ [ [ 5 ] ] ] ) now A and B has same rank. Rule 2; Now the element of smaller no of dimension of will be repeated untill no of element in that particular dimension mathes with another participating array. Compiler will make B as np.array( [ [ [ 5, 5, 5 ] ] ]) Now , C will be np.array ( [ [ [ 8, 9 , 10 ] ] ] )

Subject:Statistics

TutorMe
Question:

In the context of Regression theory, explain the difference between Outlier, leverage, and Influential Point.

Inactive
Debkrishna M.

Lets for simple linear regression, Y- Dependent Variable X- Independent variable Regression Equation Y = a + bX + e ; e - error term Extreme Value of Y - Outlier point Extreme Value of X - Leverage point. Now if a point significantly changes a regression line that is called an Influential point. That is inclusion or exclusion of that point hugely changes the regression line. Now, an outlier point may or may not be an influential point. Similarly, a leverage point may or may not be an influential point. A Point will be an influential point or not depends on the location of the point on the regression plane.

Contact tutor

Send a message explaining your
needs and Debkrishna will reply soon.
Contact Debkrishna

Start Lesson

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.
BEST IN CLASS SINCE 2015
TutorMe homepage