In this lecture we will learn how to create cross table with a cross table function in the package.
Morgoth's we are going to use the same data same deal more and we are going to create a cross table
with a variable gender and car category.
Economy in this town our standard and luxury.
OK.
First of all we have to load the package.
All those and now use the function cross-table here and that function we have to specify the two variables
gender and car category.
In our case and here I will also set the up and prop chi square to pause because I don't want to compute
the kind where contributions.
So they will build a cross table with a variable gender and car category as I won the last round there.
OK.
In this table we have the following information in the war Rose.
First of all the counts for example are 6:54 female subject have economy cars here on the second row
we can find the roll proportions.
So for example here about 26 percent of the female subjects have economy cars and here on this row the
table presents the column proportions for example here.
About four to five percent of the of the economy cars are owned by the main.
And here in the last row we have the proportion from the total.
So here about 13 percent of the total number of subjects are female.
That own economy cars
OK.
Now let's see some other option of the Ponson cross-table.
You have them all here.
So the function Deja's said the number of decimals for the numbers that thankfully is back off than
expected.
If it's true it shows the expected frequency is the fact of prop R and prophecy if they are true they
show the raw proportion and column proportions respectively.
The option of proctitis where show the kind where contributions.
If it's true the option quite compute the high square Cerberus of Asian options or compute the future
at the test if it's to the auction of Namor compute them NMR test only for that to buy two tables.
And the auction may include.
If it's true remove the unused factor blabbers finally build that table that will show only the third
counts.
So a simple table to that in fact you can notice here I have I have South-Korea I have set the following
options to false prophet or the royal proportions.
Prophecy McCollam proportions and prop t the the proportions from the total.
Let the run of this select and control enter.
So here the table as you can see here we have only that the third column.
That all.
Thank you.