+ All Categories
Home > Documents > Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author...

Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author...

Date post: 09-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
6
All copyrights retained by author Completely randomised design (CRD) Model = + i=1,2,…t, j= 1, 2,…r Assumptions β€’ Data are independent (study design) β€’ The residuals are normally distributed (check histogram, normal probability plot). β€’ The residuals have equal variances (boxplots, test of equal variances) Estimated parameters Standard error = √ 95% CI Contrasts =βˆ‘ =1 , βˆ‘ =0 β€’ ki indicates the coefficient of the contrast. = βˆ‘ . =1 Var (c) = 2 βˆ‘ 2 = βˆ’ √ Γ—βˆ‘ 2 , v= N-t (df of SSE) Sum of squares: = 2 βˆ‘ 2 βˆ‘ = Orthogonal contrast Contrasts that convey independent information If 1 = 1 1 + 2 2 +β‹―+ 2 = 1 1 + 2 2 +β‹―+ C & D are orthogonal if Complete set of orthogonal contrasts β€’ t- 1 mutually orthogonal contrast β€’ Each pair of contrasts is orthogonal Multiple comparisons 1. Bonferroni β€’ suitable for ad hoc comparisons β€’ small number of tests = = = , = ( βˆ’ 1)= no. of comparisons 95% CI: 2 = ( 1 βˆ’ 1) 1 2 + ( 2 βˆ’ 1) 2 2 1 + 2 βˆ’2 2. Tukey β€’ suitable for balanced study β€’ less conservative 0 : 1 = 2 =β‹―= k=t treatment, v = df of SSE To find individual differences between means β€’ Find threshold value ,, Γ— √/ β€’ If | . βˆ’ . | exceeds threshold value, then reject H0 3. Scheffe β€’ suitable for post hoc comparisons β€’ many tests β€’ can only conduct two-tailed tests as we are using F- values. = √( βˆ’ 1) ,βˆ’1,βˆ’ = √ Γ— βˆ‘ 2 CI: cΒ±S Γ— sc If data is non-normal β€’ Transformation: log or sqrt β€’ Non-parametric test (Kruskal-Wallis) Test the different between treatment medians Assumption: all groups have similar shape If variances are not equal β€’ Use Levene’s test (F distribution) or Barlett’s test (chi-square distribution) to see if variances are equal Randomised complete block design (RBD) β€’ Suitable when we have homogenous groups Model = + + + i=1,2,…t, j= 1, 2,…r Assumption Parameter constraint β€’ ~(0, 2 ) β€’ Variance Relative efficiency = ( 1 +1)( 2 +3) 2 2 ( 1 +3)( 2 +1) 1 2 = If RE=2 => RBD is twice efficient. CRD need a sample size 2 times greater to achieve the same precision. If assumptions fail: β€’ Transformation β€’ Non-parametric (Friedman’s test) Assumptions: - Each block contains t random variables or ranking - The blocks are independent - Within each block, observations can be arranged in increasing order (not too many ties) H0: Each ranking of the random variables within a block is equally likely H1: At least one treatment has larger observed values.
Transcript
Page 1: Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author Completely randomised design (CRD) Model = πœ‡ + i=1,2,…t, j= 1, 2,…r β€’ Assumptions

All copyrights retained by author

Completely randomised design (CRD)

Model 𝑦𝑖𝑗 = πœ‡π‘– + 𝑒𝑖𝑗

i=1,2,…t, j= 1, 2,…r

Assumptions β€’ Data are independent (study

design)

β€’ The residuals are normally

distributed (check histogram,

normal probability plot).

β€’ The residuals have equal

variances (boxplots, test of equal

variances)

Estimated

parameters

Standard

error

𝑠 = βˆšπ‘€π‘†πΈ

95% CI

Contrasts

𝐢 = βˆ‘ π‘˜π‘–πœ‡π‘–π‘‘π‘–=1 , βˆ‘ π‘˜π‘– = 0𝑑

𝑖

β€’ ki indicates the coefficient of the contrast.

𝑐 = βˆ‘ π‘˜π‘–οΏ½Μ…οΏ½π‘–.𝑑𝑖=1 Var (c) = 𝜎2 βˆ‘

π‘˜π‘–2

π‘Ÿπ‘–π‘–

π‘‘π‘π‘Ÿπ‘–π‘‘ =π‘βˆ’πΆ

βˆšπ‘€π‘†πΈΓ—βˆ‘π‘˜π‘–

2

π‘Ÿπ‘–π‘–

, v= N-t (df of SSE)

Sum of squares: 𝑆𝑆𝐢 =𝑐2

βˆ‘π‘˜π‘–

2

π‘Ÿπ‘–π‘–

βˆ‘ 𝑆𝑆𝐢 = π‘‡π‘Ÿπ‘’π‘Žπ‘‘π‘šπ‘’π‘›π‘‘ 𝑆𝑆

Orthogonal contrast

Contrasts that convey independent information

If 𝐢1 = π‘˜1πœ‡1 + π‘˜2πœ‡2 + β‹― + π‘˜π‘‘πœ‡π‘‘

𝐢2 = 𝑙1πœ‡1 + 𝑙2πœ‡2 + β‹― + π‘™π‘‘πœ‡π‘‘

C & D are orthogonal if

Complete set of orthogonal contrasts

β€’ t- 1 mutually orthogonal contrast

β€’ Each pair of contrasts is orthogonal

Multiple comparisons

1. Bonferroni

β€’ suitable for ad hoc comparisons

β€’ small number of tests

𝛼𝑐 = π‘œπ‘£π‘’π‘Ÿπ‘Žπ‘™π‘™ π‘ π‘–π‘”π‘›π‘–π‘“π‘–π‘π‘Žπ‘›π‘π‘’ 𝑙𝑒𝑣𝑒𝑙

𝛼𝑒 = π‘–π‘›π‘‘π‘–π‘£π‘–π‘‘π‘’π‘Žπ‘™ =𝛼𝑐

π‘˜, π‘˜ = 𝑑(𝑑 βˆ’ 1)= no. of comparisons

95% CI:

π‘ π‘π‘œπ‘œπ‘™π‘’π‘‘2 =

(𝑛1 βˆ’ 1)𝑠12 + (𝑛2 βˆ’ 1)𝑠2

2

𝑛1 + 𝑛2 βˆ’ 2

2. Tukey

β€’ suitable for balanced study

β€’ less conservative

𝐻0: πœ‡1 = πœ‡2 = β‹― = πœ‡π‘˜

k=t treatment, v = df of SSE

To find individual differences between means

β€’ Find threshold value π‘žπ›Ό,π‘˜,𝑣 Γ— βˆšπ‘€π‘†πΈ/π‘Ÿ

β€’ If |𝑦𝑖.Μ… βˆ’ 𝑦𝑗.Μ…Μ… Μ…| exceeds threshold value, then reject H0

3. Scheffe

β€’ suitable for post hoc comparisons

β€’ many tests

β€’ can only conduct two-tailed tests as we are using F-

values.

𝑆 = √(𝑑 βˆ’ 1)𝐹𝛼,π‘‘βˆ’1,π‘βˆ’π‘‘

𝑠𝑐 = βˆšπ‘€π‘†πΈ Γ— βˆ‘π‘˜π‘–

2

π‘Ÿπ‘–π‘–

CI: cΒ±S Γ— sc

If data is non-normal

β€’ Transformation: log or sqrt

β€’ Non-parametric test (Kruskal-Wallis)

Test the different between treatment medians

Assumption: all groups have similar shape

If variances are not equal

β€’ Use Levene’s test (F distribution) or Barlett’s test

(chi-square distribution) to see if variances are equal

Randomised complete block design (RBD)

