Hello and this lecture we are going to learn how to compute the main statistical indicators for a numeric
variable used in the psych package.
Again I'm going to use the theta frame the more and I'm going to generate the statistical indicators
for three variables simultaneously for the age the income and the car price.
OK.
First of all let's create the metrics with our variables of interest age income and car price using
the see buy in function.
This mattress will be called D-Mo. to.
And now let's give some suggestive names to the matics columns age income and price in this order now
let's see our metrics D-Mo. 2.
So here we have our three variables of stardate age income and price.
Now we have to load the spike package and in order to generate the statistics table we must do the described
function.
The argument of the function is our new matrix D-Mo. too.
So let's run that.
OK.
In the summary table here you have all the statistical indicators all the important statistical indicators
for the three variable age income and price so is variable you have the number of cases VME in the standard
deviation the median that trend.
Man which is computed with a default Trium of zero point TAM the M-80 which is the median absolute deviation
that the median of the absolute deviation from the data media is to laugh you will allow a popular indicator
but to describe quantum computing anyway.
The minimum value is the Maktoum values of the variables the range the difference between maximum and
minimum this Cuneta and kurtosis values.
And finally the standard error or the meaning of the variables.
OK now let's see more options for the described function.
If we answer this option and a lot are equal to true it made the missing values if the value of this
option is false it delayed the case with methink values.
We can also set the trimming fraction using the option stream by default.
Is that the row point 10.
I thought that but of course we can change it.
For example two zero point zero or five.
OK.
And the last option check which if it had the value true.
It checks the foundation checks for the non numeric data OK.
That's all for the described function in the package.
Thank you.