馃攳
Multiple Regression in Excel - P-Value; R-Square; Beta Weight; ANOVA table (Part 1 of 3) - YouTube
Channel: unknown
[0]
In this video we'll take a look at how
to run a multiple regression analysis in
[5]
Microsoft Excel. Now in this example,
notice that we have four variables:
[10]
college GPA, and that's the GPA after the
first year in college, and then we have
[16]
SAT score, which was taken in high school,
and we have social support, and this was
[21]
a measure of how supported people feel,
to what degree they can turn to
[26]
others for support, and this was also
assessed in college, and then we have
[31]
gender, where we have 1s and 2s, where 1s
are males and 2s are females. So in this
[38]
example, we have a total of four
variables and we have 30 rows of data
[44]
here. And in regression, each row
corresponds, most typically, to a
[50]
different person. So, for example, the
first person had a GPA of 3.45 after their
[56]
first year in college, they had a 1200 on
the SAT, a 62 on social support, and
[63]
they were male, they had a 1 on gender. Now
in multiple regression, we have two
[68]
different kinds of variables, we have the
criterion variable, which is also known
[72]
as the dependent variable, and in this
example the criterion variable is
[76]
college GPA. And then we have predictor
variables, and those are also known as
[82]
independent variables. Here we
have 3: SAT score, social support, and
[88]
gender. And, in multiple regression, we are
always going to have at least two
[93]
predictor variables, or independent
variables, and only one criterion
[99]
variable, or dependent variable.
[102]
So it's important to get used to this
terminology when you're using multiple
[105]
regression as it can get a little
confusing otherwise. So, once again,
[109]
college GPA is our criterion variable, or
our dependent variable, and these three
[117]
variables are our predictors, or our
independent variables. And what we're
[122]
trying to do in multiple regression is
we're trying to use these predictors, SAT
[126]
score, social support, and gender, to
predict our criterion variable, college
[133]
GPA. And that's at the end of the first
year in college once again. And there's
[138]
one other thing I do want to note here,
I have a dichotomous variable here, gender.
[142]
Of course for gender, there's two values males
and females. And that's fine, if I have a
[147]
dichotomous variable, I can go ahead and enter
that into regression as normal. But if I
[151]
have a categorical variable that has
more than two categories, like say
[156]
ethnicity, let's say we had four
categories in ethnicity,
[159]
I can't just go ahead and enter that as
a normal predictor, but instead I have to
[164]
recode that where I have to have as many
predictors for ethnicity as are equal to
[172]
the number categories minus one. So if I
have, for example, four categories of
[177]
ethnicity, I would need to create three
predictors for ethnicity alone so they
[183]
would be ethnicity 1, ethnicity 2,
ethnicity 3, just for that variable.
[187]
And how to do that is beyond the scope
of this video, but it is important to be
[192]
aware of.
[193]
So if you do have a categorical variable
that has more than two categories you
[198]
don't want to just go ahead and enter it
into the normal multiple regression
[201]
commands as we're going to do here in
Excel. It needs to be re-expressed. But
[207]
we're good to go with gender, because
there's just two categories, or in other
[211]
words it's dichotomous.
[213]
OK so let's go ahead and get started. To run
the multiple regression in Microsoft Excel,
[218]
we want to go to Data and then select
Data Analysis. And then the Data Analysis
[225]
window opens. We want to go ahead and
scroll down to find Regression. Select
[229]
that and then click OK. Now here for
Input Y range, Y corresponds to our
[237]
criterion variable, and X corresponds to
our predictors. So let's go ahead and
[243]
start with our Y, since the cursor's flashing
in that box. Go ahead and select college
GPA and
[249]
scroll all the way down to select all
the values. Then we see B1 through B31
in that box.
[254]
That looks good.
[256]
Go ahead and make sure now that you
click on the Input X range box, so that
[259]
it's active. And then now we'll select
our three variables and all the values
[263]
for SAT score, social support, and gender.
[268]
OK that looks good. So now I have C1
through E31, that's perfect.
[276]
Next, notice that I did select my labels
which I wanted to do. I have the variable
[280]
names there. So I'm going to go ahead and
click on Labels. OK and everything else
[285]
looks good, so go ahead and click OK. And
then here we get our output and it's a
[290]
little bit compressed so let's go ahead
and modify this. First, let's go and
[294]
change the font to 13 point. And then I'm going
to go ahead and expand this by double-
[301]
clicking on these columns here; that
looks good.
Most Recent Videos:
You can go back to the homepage right here: Homepage