β€’ Suitable when we have homogenous groups

Model 𝑦𝑖𝑗 = πœ‡ + πœπ‘– + 𝑝𝑗 + 𝑒𝑖𝑗

i=1,2,…t, j= 1, 2,…r

Assumption

Parameter

constraint

β€’ 𝑒𝑖𝑗~𝑁𝐼𝐷(0, 𝜎2)𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑙𝑦

β€’

Variance

Relative

efficiency 𝑅𝐸 =

(𝑓1+1)(𝑓2+3)𝑠22

(𝑓1+3)(𝑓2+1)𝑠12=

𝐢𝑅𝐷

𝑅𝐡𝐷

If RE=2 => RBD is twice efficient. CRD

need a sample size 2 times greater to

achieve the same precision.

If assumptions fail:

β€’ Transformation

β€’ Non-parametric (Friedman’s test)

Assumptions:

- Each block contains t random variables or

ranking

- The blocks are independent

- Within each block, observations can be arranged

in increasing order (not too many ties)

H0: Each ranking of the random variables within a

block is equally likely

H1: At least one treatment has larger observed values.

Page 2: Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author Completely randomised design (CRD) Model = πœ‡ + i=1,2,…t, j= 1, 2,…r β€’ Assumptions

All copyrights retained by author

R(yij): rank from 1 to t assigned to yij within block j

Friedman test statistics S (chi-square distribution)

Factorial experiment

β€’ Examine multiple factors at the same time

β€’ Examine interaction first

(1) Significant: Need to carry out multiple

comparisons on the levels of one factor at each

level of the other factor

(2) Insignificant: Remove interaction term.

Model π‘¦π‘–π‘—π‘˜ = Β΅ + 𝛼𝑖 + 𝛽𝑗 + (𝛼𝛽)𝑖𝑗 + π‘’π‘–π‘—π‘˜

i=1,2,…a, j= 1, 2,…b, k= 1, 2,..r

Assumptions β€’ 𝑒𝑖𝑗~𝑁𝐼𝐷(0, 𝜎2)𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑙𝑦

β€’

β€’ Main effect

Main effect of A

Two-factor

interaction effect

(a2b2 -a1b2) – (a2b1 -a1b1)

Estimated

parameters

NOTE: Var(nX)=n2Var(X)

Var (X+Y)= Var(X) + Var(Y)

2n Factorial Design

π‘‰π‘Žπ‘Ÿ (οΏ½Μ‚οΏ½)=𝜎2

π‘Ÿ2π‘›βˆ’2 SST= π‘Œ(.)2

2π‘›π‘Ÿ

Yates’ Algorithm

Partial confounding: Confounding different effects in each rep

Fractional replication: (1) find identity relation, (2) find the

effect subgroup, (3) Decide fractional replicate and its aliases

Random effects model

β€’ Treatments which are drawn at random from a

population of treatments

Model 𝑦𝑖𝑗 = Β΅ + 𝛼𝑖 + 𝑒𝑖𝑗

i=1,2,…t, j= 1, 2,…r

Assumption

β€’ 𝑒𝑖𝑗~𝑁𝐼𝐷(0, 𝜎2)𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑙𝑦

β€’ 𝛼𝑖~𝑁𝐼𝐷(0, 𝜎2)𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑙𝑦

Hypothesis 𝐻0: Οƒa2 = 0 (no treatment effects)

𝐻1: Οƒa2 > 0 (there is treatment difference)

Estimated

parameters

The variance among X accounts for x% of

the variation and the variance within X

accounts for the other (1-x)%.

CI

Intraclass

correlation

coefficient

The analysis of covariance

β€’ Examine one factor, but also take into account

extraneous (continuous) variables

β€’ We can only measure covariate during the

experiment

β€’ The influence of covariate on the response is

unknown

Model

𝑦𝑖𝑗:(𝑋)π‘“π‘œπ‘Ÿ π‘—π‘‘β„Ž 𝑠𝑒𝑏𝑗𝑒𝑐𝑑 𝑖𝑛 π‘–π‘‘β„Ž π‘‘π‘Ÿπ‘’π‘Žπ‘‘π‘šπ‘’π‘›π‘‘

Β΅: π‘œπ‘£π‘’π‘Ÿπ‘Žπ‘™π‘™ π‘šπ‘’π‘Žπ‘› (𝑋)

πœπ‘–: 𝑒𝑓𝑓𝑒𝑐𝑑 π‘œπ‘“ π‘‘β„Žπ‘’ π‘–π‘‘β„Ž π‘‘π‘Ÿπ‘’π‘Žπ‘‘π‘šπ‘’π‘›π‘‘ π‘œπ‘› (𝑋)

Ξ²: coefficient for the linear regression of yij on

xij

xij: covariate for jth subject in ith treatment

π‘₯..Μ…: overall covariate mean

Assumption

Parameter

constraint

β€’ 𝑒𝑖𝑗~𝑁𝐼𝐷(0, 𝜎2)𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑙𝑦

β€’ β€’ Common slope Ξ² (not significant)

Page 3: Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author Completely randomised design (CRD) Model = πœ‡ + i=1,2,…t, j= 1, 2,…r β€’ Assumptions

All copyrights retained by author

Adjusted

mean of Y π‘¦π‘–π‘Žπ‘‘π‘—Μ…Μ… Μ…Μ… Μ…Μ… = 𝑦𝑖.Μ…Μ… Μ… + οΏ½Μ‚οΏ½(π‘₯..Μ… βˆ’ π‘₯𝑖.Μ…Μ… Μ…)

Page 4: Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author Completely randomised design (CRD) Model = πœ‡ + i=1,2,…t, j= 1, 2,…r β€’ Assumptions

All copyrights retained by author

Survey design

Sampling frame: a list of sampling units

Sampling unit: non-overlapping units for sampling

Unit: A group of elements

Element: an object on which measures are taken

NOTE: unit can be element.

Probability concepts

π‘‰π‘Žπ‘Ÿ(π‘Œ) = βˆ‘ (𝑦𝑗 βˆ’ πœ‡)2

π‘π‘—π‘˜π‘—=1 = E(Y2)-[E(Y)]2

Simple random sampling

β€’ Sampling is done without replacement.

β€’ Simpliest, appropriate with no prior information.

Sampling size

To estimate pop. total within D of true value

To estimate pop. proportion with a specified margin of error B

at siginifcance level Ξ±

If no p is given, use p=0.5 (conversative + large sample size)

Stratified random sampling

β€’ Use to reduce variance

β€’ Obtain best results when within-stratum differences

is small, and large differences between stratum

means.

Sample size

Design effect

Page 5: Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author Completely randomised design (CRD) Model = πœ‡ + i=1,2,…t, j= 1, 2,…r β€’ Assumptions

All copyrights retained by author

If deff <<1, then stratified random sampling is better than

SRS.

Cluster sampling

β€’ Easy to implement

β€’ Clusters are generally geographical entites

β€’ Useful when there is a large within-cluster variation

but small between-cluster variation.

Systematic sampling

β€’ Simple, save time and effort

β€’ Useful when we do not have a list of population

β€’ If the population is period, DO NOT USE.

Method A: When N/k is an integer, choose a unit at random

from the first kth unit. Take every kth unit from the starting

unit.

Method B: Choose a unit at random from the population.

Starting point depends on remainder.

When N/k is not an integer, use Method B to ensure an

unbiased estimator of Β΅

Ratio estimator

Page 6: Completely randomised design (CRD) 2.Β Β· 2018-02-23Β Β· All copyrights retained by author Completely randomised design (CRD) Model = πœ‡ + i=1,2,…t, j= 1, 2,…r β€’ Assumptions

All copyrights retained by author

Regression estimator

MSE=


Recommended