tag:blogger.com,1999:blog-7958828565254404797.post3526590583798057961..comments2021-01-25T01:07:57.848-08:00Comments on ListenData: Linear Regression in RDeepanshu Bhallahttp://www.blogger.com/profile/09802839558125192674noreply@blogger.comBlogger62125tag:blogger.com,1999:blog-7958828565254404797.post-44914954984509759982020-04-22T09:03:35.509-07:002020-04-22T09:03:35.509-07:00I am getting this error
> lm.beta(stepBIC)
Erro...I am getting this error<br />> lm.beta(stepBIC)<br />Error in var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) : <br /> Calling var(x) on a factor x is defunct.<br /> Use something like 'all(duplicated(x)[-1L])' to test for a constant vector.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-4646949700956614772019-07-23T00:55:51.225-07:002019-07-23T00:55:51.225-07:00good to understandgood to understandGayathrihttps://www.blogger.com/profile/03737286071782025159noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-5297068081847351062019-04-03T19:58:35.201-07:002019-04-03T19:58:35.201-07:00Even I'm getting the same error.
could you ple...Even I'm getting the same error.<br />could you please tell me how it is resolved<br />Jyothi Reddyhttps://www.blogger.com/profile/03258337125799441946noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-60096934000944163132018-12-05T21:50:57.752-08:002018-12-05T21:50:57.752-08:00Hi
Thank you for your reply.
I already installed...Hi<br />Thank you for your reply. <br /><br />I already installed caret package and tried. <br /><br />Still getting same issue. <br /><br />Please helpAnonymoushttps://www.blogger.com/profile/17173403676393108010noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-8293937761385760792018-11-14T19:31:56.408-08:002018-11-14T19:31:56.408-08:00Error in findCorrelation(descrCor, cutoff = 0.7) :...Error in findCorrelation(descrCor, cutoff = 0.7) : <br />could not find function "findCorrelation"<br /><br />I installed all packages correctly <br />please help Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-73935399053510473702018-11-14T19:06:42.486-08:002018-11-14T19:06:42.486-08:00Error in findCorrelation(descrCor, cutoff = 0.7) :...Error in findCorrelation(descrCor, cutoff = 0.7) : <br />could not find function "findCorrelation"<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-48580757116733780812018-11-11T05:11:42.560-08:002018-11-11T05:11:42.560-08:00You can try experimenting in including them and ch...You can try experimenting in including them and check collinearity again.Deepanshu Bhallahttps://www.blogger.com/profile/09802839558125192674noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-16742490423409803742018-11-11T05:04:21.461-08:002018-11-11T05:04:21.461-08:00You need to install and load package named "c...You need to install and load package named "caret" before using findCorrelation function.Deepanshu Bhallahttps://www.blogger.com/profile/09802839558125192674noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-74172658525428083952018-11-11T03:00:08.089-08:002018-11-11T03:00:08.089-08:00Hi just want to know during linear regression func...Hi just want to know during linear regression function you have deleted three features based on collinearity, but after doing forward and backward steps to find out useful features you did not include any of the removed 3 features may I know why?Anonymoushttps://www.blogger.com/profile/09797778057512727642noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-88995424462879582882018-10-31T00:17:23.617-07:002018-10-31T00:17:23.617-07:00Hi, Deepanshu
First of all thanks for providing th...Hi, Deepanshu<br />First of all thanks for providing this wonderful insight on "Linear Regression".<br />I couldn't ask for better. I have a few questions (may be I am dumb). Hope you answer<br />when i execute the command <br /><br />highlyCorrelated=findCorrelation(descrCor,cutoff=0.7)<br /><br />its trowing error. <br /><br />Error in findCorrelation(descrCor, cutoff = 0.7) : <br /> could not find function "findCorrelation"<br /><br />Please helpAnonymoushttps://www.blogger.com/profile/17173403676393108010noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-66801376233053901012018-09-04T05:22:40.761-07:002018-09-04T05:22:40.761-07:00Wonderful! Explanation!!Wonderful! Explanation!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-62283051134218332242018-08-07T02:35:31.201-07:002018-08-07T02:35:31.201-07:00Hi can you please post for Linear Regression in SA...Hi can you please post for Linear Regression in SAS, only for programming in SAS.<br />Thanks for the theory part its very clear. Anonymoushttps://www.blogger.com/profile/02786073210798349673noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-64880983624911382922018-07-17T23:41:04.013-07:002018-07-17T23:41:04.013-07:00Hi.
Thank you for the great tutorial.
I have two ...Hi.<br /><br />Thank you for the great tutorial.<br />I have two questions regarding the correlated variables:<br />1. Why did we drop all three highly correlated variables ("hp" "disp" "wt" )? Should we keep one of them?<br />2. Shouldn't we use absolute value cutoff for determine highly correlated variables? <br />bmonasthttps://www.blogger.com/profile/10750039901850302830noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-13961434214050518552018-06-28T02:25:48.323-07:002018-06-28T02:25:48.323-07:00Hi,
Right now I am on learning phase.I am having ...Hi,<br /><br />Right now I am on learning phase.I am having a question on why we are keeping cutoff ratio as 0.7?<br /><br />Is there any limits? Help me to understand on thisAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-84104848477205092922018-06-02T07:38:38.843-07:002018-06-02T07:38:38.843-07:00I have not made any changes to the data. It's ...I have not made any changes to the data. It's hard to say without looking your data. What's more important is that you understand the concepts and implementation in R.Deepanshu Bhallahttps://www.blogger.com/profile/09802839558125192674noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-991251163586883342018-05-21T03:58:57.346-07:002018-05-21T03:58:57.346-07:00Have you made any changes to the data? because i a...Have you made any changes to the data? because i am getting these variables "cyl" "disp" "hp" "wt" "vs" "drat" as highly correlated at cutoff=0.7. If not, can you please tell me the reason why i am getting a different result?Anonymoushttps://www.blogger.com/profile/15194349750139932964noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-43574687531575337732018-04-30T10:50:10.109-07:002018-04-30T10:50:10.109-07:00This is easy to understand and more powerful. The ...This is easy to understand and more powerful. The statistics concepts are totally new for me because I don't have maths & stat background even though I can understand this concepts easily with the help of this blog.<br /><br />Good to learn....Thank you Anonymoushttps://www.blogger.com/profile/13778440599680426575noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-71818777082574873852018-04-30T04:50:44.475-07:002018-04-30T04:50:44.475-07:00Awesome blog. Keep up your good work. By the way I...Awesome blog. Keep up your good work. By the way I need some clarity on<br />1.Is there no other way than eliminating multicollinear variables? <br />2. Why don't we find their combined effect on dependent variable?<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-36780197994452762012018-04-20T05:04:18.716-07:002018-04-20T05:04:18.716-07:00wonderful sir...may you help me on the commands to...wonderful sir...may you help me on the commands to transform data into long format I am very new to R programming. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-39044547792278575132018-03-01T22:52:31.273-08:002018-03-01T22:52:31.273-08:00This is the best blog among all the ds blogs, Than...This is the best blog among all the ds blogs, Thanks for very fruitful information :) <br /><br />I'm a newbie to data science, is this the standard procedure data scientists follow to solve the regression problem?<br /><br />can i replicate the same method to all the problems and provide the inferences to clients.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-46060155088653620142018-03-01T03:26:25.416-08:002018-03-01T03:26:25.416-08:00I am start DS,
Very helpful tutorial. Thanks !!
I am start DS, <br />Very helpful tutorial. Thanks !!<br />SShttps://www.blogger.com/profile/04298991026506798713noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-9353379687740543122018-02-27T00:00:37.010-08:002018-02-27T00:00:37.010-08:00It is because mpg is a dependent variable. In orde...It is because mpg is a dependent variable. In order to check multicollinearity which is high correlation between independent variables (not dependent variable). I think you got confused between dependent and independent variables. Deepanshu Bhallahttps://www.blogger.com/profile/09802839558125192674noreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-17711228566676212162018-02-26T22:42:00.491-08:002018-02-26T22:42:00.491-08:00First of all thanks for providing this wonderful i...First of all thanks for providing this wonderful insight on "Linear Regression". I couldn't ask for better. I have a few questions (may be I am dumb). Hope you answer those :<br />In the beginning may I know why did you not consider MPG (according to the comments we infer that it is a highly dependent variable and so we are dropping that. But, how did we come to conclusion that it is a highly dependent variable? And again why are we considering it in building the LM model? Thanks in advance<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-89984448740015325812018-01-15T09:24:23.271-08:002018-01-15T09:24:23.271-08:00Very helpful tutorial. Thanks !!
Is there any good...Very helpful tutorial. Thanks !!<br />Is there any good dataset for practicing Linear Regression in R other than mtcars? I tried some datasets online but I found data is not good. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7958828565254404797.post-24986553273564010172017-11-07T09:28:05.912-08:002017-11-07T09:28:05.912-08:00good efforts good efforts Anonymoushttps://www.blogger.com/profile/16673890121417512456noreply@blogger.com