part 9 Flashcards
how do we do internal control (house)
monitoring, information & communication (risk assessment, control activities), control environment
record-to-report process
Inventory account, AP, AR, Cash account
AR analysis to check the reliability of data
check if cash_not_ar = 1 have a collection_date
is the end balance of AR correct recorded (internal control weaknesses)
can AR be collected (impact liquidity)
sales recorded in the right period (wrong financial statement)
transaction information match trial balance information
ceiling function
used to ensure that the resulting values are integers
rnorm(nrow(sku), 2, 1)
random normal distribution with a mean of 2 and a standard deviation of 1.
abs()
takes the absolute value of each element (ensures it to be positive)
ceiling()
rounds each positive value up to the nearest integer
nrow()
determines the number of random values to be generated from a … distribution
rpois
generates random samples from a poisson distribution
rbinom
generates random numbers from a binomial distribution
rbinom(no_of_sales, 1, 0.2)
no_of_sales is random samples you want to create, 1 = number of trials for each sample –> binary (0 or 1) indicating whether … was a succes or not
0.2 = probability of succes for each trial
replace = T
= TRUE, means that an element can be selected more than once. (FALSE means that each element can only be selected once)
sample()
function used for random sampling in R