Skip to main content

Types of Regression

#Basic #Short #DataAnalytics post #Day2

One of the most important tools in the pocket of an data scientist specialising in Predictive Analytics is Regression. Though we mostly talk about linear and logistic regression, there are several other types of regression one needs to be aware of. First let me try and put linear and logistic regression in simple words.
#Beware this is based on my basic understanding and may have errors at certain points.

Linear Regression:
Involves predicting a variable (dependent) variable using some independent variables. Take this case of y=mx+C where y is the dependent variable and x is the independent variable
or similarly, y=ax1+bx2+cx3 and so on. Thus the value of y can be predicted given the values of x1,
x2, x3, etc. Can be performed in tools like R, using the ln() function.

Logistic Regression
Involves predicting the value of a categorical variable (recall categorical variable covered in the previous post?) using dependent variables. It can take a yes/no value or pass/fail value. For more levels in categorical variable, multinomial logistic regression maybe used. This can be done in R using the gln() function

More regression methods will be covered in future posts.

Comments

Popular posts from this blog

Random thoughts !!

Maybe because of the fact that all my days are truly boring and non eventful, maybe not, i dont know( i am good at coming up with excuses) that i refrain from posting in daily. Life as usual is truly hectic and not easy to describe the complex functionalities of the daily life, which can't be given a vivid description, but i assure you, survival is most difficult and what all things we do to just move is absolutely amzing and stunning, right from pleasing our teachers and doing assignments to the ever perilous task of explaining why your late for class, and coming up with new innovative excuses every morning does constitute a major chunk of our college life. And unlike the old days, when people used to say that college life is the best part ( still hear it a lot), i find it a struggle to merely move on, i mean the only real time we have is used up for finishing off daily chores and mugging for the next day, and you wouldn't believe it, there are teachers who actually punish yo...

The blog post!

To start with, I think I should justify the heading, the title post, well, this is again one of those blog posts I'm putting in after a very very long time in which a lot of wonderful and not so wonderful things have happened in my life. Well thats why its called "The blog post!" One of the books I have been recently reading is Sidin Vadukut's Who let the dork out?. About the book and all, its quite funny and interesting and it was more interesting for me as was written by a malayali. Some words randomly thrown here and there did make some sense to me! The sad part is that well, in between I got lazy and still have around 50 pages towards the climax. This trait of my character that I identified is that I do not like to dive deep into anything. I might find something interesting and trust me, I dont even start with anything if I dont find it very interesting.I get the plot then I leave. Its too difficult to keep my interest pinned onto something. But these days ...

Practicals...!!

As usual, this is a post after a rather long time, owning to the fact that i do not get time to sit, think and type at the same time due to lack of time. Just had my S3 survey practical yesterday and with that done, S3 is all wrapped up(hopefully) though in order to confirm it we have to anxiously await the results which will be arriving shortly. Yes, and yesterday morning, well i was tensed, come to analyse, its pretty interesting. The first time I had to do practicals was back at school, in my 9th standard i believe, where we used to have chemistry and physics practicals, I must admit I was never all that impressed by those, maybe because of the sole reason that all the things we did were pretty inefficient. Anyway I dint have a practical exam back then, so we used to consider lab hours as free hours, nd have a gala time. But slowly as we entered the 11th standard, we realised the reality, that we had to give an exam at the end of 12th. I was least bothered initially, but slowly rea...