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

Reactive Powder Concrete

This was my topic for paper presentation ever since S3 and is tied to an array of memories. It all started in first year when a senior told me about presentations and how he had used that money to purchase an ipod. It wasnt the prospect of getting an ipod but the fact that platforms were open to display of talent that made me think seriously about this. And the perfect venue was open at Aavishkar, a tech fest conducted by CET when i was in S3. Me and my classmate Vivek formed a partnership and performed, we came out with 1st. Must admit the fact that both of us did considerable good work in presenting that paper. This was followed by a series of other fests in which i got 1st for the paper. It truly was a lucky paper. But some time recently it seems that its run outta luck. Well, basically i believe its because of my mindset. I must admit the fact that im tired of presenting the same thing over and over again. So at this juncture as i refrain from presenting this topic any further, I ...