Business Statistics Assignment
Business Statistics Assignment
Moving average is a simple, technical analysis tool. Moving averages are usually
calculated to identify the trend direction of a stock or to determine its support and
resistance levels. It is a trend-following–or lagging–indicator because it is based on
past prices.
The longer the time period for the moving average, the greater the lag.
Moving averages are a totally customizable indicator, which means that an investor
can freely choose whatever time frame they want when calculating an average. The
most common time periods used in moving averages are 15, 20, 30, 50, 100, and
200 days. The shorter the time span used to create the average, the more sensitive
it will be to price changes. The longer the time span, the less sensitive the average
will be.
Investors may choose different time periods of varying lengths to calculate moving
averages based on their trading objectives. Shorter moving averages are typically
used for short-term trading, while longer-term moving averages are more suited for
long-term investors.
///YYYYY/
1. Set up a hypothesis
2. Set up a suitable significance level
3. Determine a suitable test statistic
4. Determine the critical region.
5. Perform computations
6. Decision making
1. Set up a Hypothesis: The first step is to establish the hypothesis to be
tested. The statistical hypothesis is an assumption about the value of some
unknown parameter, and the hypothesis provides some numerical value or
range of values for the parameter. Here two hypotheses about the population
are constructed Null Hypothesis denoted by H0 and Alternative
Hypothesis denoted by H1.
2. Set up a Suitable Significance Level: Once the hypothesis about the
population is constructed the researcher has to decide the level of
significance, i.e. a confidence level with which the null hypothesis is accepted
or rejected. The significance level is denoted by ‘α’ and is usually defined
before the samples are drawn such that results obtained do not influence the
choice
3. Determining a Suitable Test Statistic: After the hypothesis are constructed,
and the significance level is decided upon, the next step is to determine a
suitable test statistic and its distribution. Most of the statistic tests assume the
following form:
Test statistic = sample statistic-hypothesized parameter/sta ndard error
of the statistic
///YYYYY/
5A:
The probability mass function of a binomial random variable X with parameters n and p
is f (k) = P(X = k) = {n k }* p ^k (1 − p)^ n−k for k = 0, 1, 2, 3, . . . , n.
{n k } counts the number of outcomes that include exactly k successes and n − k
failures.
1)if we call heads a sucess then this X has a binomial distribution with parameters n=6
and p=0.3
q= 0.7
P(X = 2) = { 6 2 } (0.3)^2 (0.7)^4
6!/2! 4! {(0.3)^2*(0.7)^4 ]
=15* 0.09 * 0.168
= 0.3241
i) for P(X=3)
(ii) P(X = 3) = {6 3} (0.3)^3 (0.7)^3
= 6!/3!*3![(0.3)^3*(0.7)^3]
///YYYYY/
= 0.185
p(X=4)= {6 4} (0.3)^4(0.7)^2
=6!/4!*2![(0.3)^2*(0.7)^2]
=0.059
p(X=5)= {6 5}(0.3)^5(0.7)^1 = 0.01
(iii) We need P(1 < X ≤ 5) P(X = 2) + P(X = 3) + P(X = 4) + P(X = 5)
= 0.324 + 0.185 + 0.059 + 0.01
= 0.578