Hello in this latter you will learn how to compute the main statistical indicators for a numeric variable
with that path takes package.
For example I'm going to use the same data crame daemon that contains information about a sample of
carpoolers.
And I'm going to generate the statistical indicators for three variables age income and car price.
OK first of all let's create the matrix with the variable of interest.
You then see bind function methods could be called hemol too.
Now let's give some names to the columns of this matrix age being car and car prices and let's get our
matrix which contains Of course our variables age income price.
Now I have to load the Baptist package.
Of course and before computing the indicators I want to set some options in beta are using the function
options.
So with the current options bipap equal to 100 I will call to use the standard notation not the exponential
notation but that's Robbin's and with the second option digits equal to 2.
I will make our show only the first to get the mouse.
OK.
Now in order to get the statistical indicators I have to run a function from factors from the pathic
package stat dot desk if I want to get all the statistics I must run with the Panthers topped desk with
the D-Mo. to argument without any other options.
So let's run this farm for OK let's see what happened.
I got this summary table which contains the main statistical indicators for each of our variables age
income and car price.
So the indicators are number of cases number of Noul and missing values minimum value maximum value
the range difference between maximum and minimum the sum of the values just in case we need it.
The media the I mean the standard error of the mean that the upper limit of the confidence interval
for the mean with the confidence level of 95 percent the variance the standard deviation and the coefficient
of variation which is the standard deviation divided by the mean OK.
These are the indicators that the data desk the foundation generates for us.
Now if you want to admit that there that is if you want to get on it that is all the important indicators
you run the Fanshen with the option basic equal to force or the cost of profit.
And now that Urana there are this line.
Okay.
So here in this table I have all the important indicators media and me and standard error confidence
interval variance standard deviation coefficient of variance just in case you need to base this statistic
on there without the Basho that they the say to say so you can get them by running the death function
with Option desk equal to fours.
Let's see what happens.
So here in this table you have you have only the bad statistics the number of the number of missing
values minimum maximum range and some without the mean media standard deviation and so on.
OK.
That causes that death function.
Thank you.