Statistics with R (1) - Linear regression

  Рет қаралды 438,282

Christoph Scherber

Christoph Scherber

Күн бұрын

Пікірлер: 156
@badmusidowu379
@badmusidowu379 3 жыл бұрын
There are many great researchers and their works on line. Their researches have been helpful. kudos to everyone.
@horizon2reach561
@horizon2reach561 7 жыл бұрын
You cannot even believe how great your tutorial is, fantastic and thanks a million!
@michaelconnors7668
@michaelconnors7668 5 жыл бұрын
Thank you. I had no success learning R and have tried for months. I stumbled on to your video and I learn to run names after I load a data set. How simple. Now I am off and running.
@calledun2glory
@calledun2glory 5 жыл бұрын
I am transitioning from Stata to R and this video has been very helpful. Thank you
@godfreyphilliamapangu3129
@godfreyphilliamapangu3129 6 жыл бұрын
Thank you so much Christoph. You have addressed a real problem for me in R. I will continue to follow your videos for more insights
@vanialed3882
@vanialed3882 8 жыл бұрын
THANK YOU!!!!!!!!!!!!!!!!!!!! This is incredibly helpful!!! I was ready to fail statistics and honestly this has given me hope and I can save the semester! To me statistics is just sooo difficult to understand, but this was of great help! Thank you! :)
@ChristophScherber
@ChristophScherber 8 жыл бұрын
+Vania Led you´re welcome!
@madanlalgupta3026
@madanlalgupta3026 6 жыл бұрын
Vania Led [.
@Loachie90
@Loachie90 6 жыл бұрын
Vania Led how’d that semester turn out?
@JoeDoesVoices
@JoeDoesVoices 6 жыл бұрын
Brilliant, thanks! I’m switching to R from a few years of heavy point-and-click SPSS use and had been feeling slightly intimidated, but your videos are helping me right along.
@rjfabreu
@rjfabreu 4 жыл бұрын
Simple! Very good for people like me (1º stepts on R). Thank you Christoph!
@ProfNandishPatelPhD
@ProfNandishPatelPhD 8 жыл бұрын
Thank you Christoph! Excellent introduction to R. Simiplicity is most effective for learning. :)
@spikyboxable
@spikyboxable 11 жыл бұрын
The most easy to follow but enough to understand the model. Thank you so much.
@sn9751
@sn9751 2 жыл бұрын
Thank you very much for this explanation, You are brilliant and very good mentor
@Albo-bot
@Albo-bot 3 жыл бұрын
An excellent lesson thank you Christoph
@Liurika
@Liurika 8 жыл бұрын
This is great!! Now I have a much better idea of what I'm doing in R. Thank you very much!!
@ChristophScherber
@ChristophScherber 8 жыл бұрын
Thanks also! It´s great to see so many people becoming interested in R.
@percydai8131
@percydai8131 6 жыл бұрын
Very easy to follow instructional video!
@msheen99
@msheen99 11 жыл бұрын
The lesson was very simple and informative!.Thanks a lot Chris
@padula77
@padula77 6 жыл бұрын
Tks Sir! Very well explained. I have a Bsc in statistics but I need to get hands on R.
@29160bubu
@29160bubu 8 жыл бұрын
Many thanks Mr Scherber.
@zezeandjr4110
@zezeandjr4110 8 жыл бұрын
Very insightful, smart yet easy to follow, I can immediately see how I can use that in my line of work, I just need to broaden my knowledge of the language first. Many Thanks
@sahadulislam2380
@sahadulislam2380 8 жыл бұрын
Bangladesh moduli
@carolinekundu8215
@carolinekundu8215 7 жыл бұрын
Wow, thank a million tonnes, been trying to split my head on this R analysis
@silbercharles
@silbercharles 8 жыл бұрын
Very very helpful in explaining linear regression. Thank you.
@hanishadesu3165
@hanishadesu3165 6 жыл бұрын
you are really awesome.... so clearly explained everything.......thankyou so much
@norhasyimahseliman6856
@norhasyimahseliman6856 7 жыл бұрын
TQ so much. Easy to understand.
@shalinibhawal781
@shalinibhawal781 6 жыл бұрын
Thank you!! Found it very helpful.. Being able to pause and try commands helped my learning..
@rajeevsuresh9542
@rajeevsuresh9542 3 жыл бұрын
Awesome job man! This is good stuff, thank you for this!!
@KnorpelDelux
@KnorpelDelux 6 жыл бұрын
Super Video, vielen Dank aus Bayern!
@ChristophScherber
@ChristophScherber 5 жыл бұрын
gerne!
@dominiquebarrette9621
@dominiquebarrette9621 7 жыл бұрын
Truly informative, thank you, you explain so well
@mengshayin2201
@mengshayin2201 3 жыл бұрын
thank you Christoph so much
@ChristophScherber
@ChristophScherber 11 жыл бұрын
Thanks! Great that you liked it. Let me know what else you´d like to hear!
@AcrylDame
@AcrylDame 5 жыл бұрын
This was really a great explanation. Thank you! Subscribed
@Testqqqqqqq
@Testqqqqqqq 8 жыл бұрын
Easy and good starting point on R
@pablofreudenthal
@pablofreudenthal 9 жыл бұрын
GREAT video! It's being a great help in my research
@creamcrackers279
@creamcrackers279 10 жыл бұрын
Thank you so much. I like the way u took ur time to explain things slowly. Thank u once again
@jibreelahmad1682
@jibreelahmad1682 6 жыл бұрын
woow! what an incredible tutorial. This the best, I really appreciate your work Christoph :-)
@ChristophScherber
@ChristophScherber 5 жыл бұрын
many thanks!
@jill6380
@jill6380 6 жыл бұрын
THANK YOU! You made it so easy! Now, please teach my professor how to teach.
@ChristophScherber
@ChristophScherber 5 жыл бұрын
thanks! well, I had a great teacher, too - so maybe that´s the trick...? Best wishes, Christoph
@elliotsalsa3561
@elliotsalsa3561 2 жыл бұрын
Thanks, A great Teacher
@Drzhivago11
@Drzhivago11 7 жыл бұрын
Very nice! Good job..
@ericjohnson1811
@ericjohnson1811 8 жыл бұрын
Excellent example. Thank you for posting!
@charlesaydin2966
@charlesaydin2966 10 жыл бұрын
Vielen Dank, sehr sehr nuetzlich!
@adancastro2220
@adancastro2220 3 жыл бұрын
great explanation... Thanks
@sanjayjoshi4531
@sanjayjoshi4531 6 жыл бұрын
too good.searching for a similar video on non parametric methods for testing of hypothesis and also FOR SPRT
@rebeccaliu2049
@rebeccaliu2049 6 жыл бұрын
Thanks a lot, this is really easy to follow.
@eirikur09
@eirikur09 10 жыл бұрын
This was awsome, cant wait to see your next video
@ergosumdre
@ergosumdre 3 жыл бұрын
Great content.
@oleksandrsholin329
@oleksandrsholin329 6 жыл бұрын
Thank you very much, everything works pretty well, now I understand at least some stuff in R.
@KristinaPetersenKarlsson
@KristinaPetersenKarlsson 5 жыл бұрын
I totally agree with AcrylDame! Thanks!
@Goddebates
@Goddebates 9 жыл бұрын
Best video on this topic
@SeedGeorge
@SeedGeorge 9 жыл бұрын
great video, thanks
@carlosbrown4202
@carlosbrown4202 4 жыл бұрын
Could you explain how to get the method of moments estimator for the compound poisson process?
@henriquevonhertwigbittenco6057
@henriquevonhertwigbittenco6057 8 жыл бұрын
Thank you Christoph... I just had my first R class!
@francescopaderi3356
@francescopaderi3356 4 жыл бұрын
Henrique von Hertwig Bittencourt f.w’w’w’w Ww
@francescopaderi3356
@francescopaderi3356 4 жыл бұрын
P’
@francescopaderi3356
@francescopaderi3356 4 жыл бұрын
Henrique von Hertwig Bittencourt th
@francescopaderi3356
@francescopaderi3356 4 жыл бұрын
,le.s’e’slslls
@8dholland
@8dholland 5 жыл бұрын
Really good tutorial. I usually don't say this either
@AmonMwaijengoForester86Mwai
@AmonMwaijengoForester86Mwai 9 жыл бұрын
hello, how do we deal with diversity indices in R??. Thanks.
@RajvimalCrystal
@RajvimalCrystal 8 жыл бұрын
perfect for beginners.. i appreciate your work
@helmutdittrich3420
@helmutdittrich3420 8 жыл бұрын
Awesome, thank's a lot. Very helpful
@gbaremz3633
@gbaremz3633 8 жыл бұрын
thank you..you have really been of great help to me
@johnkeen4426
@johnkeen4426 10 жыл бұрын
Thanks so much for posting this!
@RyanBenkeser
@RyanBenkeser 9 жыл бұрын
Great video. It looks like Stata is very transferable to R.
@ditke71
@ditke71 10 жыл бұрын
Very nice prezentation, though for me is not clear how p-value is related to the t value or maybe to the level of significance. The null hipotheses is that the parameter (coefficient is equal to zero). So when do we reject this?
@LinuxBadukNMore
@LinuxBadukNMore 9 жыл бұрын
Great video. I sure hope your thinking of making more.
@adomderkye4743
@adomderkye4743 6 жыл бұрын
In fact, you have explained things well. Could you, please, illustrate how to input data from excel into r.
@ChristophScherber
@ChristophScherber 5 жыл бұрын
thanks, I´ll try to cover this in a future video!
@Jjzein
@Jjzein 9 жыл бұрын
nice interpretation with right execution. Thank You
@flamboyantperson5936
@flamboyantperson5936 6 жыл бұрын
Hello, please come back and make more vidoes on R we really need you Sir.
@manicfre
@manicfre 5 жыл бұрын
Hi, Did you make any video on emmeans? I am trying to calculate p-value and making a vertical bar chart but I am unable to do it. Could you please help me out? Thank you.
@samukelisodlamini798
@samukelisodlamini798 6 жыл бұрын
After writing data which button u press to pops up data set range plz help me???????
@roshanfernando9957
@roshanfernando9957 8 жыл бұрын
Does anyone have any experience with Version 3.3.0? I am having trouble with the "control R" part and calling data...
@robins5458
@robins5458 9 жыл бұрын
Hey Chris, thanks for your video's. I am having a problem... I have R3.1.2 I am attempting to follow you vid and its keeps giving me an error. data().. is good names(airquality) is good but when I go to plot plot(Ozone-Solar.R,data=airquality) I get error... object not found. Error in plot(Ozone - Solar.R, data = airquality) : error in evaluating the argument 'x' in selecting a method for function 'plot': Error: object 'Ozone' not found am I just missing something? thanks Robin
@rybavresu9917
@rybavresu9917 9 жыл бұрын
It seems you are using "-" instead of "~". When I applied your script, the error message was the same. With "~", however, it works perfectly.
@mmabath
@mmabath 8 жыл бұрын
@Christoph Scherber, thank you for video, it is really helpful. quick question, how do i run a regression plot that has labels for two specific points on the plot. in other words, how do i label specific points on the plot?
@ChristophScherber
@ChristophScherber 8 жыл бұрын
You can use the text() function in combination with the locator() function for that
@GrisKatya
@GrisKatya 8 жыл бұрын
Great lesson ....thank you very much
@MrBenFranco
@MrBenFranco 8 жыл бұрын
Tks Mr. Scherber!
@sdgarcia34
@sdgarcia34 5 жыл бұрын
These are all great and very informative videos! Thank you very much for posting them. Still i am straggling a bit, I would like to check the correlation of let say 8000 genes in 10 different patients that I organized from less sick to more sick (let say percentage of neuronal loss). There is any way I can get the correlation of the expression of these genes with the sickness of the patient looking at the r? (ex. 0.99 would be a gene that correlate better with a worse pathology, right?) if so, Can I check all the r for each gene using R?
@delt19
@delt19 6 жыл бұрын
Very helpful tutorial. Any tips on sourcing data directly from an excel spreadsheet(s) to run regressions in R?
@delt19
@delt19 2 жыл бұрын
Wow what a noob question from a younger me.
@sicktoaster
@sicktoaster 6 жыл бұрын
I got the console stuck to the size of the application window. Now when I attempt to load an R file it replaces the console. I can switch back to the console but I can't get it to display them both at the same time. How do I get it back?
@wongibedieudonne3778
@wongibedieudonne3778 6 жыл бұрын
thanks chris
@gabriellejohnson5218
@gabriellejohnson5218 9 жыл бұрын
How can I calculate r of the dataset?
@TSBilliards86
@TSBilliards86 10 жыл бұрын
I can't seem to produce a linear regression graphs with 64bit. I can plot a normal scatterplot, but not the second line.
@ChristophScherber
@ChristophScherber 10 жыл бұрын
This is usually related to the machine you´re working on; what operating system are you using?
@TSBilliards86
@TSBilliards86 10 жыл бұрын
Christoph Scherber I have win 8.1 (64 bit)
@aberaatumo9361
@aberaatumo9361 6 жыл бұрын
thank very match. i have got knowledge
@amaral-obaidi4549
@amaral-obaidi4549 10 жыл бұрын
Thank you very much vielen Dank für Ihr Helfen grüße
@lotto009
@lotto009 10 жыл бұрын
You number ONEEEEEEEEEEEE Thank you
@namangupta5840
@namangupta5840 6 жыл бұрын
hey man why dont you create more videos. you explain very well i am sure that your channel will roll
@ChristophScherber
@ChristophScherber 5 жыл бұрын
I´ll try as soon as possible!
@zubinsarkari5994
@zubinsarkari5994 10 жыл бұрын
please someone tell me what is the sign after the ozone while plotting im not able to plot the graph of Ozone and Solar.R
@ChristophScherber
@ChristophScherber 10 жыл бұрын
When plotting, you usually use the tilde symbol "~". Cheers, Christoph
@zubinsarkari5994
@zubinsarkari5994 10 жыл бұрын
Thank you so much Christoph Scherber. Your explaination regarding the linear model was superb looking forward to see more of your statistical analysis. Cheers!
@charlesrambo7845
@charlesrambo7845 6 жыл бұрын
Thank you!
@ShubhratSharma
@ShubhratSharma 9 жыл бұрын
exceuteing abline(h=mean.Ozone) is giving error Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : cannot coerce type 'closure' to vector of type 'double' what should i do??
@vamshiindla3514
@vamshiindla3514 9 жыл бұрын
Probably mean.Ozone is not calculated as per the video..please check. I was able to perform as per video.
@kerli1551
@kerli1551 5 жыл бұрын
How can you tell that the relationship is not linear from looking at the plot?
@danig7253
@danig7253 8 жыл бұрын
Thank you for this video, so useful. Do you have anything for multivariate multiple regression by any chance?
@ChristophScherber
@ChristophScherber 8 жыл бұрын
+Dani G Thanks, I will put this on my to-do list!
@danig7253
@danig7253 8 жыл бұрын
Fantastic, thank you Christoph. Do you know of any other tutorials or reading materials relating to multivariate multiple regression that might be useful for someone who is new to R by any chance? I'm scrambling around at the moment trying to make some sense of it for my thesis and I am more used to working with SPSS but from my understanding, a MvMR is not possible on SPSS unfortunately!
@ChristophScherber
@ChristophScherber 8 жыл бұрын
There are some great introductions by John Fox (McMaster University); however, the problem in these cases is that you need to decide whether you´d like to look at contrasts on the side of the response matrix Y or the explanatory variables X. Let me know if I can help. Cheers!
@danig7253
@danig7253 8 жыл бұрын
That's great, thanks again Christoph. Due to timelines, I'm thinking I might use canonical correlation (which is possible on SPSS) at this stage (submission of my thesis) and then perhaps try something more sophisticated for later attempts to publish!
@enian82
@enian82 8 жыл бұрын
Why do I get this error "Error in lm(Ozone ~ Solar.R, data = airquality) : unused argument (data = airquality)
@twinklegowani2546
@twinklegowani2546 5 жыл бұрын
Christoph I would like to ask how do I my own data set, instead of using the data set provided by R studio ?
@sunilbobb
@sunilbobb 6 жыл бұрын
Thanks a lot sir
@riteshmehrotra9901
@riteshmehrotra9901 10 жыл бұрын
Nice explanation, one thing wanted to confirm though - did this model showed linear relation between ozone and solar radiation, how can this be confimed?
@ChristophScherber
@ChristophScherber 10 жыл бұрын
Well, you´d usually look at a plot of the residuals vs. the fitted values (the first of the plots appearing when typing "plot(model)"); if you see non-linear patterns in this graph, then you can conclude that your model may contain nonlinear terms.CheersChristoph
@nouraldinhalayqa7646
@nouraldinhalayqa7646 10 жыл бұрын
Christoph Scherber How can we get Tilda symbol
@ChristophScherber
@ChristophScherber 10 жыл бұрын
usually you can find it close to the "plus" sign on your keyboard (depending on your keyboard layout).
@Bubba83
@Bubba83 10 жыл бұрын
Hi. I was wondering about the interpretation of coefficients, from a linear regression model that has iv's that are categorical. In plain language, how would you interpret the output itself? For example, dv = nights in hotel, iv = gender (male/femle), you run a lm(nights~gender) and your output is something along the lines of gendermale coeff = 2. What does this mean? That by being male, your more likely to stay two nights longer in a hotel etc.? Thanks for any unput and nice video.
@ChristophScherber
@ChristophScherber 10 жыл бұрын
Hi Oliver,Depending on whether you have interaction terms present in your model, the coefficients are either differences in intercepts, and/or differences in slopes.All categorical iv´s are internally re-coded as so-called dummy variables (e.g. zeros and ones). In your example:model1=lm(nights~gender)summary(model1)(Intercept) 1gendermale 2This means: A female spends on average 1 night; a male spends 1+2=3 nights. The "gendermale" coefficient is therefore the *difference* between males and females, or the "extra-number-of-nights" spent by a male compared with a female.The same principle applies to more complex models!Cheers,Christoph
@kuldeepkurroliya2555
@kuldeepkurroliya2555 6 жыл бұрын
Sir, Please post the tutorial for user defined function for Simple Linear Regression in R without using any R packages or library.
@niranjanpatil7618
@niranjanpatil7618 10 жыл бұрын
nice video could you please tell me how to predict label using 3 attributes and one attribute is qualitative
@EndiusJN
@EndiusJN 8 жыл бұрын
Thank you so much!
@SagarmathaSipahi
@SagarmathaSipahi 8 жыл бұрын
I am sure this is a great tutorial but in my case when I use the plot command, it keeps on saying object 'Ozone' not found (Please help, if possible): My editor: data(airquality) names(airquality) #Ozone" "Solar.R" "Wind" "Temp" "Month" "Day" plot(Ozone,Solar.R, data=airquality) My R Console > data(airquality) > names(airquality) [1] "Ozone" "Solar.R" "Wind" "Temp" "Month" [6] "Day" > plot(Ozone,Solar.R) Error in plot(Ozone, Solar.R) : object 'Ozone' not found > plot(Ozone,Solar.R, data=airquality) Error in plot(Ozone, Solar.R, data = airquality) : object 'Ozone' not found >
@ChristophScherber
@ChristophScherber 8 жыл бұрын
you need to type plot(Ozone~Solar.R,data=airquality). That is, the tilda "~" was missing
@junruizhang9454
@junruizhang9454 8 жыл бұрын
This video is extremely helpful! Thanks a lot! Can I have anther question for you? Assume I have 3 columns. Id,price and date. I want to run regression model between price and date, but under the condition that they have the same id. In another word, I want to see all the regression result that are grouped by different id. What codes should I put there? Wish you could help me! Thanks a lot!
@ChristophScherber
@ChristophScherber 8 жыл бұрын
this looks like a mixed-effects (hierarchical) model could do the job!
@robins5458
@robins5458 9 жыл бұрын
I got the answer from stack overflow.(Gregor de Cillia) the - is really a ~ thanks
@jwalexandre11
@jwalexandre11 9 жыл бұрын
If using a newer version, ~ works but - is not working
@edwinkairu9882
@edwinkairu9882 7 жыл бұрын
Yeah, I noticed that.
@amirdavidovich2425
@amirdavidovich2425 8 жыл бұрын
awesome! ty
@guramritaujla6930
@guramritaujla6930 8 жыл бұрын
Thanks a ton, ur awesome
@abbas8646
@abbas8646 10 жыл бұрын
Thanks very much indeed
@radiazionecosmicadifondo1122
@radiazionecosmicadifondo1122 8 жыл бұрын
SUPERefficient!!
@AliJwan
@AliJwan 7 жыл бұрын
thank you
Statistics with R (2) - Multiple regression with an interaction term
25:09
Christoph Scherber
Рет қаралды 121 М.
Interpreting Linear Regression Results
16:08
Sergio Garcia, PhD
Рет қаралды 320 М.
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 104 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 32 МЛН
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 4,2 МЛН
Summary total internal reflection
17:17
Perfection in physics - Eng: Ahmed Salah
Рет қаралды 35
Learn Statistical Regression in 40 mins! My best video ever. Legit.
40:25
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 282 М.
Linear Regression in Python - Full Project for Beginners
50:52
Alejandro AO - Software & Ai
Рет қаралды 31 М.
How To Perform Simple Linear Regression In Excel
14:51
Steven Bradburn
Рет қаралды 468 М.
Statistics 101: Linear Regression, The Very Basics 📈
22:56
Brandon Foltz
Рет қаралды 2 МЛН
Statistics 101: Multiple Linear Regression, The Very Basics 📈
20:26
Brandon Foltz
Рет қаралды 1,3 МЛН
Mixed effects models with R
21:55
Christoph Scherber
Рет қаралды 191 М.
Regression Analysis | Full Course
45:17
DATAtab
Рет қаралды 841 М.
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 1,4 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН