Hello and that lecture we will learn how to compute a new variable using the variables that exist in
our data.
For example I will use a theory file called Map that contains the grade obtained by a sample of students.
But to it out of a grade one contains Of course obtained at the first test and the verbal grade to contain
the grade obtained at the second test.
Now let's create a new variable that towards the difference between the two grades.
Let's suppose that we need to be different.
Our analysis is very simple.
The new variable will be called for example.
And it is simply the difference between the two variables.
Grade 2 and Grade 1 that around there.
And now let the our data frame you can notice here the variable DS which contains the fourth the differences
between our existing variables.
Now let's create another variable.
Truth the average of the two grades.
I will call it a Viji from a range and it simply is the sum of the two grades divided by two.
The simple average computer.
And now let's do our data rate again.
And here it is the new variable A Weegee the average of the two grades.
I think that pretty simple and straightforward.
So that's all.
Thank you.