1 00:00:00,780 --> 00:00:08,130 In this video, we are going to run a simple linear regression, that is we will use only one predictor 2 00:00:08,130 --> 00:00:12,610 variable to predict the value of price, the predictor variable. 3 00:00:12,630 --> 00:00:19,650 We are going to use is room number, that is number of rooms in the house and using the value of room 4 00:00:19,650 --> 00:00:19,860 number. 5 00:00:20,220 --> 00:00:24,570 We will try to establish a relationship between room number and price. 6 00:00:26,250 --> 00:00:30,100 We did this earlier also where we created this trend line. 7 00:00:30,120 --> 00:00:33,920 And so the equation and the R-squared against this trend line. 8 00:00:35,610 --> 00:00:39,960 Now we will run the proper regression analysis and see its results. 9 00:00:41,610 --> 00:00:46,080 So we will go to data analysis options here. 10 00:00:46,270 --> 00:00:49,500 We will select the regression option and click on talk. 11 00:00:51,790 --> 00:01:00,270 The input lighting is the response variable, which is in the column to select this whole column. 12 00:01:03,430 --> 00:01:08,020 The input X range is our room number column. 13 00:01:14,260 --> 00:01:19,450 Our data has labeled that as the first rule of the column contains the variable name. 14 00:01:21,690 --> 00:01:24,940 Next option is where we want our output. 15 00:01:25,110 --> 00:01:26,970 We want an output and a new sheet. 16 00:01:29,300 --> 00:01:32,690 And we do not need to look at these attitudes for not. 17 00:01:34,710 --> 00:01:36,080 So we'll just click on OK? 18 00:01:38,980 --> 00:01:47,530 And we get the result of linear regression between these two variables and this new shit, you can see 19 00:01:47,530 --> 00:01:51,110 that the Oscar value is coming out two point forty for it. 20 00:01:51,370 --> 00:01:52,600 This is the same as. 21 00:01:53,740 --> 00:01:56,170 The one we got when we plotted this train line. 22 00:01:59,550 --> 00:02:08,530 The values is in this column, so this is Bedazzle against InterCivic, and this particular cell is 23 00:02:08,530 --> 00:02:13,340 containing beta one value, which is the coalition of room no evil. 24 00:02:14,380 --> 00:02:20,580 So a value of nine point zero nine is telling us that if I increase the room number, they will buy 25 00:02:20,590 --> 00:02:26,170 one unit, it will increase the house price by nine point zero nine units. 26 00:02:27,220 --> 00:02:36,040 So using these to be the values we can estimate, the equation between Price and Ruman will understand 27 00:02:36,040 --> 00:02:40,360 the meanings of all these other parameters in the coming reduce.