Applied Quantitative Modelling
DSC2608
ASSIGNMENT 5 SEMESTER 1 2024
DO NOT SUBMIT THIS COPY, WRITE IN YOUR OWN WAY.
, QUESTION1
1.1 False. The outcome of each coin toss is independent of previous tosses, so the probability of getting
heads on the tenth toss is still 0.5, assuming the coin is fair
1.2 True. The setnames() function in R is used to rename columns in a dataframe. So, setnames(table,
'alpha', 'beta') would change the column name 'beta' to 'alpha' in the dataframe 'table'
1.3 False. The mean of a random variable in a probability distribution describes the average outcome, not
how the outcomes vary. The measure of how the outcomes vary is described by measures such as
variance or standard deviation.
1.4 False. In most applications, discrete random variables represent counted data, such as the number of
cars passing through a toll booth, while continuous random variables represent measured data, such as
the height of individuals.
1.5 False. The disp() function in R is not used to display datasets in a spreadsheet-like format. Instead, it is
used for displaying the structure of an object, such as a dataframe, in a more compact form.
DSC2608
ASSIGNMENT 5 SEMESTER 1 2024
DO NOT SUBMIT THIS COPY, WRITE IN YOUR OWN WAY.
, QUESTION1
1.1 False. The outcome of each coin toss is independent of previous tosses, so the probability of getting
heads on the tenth toss is still 0.5, assuming the coin is fair
1.2 True. The setnames() function in R is used to rename columns in a dataframe. So, setnames(table,
'alpha', 'beta') would change the column name 'beta' to 'alpha' in the dataframe 'table'
1.3 False. The mean of a random variable in a probability distribution describes the average outcome, not
how the outcomes vary. The measure of how the outcomes vary is described by measures such as
variance or standard deviation.
1.4 False. In most applications, discrete random variables represent counted data, such as the number of
cars passing through a toll booth, while continuous random variables represent measured data, such as
the height of individuals.
1.5 False. The disp() function in R is not used to display datasets in a spreadsheet-like format. Instead, it is
used for displaying the structure of an object, such as a dataframe, in a more compact form.