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

Su | Do | Ku

Its actually interesting and something that evokes the thought process. Though we have access to these puzzles in many ways, ie, via net, mob application, etc, I would prefer to have mine right from the back of the hindu newspaper along with its difficulty rating. Anything beyond a star rating of four implies ' do not attempt' for me. First and foremost because of the fact that the usual weekend mornings are not blessed with long hours of relaxation and enjoyment, and secondly because my patience gets exhausted at the mere thought of not finishing it, for what irks me most is the process of spending a lot of time and energy without obtaining any result. Thank God, it has never happened to me before (because I've never taken that pain of spending a lot of time and energy :P). Anyway emerging from drifting thoughts, let me focus on my mainstream topic now. It consists of 81 small boxes divided into 9 major boxes each containing 9 each[ 9*9=81, makes sence, na? :), in...

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 ...