- Information
- AI Chat
Was this document helpful?
Math1041 assignment pdf
Course: Statistics for Life and Social Science (MATH1041)
183 Documents
Students shared 183 documents in this course
University: University of New South Wales
Was this document helpful?
Gabriela Prasetiyo z5391941
Q1
1.a. The following RStudio codes are used to determine the ATAR's Standard Deviation.
ATAR1<- as.numeric(unlist(data$ATAR))
ATAR2<- ATAR1[!is.na(ATAR1)]
sd(ATAR2)
�㗰 = 14.73493
�㗰 = 14.73)(4)�㗆. �㗅. )
1.b. The following RStudio formula and code are used to determine Daniel9s Z-score.
�㗆 = �㗆 2 �㗰
�㗰
z_score<- (92.7-mean(ATAR2))/sd(ATAR2)
z_score
�㗆 2 �㗆�㗅�㗅�㗅�㗅 = 0.5847759
�㗆 2 �㗆�㗅�㗅�㗅�㗅 = 0.5848)(4)�㗆. �㗅. )
The number of standard deviations (
�㗰
) x is from the mean is represented by its z-score if it is an observation
from a normal distribution with a mean (
�㗰
) and standard deviation (
�㗰
). As a result, Daniel's ATAR's Z-score is
positive, indicating that x is 0.5847759 standard deviations to the right of the mean (
�㗰
).
1.c. Before computing any numerical summary, Daniel should have first completed the data filled in the NA
values through a method called imputation. The imputation that can be used in RStudio is central imputation. In
central imputation the centre value, which is the mode, median, or mean of the specified dataset to replace the
missing data.
1.d. Isabella is right because the different distributions of the data can cause error in the bar chart and the graph
shows that the data is normally distributed without any outliers by utilising measurements of central tendency
per se which is incorrect and there are also incomplete data with N/A.
1.e.
1.f. The differences are that most female students chose <Labor= and male students chose mostly chose
<Liberal= and more male students have a political preference between <Liberal= and <Labor= rather than female
students.
Also, more number of females voted rather than males.