Learning Journal - Unit 1
Learning Journal - Unit 1
During the course registration, one of the courses listed that I can take in this term is
“Introduction to Statistics”. I wanted to take the course not only as part of the degree
requirement but I always wanted to understand “Descriptive Statistics” which I require in
Machine Learning. By the way, I aspire to be a Data Scientist.
> ?table
In R when we prefix a command with a question mark, it displays the help document
regarding the command, in our example about the command “table”. The documentation is
the best place to find out how to use the command through detailed explanation and code
examples.
1
112363211
The output of the command “table” with the parameter of “x”, which is a vector, shows the
set of values in the vector and their frequency.
The first row shows the set of the values within the vector (x)
The second row shows the frequency of each value in the vector.
For instance, in the example the value “5” appears “6” times in the vector x, while the value
“9” appears only “1” times in the vector.
3. Task (References: Question 1.1 page 10-12 and self-Quiz Unit 1 Question 6 and 7)
a) Read section 1.5 in the Yakir textbook. If you were a teacher and had 30 students in
your class and wanted to know the class average on the first quiz, would you use a
parameter or a statistic? Why?
The class average on the first quiz is the parameter of my class. Parameter is the
measurement of my population which equals to 30. Since the population is of manageable
size, I take all of it and the parameter is computed.
b) If you wanted to know how many people in your country recognize the name of your
new company, would you use a parameter or a statistic? Why?
In this scenario, the population is the number of people in my country. Since it is difficult to
use it in full, I take a sample of it and take the statistic of the sample. The poll I take is the
statistic of my study.
Reference
R Programming Language. (n.d).
The r project for statistical
computing. Retrieved from
2
https://www.r-project.org/
Reference: