Interval Regression with Sample Selection

Size: px
Start display at page:

Download "Interval Regression with Sample Selection"

Transcription

1 Interval Regresson wth Sample Selecton Arne Hennngsen, Sebastan Petersen, Géraldne Hennngsen February 9, 09 Ths vgnette s largely based on Petersen et al. 07. Model Specfcaton The general specfcaton of an nterval regresson model wth sample selecton s: ε S ε O y S β S x S + ε S { y S 0 f y S 0 otherwse y O β O x O + ε O 3 unknown f y S 0 f < y O and y S y O f < y O 3 and y S. M 0 N 0, [ ρ ρ 4 f M < y O M+ and y S ], 5 where subscrpt ndcates the observaton, y O s a latent outcome varable, y O s a partally observed categorcal varable that ndcates n whch nterval y O les, M s the number of ntervals,,..., M+ are the boundares of the ntervals whereas frequently but not necessarly and M+, y S s a bnary varable that ndcates whether y O s observed, y S s a latent varable that ndcates the tendency that y S s one, x S and x O are column vectors of explanatory varables for the selecton equaton and outcome equaton, respectvely, ε S and ε O are random dsturbance terms that have a jont bvarate normal dstrbuton, and β S and β O are column vectors and ρ and are scalars of unknown model parameters.

2 Log-Lkelhood Functon The probablty that y O s unobserved s: P y S 0 P y S 0 6 P β S x S + ε S 0 7 P ε S β S x S 8 The probablty that y O s observed and ndcates that y O les n the mth nterval s: P y S y O m P y S > 0 m < y O m+ 9 β S x S + ε S > 0 m < β O x O + ε O m+ P P ε S > β S x S m β O x O < ε O m+ β O x O 0 The log-lkelhood contrbuton of the th observaton s: [ ] l y S ln Φ β S x S + y S y O m+ β m ln [Φ O x O, β S x S, ρ m ] Φ m β O x O, β S x S, ρ, where Φ. ndcates the cumulatve dstrbuton functon of the unvarate standard normal dstrbuton and Φ. ndcates the cumulatve dstrbuton functon of the bvarate standard normal dstrbuton. 3 Restrctng coeffcents ρ and The parameter ρ needs to be n the nterval,. In order to restrct ρ to be n ths nterval, we estmate arctanρ nstead of ρ so that the derved parameter ρ tanarctanρ s always n the nterval,. We use the delta method to calculate approxmate standard errors of the derved parameter ρ, whereas the correspondng element of the Jacoban matrx s: tanarctanρ arctanρ ρ arctanρ + ρ 3 The parameter needs to be strctly postve,.e. > 0. In order to restrct to be strctly postve, we estmate log nstead of or so that the derved parameters explog and exp log are always strctly postve. We use the delta

3 method to calculate approxmate standard errors of the derved parameters and, whereas the correspondng elements of the Jacoban matrx are: explog log exp log log explog 4 exp log 5 4 Gradents of the CDF of the bvarate standard normal dstrbuton In order to facltate the calculaton of the gradents of the log-lkelhood functon, we calculate the partal dervatves of the cumulatve dstrbuton functon CDF of the bvarate standard normal dstrbuton: Φ x, x, ρ x x φ a, a, ρ da da, 6 where φ. s the probablty densty functon PDF of the bvarate standard normal dstrbuton: φ x, x, ρ π ρ exp x ρx x + x ρ 7 In the followng, we check equaton 7 by a smple numercal example: > lbrary "mvtnorm" > lbrary "maxlk" > x <- 0.4 > x < > rho < > sgma <- matrx c, rho, rho,, nrow > dens <- dmvnorm c x, x, sgma sgma > prnt dens [] > all.equal dens, * p * sqrt - rho^ ^- * + exp - x^ - * rho * x * x + x^ / * - rho^ [] TRUE 3

4 4. Gradents wth respect to the lmts x and x Φ x, x, ρ x x x x x x φ a, x, ρ da 8 φa x, ρφx da 9 φ a, ρx, ρ φx da 0 a ρx φ ρ φx da ρ φ x ρx ρ Φ a ρx ρ ρ da φx x ρx ρ φa da φx 3 φx, 4 where φ, µ, ndcates the densty functon of a normal dstrbuton wth mean µ and varance. In the followng, we use the same smple numercal example as n the begnnng of secton 4 to check the above dervatons. Frst, we check whether the PDF of the bvarate standard normal dstrbuton,.e. φ x, x, ρ part of equaton 8, s equal to φ x, ρx, ρ φx part of equaton 0 and equal to φ x ρx / ρ ρ φx part of equatons and : > all.equal dens, dnorm x, rho * x, sqrt - rho^ * dnormx [] TRUE > all.equal dens, dnorm x - rho * x / sqrt - rho^ / + sqrt - rho^ * dnormx [] TRUE In the followng, we wll numercally calculate the dervatve of the cumulatve dstrbuton functon of the bvarate normal dstrbuton equaton 6 wth respect to x and check wehther ths partal dervatve s equal to the rght-hand sdes of equatons 8,,, and 4: > funx <- functon a { + prob <- pmvnorm upper c x, a, sgma sgma 4

5 + return prob + } > grad <- c numercgradent funx, x > prnt grad [] > funx <- functon a { + dens <- rep NA, length a + for n :length a { + dens[] <- dmvnorm c a[], x, sgma sgma + } + return dens + } > all.equal grad, ntegrate funx, lower -Inf, upper x $value [] TRUE > funxa <- functon a { + dens <- rep NA, length a + for n :length a { + dens[] <- dnorm a[] - rho * x / sqrt - rho^ / + sqrt-rho^ * dnormx + } + return dens + } > all.equal grad, ntegrate funxa, lower -Inf, upper x $value [] TRUE > funxb <- functon a { + dens <- rep NA, length a + for n :length a { + dens[] <- dnorm a[] - rho * x / sqrt - rho^ / + sqrt-rho^ + } + return dens + } > all.equal grad, + ntegrate funxb, lower -Inf, upper x $value * dnormx [] TRUE > all.equal grad, + pnorm x - rho * x / sqrt - rho^ * dnorm x [] TRUE 5

6 4. Gradents wth respect to the coeffcent of correlaton ρ Φ x, x, ρ ρ [ x ] x φ a, a, ρ da da ρ 5 6 x x φ a, a, ρ da da 7 ρ x x ρ exp a ρa a + a ρ π ρ da da 8 x x π ρ exp a ρa a + a ρ ρ da da 9 x x ρ π exp a ρa a + a ρ ρ ρ ρ exp a ρa a + a ρ ρ da da ρ 30 x x ρ π a ρa a + a ρ exp a ρa a + a ρ ρ ρ ρ ρ exp a ρa a + a ρ ρ da da 3 6

7 x x π 4ρa ρa a + a ρ a a 4 ρ exp ρ a ρa a + a ρ ρ ρ ρ exp a ρa a + a ρ ρ da da 3 4ρa x x ρa a + a ρ a a 4 ρ ρ ρ ρ π ρ ρ exp a ρa a + a ρ da da x x 4ρa ρa a + a ρ a a ρ + π 4 ρ 5 3 ρ 3 exp a ρa a + a ρ da da x x 4ρa ρa a + a ρ a a ρ + π 4 ρ 5 ρ 3 exp a ρa a + a ρ da da x x ρ ρa ρa a + a a a π ρ 3 ρ 5 exp a ρa a + a ρ da da x x ρ π ρ ρ ρa ρa a + a a a ρ exp a ρa a + a ρ da da

8 π ρ π ρ lm a x x a ρa ρ exp a ρa a + a x ρ a ρx ρ exp a ρa x + x ρ a + ρa ρ a exp ρa a + a da ρ Applyng L Hosptal on the last term leads to x π a ρx ρ ρ exp a ρa x + x ρ 0 π ρ x a ρx ρ exp a ρa x + x ρ da da 40 da 4 π ρ exp a ρa x + x x ρ π ρ exp x ρx x + x ρ 4 43 φ x, x, ρ 44 Ths result s n lne wth Sbuya 960 and Sungur 990. In the followng, we wll numercally calculate the dervatve of the cumulatve dstrbuton functon of the bvarate normal dstrbuton equaton 6 wth respect to ρ and check whether ths partal dervatve s equal to the rght-hand sdes of equaton 44: > # Numercal gradent of the PDF w.r.t. rho > funrho <- functon p { + prob <- dmvnorm x c x, x, + sgma matrx c, p, p,, nrow + return prob + } > grad <- c numercgradent funrho, rho > prnt grad [] > # Comparson wth analytcal gradent for rho > efun <- exp-x^ - * rho * x * x + x^/* - rho^ 8

9 > all.equal grad, + -*rho*-*rho*x*x+x^+x^ - *x*x*-rho^ * efun/ + *-rho^^3/ + + rho*efun/sqrt-rho^ / + *p*-rho^ [] TRUE [] TRUE [] TRUE [] TRUE > # Numercal gradent of the CDF w.r.t. rho > cdfrho <- functon p, xa x, xb x { + prob <- pmvnorm upper c xa, xb, + sgma matrx c, p, p,, nrow + return prob + } > grad <- c numercgradent cdfrho, rho > prnt grad [] > # comparson wth analytcal gradent > all.equal grad, dmvnorm x c x, x, + sgma matrx c, rho, rho,, nrow [] TRUE > # comparsons wth other values > compdervrho <- functon xa, xb, p { + dn <- c numercgradent cdfrho, p, xa xa, xb xb + da <- dmvnorm x c xa, xb, + sgma matrx c, p, p,, nrow + return all.equal dn, da + } > compdervrho x, x, rho [] TRUE > compdervrho 0.5, x, rho [] TRUE 9

10 > compdervrho.5, x, rho [] TRUE > compdervrho x, -, rho [] TRUE > compdervrho x, x, 0. [] TRUE > compdervrho x, x, 0.98 [] TRUE 0

11 5 Gradents of the Log-Lkelhood Functon 5. Gradents wth respect to the parameters of the selecton equaton β S Frst, we use equaton 4, to determne the dervatve of the bvarate standard normal dstrbuton wth respect to the parameter β S as part of the loglkelhood functon: Φ m β O x O, β S x S, ρ Φ m β O x O m β O x O β S Φ ρβ S x S φβ S x S ρ βs x S β S 45 + ρβ S x S φβ S x S ρ x S 46 Usng ths result we can now derve the gradent for β S n the log-lkelhood functon: l β S + [ ] β S y S ln Φ β S x S y S y O m m ln m+ β [Φ O x O m β O x O Φ, β S x S, ρ y S β S + y S y O m ], β S x S, ρ 47 [ ] ln Φ β S x S 48 m m+ β β S ln [Φ O x O ], β S x S, ρ m β O x O Φ, β S x S, ρ β S x S x S 49 Φ β S x S φ y S + y S y O β m S β S Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ β S x S x S 50 Φ β S x S m φ y S Φ m+ β O x O,β S x S, ρ Φ m β O x O,β S x S, ρ

12 + y S y O m m Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ m+ β O x O Φ + ρβ S x S φ β S x S ρ x S Φ + ρβ S x S φ β S x S ρ x S m β O x O φ β S x S y S Φ β S x S + y S y O m m x S 5 Φ m+ β O x O +ρβ S x S ρ Φ m β O x O +ρβ S x S ρ φ β S x S x S Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ

13 5. Gradents wth respect to the parameters n the outcome equaton β O Analogous to β S and by usng equaton 4 we derve the gradent of β O : Φ m β O x O, β S x S, ρ β O Φ βs x S + ρ m βo x O ρ φ m β O x O xo Usng ths result we derve the gradent for the outcome parameter β O for the loglkelhood functon: l β O [ ] β O y S ln Φ β S x S + y S y O m m ln Φ m β O x O y S y O m m β O Φ m β O x O y S y O m m y S y O m m Φ m+ β [Φ O x O ], β S x S, ρ ln βs x S + ρ m+ β O x O ρ Φ m+ β [Φ O x O ], β S x S, ρ Φ m+ β O x O,β S x S, ρ β O, β S x S, ρ, β S x S, ρ Φ m β O x O,β S x S, ρ β O Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ βs x S + ρ m βo x O ρ Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ φ φ m+ β O x O m β O x O xo xo 56 3

14 y S y O m m Φ βs x S + ρ m+ β O x O ρ Φ βs x S + ρ m βo x O ρ Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ φ φ m+ β O x O m β O x O xo Gradents wth respect to the coeffcent of correlaton ρ Gven the result that the dervatve of the CDF wth respect to ρ s equal to the PDF see equaton 44, we can also derve the gradent of the correlaton parameter ρ: l ρ ρ + y S y O m y S ln m ln [ ] Φ β S x S m+ β [Φ O x O ], β S x S, ρ m β O x O Φ, β S x S, ρ y S y O m m+ β ln [Φ O x O, β S x S, ρ ρ ] m Φ m β O x O y S y O m m, β S x S, ρ φ m β O x O, β S x S, ρ φ m+ β O x O, β S x S, ρ Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ 60 l arctanhρ l ρ ρ arctanhρ l ρ ρ Gradents wth respect to the standard devaton used for normalsaton Fnally, we derve the gradent for n the same way as we dd for β S and β O : 4

15 Φ m β O x O, β S x S, ρ Φ βs x S + ρ m βo x O ρ φ m β O x O βo x O m 6 Φ m β O x O, β S x S, ρ lm m lm Φ Φ Φ m Φ βs x S + ρ m βo x O ρ m β O x O βs x S + ρ m βo x O φ ρ lm φ m β O x O m βs x S + ρ m βo x O ρ βs x S + ρ m βo x O ρ lm m β O x O m φ m β O x O βo x O m 63 βo x O m Φ Φ lm m φ m β O x O βs x S + ρ m βo x O ρ βs x S + ρ m βo x O ρ lm m lm m m βo x O φ m β O x O φ m β O x O φ m β O x O m β O x O m β O x O Smlarly: Φ m β O x O, β S x S, ρ lm m

16 l [ ] y S ln Φ β S x S + y S y O m+ β m ln [Φ O x O m ], β S x S, ρ m β O x O Φ, β S x S, ρ y S y O m m+ β ln [Φ O x O, β S x S, ρ ] m Φ m β O x O, β S x S, ρ y S y O m Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ m Φ m+ β O x O,β S x S, ρ m β Φ O x O,β S x S, ρ y S yo m 74 m Φ m+ β O x O, β S x S, ρ Φ m β O x O, β S x S, ρ Φ βs x S + ρ m+ β O x O m+ β O x O φ βo x O m+ ρ Φ βs x S + ρ m βo x O ρ φ m β O x O βo x O m Example wth a Generated Dataset 7 Generate Dataset > lbrary "mvtnorm" > # number of observatons > nobs <- 300 > # parameters l log l log l 75 6

17 > betas <- c,, - > betao <- c 0, 4 > rho <- 0.4 > sgma <- 5 > # boundares of the ntervals > bound <- c-inf,5,5,inf > # set 'seed' of the pseudo random number generator > # n order to always generate the same pseudo random numbers > set.seed3 > # generate varables x and x > dat <- data.frame x rnorm nobs, x rnorm nobs > # varance-covarance matrx of the two error terms > vcovmat <- matrx c, rho*sgma, rho*sgma, sgma^, nrow > # generate the two error terms > eps <- rmvnorm nobs, sgma vcovmat > dat$epss <- eps[,] > dat$epso <- eps[,] > # generate the selecton varable > dat$ys <- wth dat, betas[] + betas[] * x + betas[3] * x + epss > 0 > table dat$ys FALSE TRUE 9 09 > # generate the unobserved/latent outcome varable > dat$you <- wth dat, betao[] + betao[] * x + epso > dat$you[!dat$ys ] <- NA > # obtan the ntervals of the outcome varable > dat$yo <- cut dat$you, bound > table dat$yo -Inf,5] 5,5] 5, Inf] Estmaton of the Model In the followng estmaton, the startng values are obtaned by a maxmum-lkelhood ML estmaton of a tobt- model, where the dependent varable of the outcome equaton s set to the md ponts of the ntervals: > lbrary "sampleselecton" > res <- selecton ys ~ x + x, yo ~ x, data dat, boundares bound > res Call: selectonselecton ys ~ x + x, outcome yo ~ x, data dat, boundares bou 7

18 Coeffcents: S:Intercept S:x S:x O:Intercept O:x logsgma atanhrho sgma sgmasq rho > summary res Tobt model wth nterval outcome sample selecton model Maxmum Lkelhood estmaton BHHH maxmsaton, teratons Return code : successve functon values wthn tolerance lmt Log-Lkelhood: observatons 9 censored and 09 observed Intervals of the dependent varable of the outcome equaton: YO lower upper count -Inf,5] -Inf 5 6 5,5] , Inf] 5 Inf 53 7 free parameters df 93 Probt selecton equaton: Estmate Std. Error t value Pr> t Intercept < e-6 *** x e-0 *** x < e-6 *** Outcome equaton: Estmate Std. Error t value Pr> t Intercept < e-6 *** x e-05 *** Error terms: Estmate Std. Error t value Pr> t logsgma < e-6 *** atanhrho sgma < e-6 *** sgmasq e-0 *** rho Sgnf. codes: 0 *** 0.00 ** 0.0 * In the followng estmaton, the startng values are obtaned by a two-step estmaton of a tobt- model, where the dependent varable of the outcome equaton s set to the md ponts of the ntervals: 8

19 > res <- selecton ys ~ x + x, yo ~ x, data dat, boundares bound, + start "step" > res Call: selectonselecton ys ~ x + x, outcome yo ~ x, data dat, start "step", Coeffcents: S:Intercept S:x S:x O:Intercept O:x logsgma atanhrho sgma sgmasq rho > summary res Tobt model wth nterval outcome sample selecton model Maxmum Lkelhood estmaton BHHH maxmsaton, teratons Return code : successve functon values wthn tolerance lmt Log-Lkelhood: observatons 9 censored and 09 observed Intervals of the dependent varable of the outcome equaton: YO lower upper count -Inf,5] -Inf 5 6 5,5] , Inf] 5 Inf 53 7 free parameters df 93 Probt selecton equaton: Estmate Std. Error t value Pr> t Intercept < e-6 *** x e-0 *** x < e-6 *** Outcome equaton: Estmate Std. Error t value Pr> t Intercept < e-6 *** x e-05 *** Error terms: Estmate Std. Error t value Pr> t logsgma < e-6 *** atanhrho sgma < e-6 *** sgmasq e-0 *** rho

20 --- Sgnf. codes: 0 *** 0.00 ** 0.0 * The followng commands compare the startng values and the estmated coeffcents: > # compare startng values small dfferences > cbnd res$start, res$start, res$start - res$start [,] [,] [,3] Intercept x x Intercept x logsgma atanhrho > # combare estmated coeffcents vrtually dentcal > cbnd coef res, coef res, coef res - coef res [,] [,] [,3] Intercept e-07 x e-07 x e-07 Intercept e-06 x e-06 logsgma e-07 atanhrho e-06 sgma e-07 sgmasq e-06 rho e-06 8 Example wth the Smoke dataset The followng command loads the dataset: > data "Smoke" The followng command creates a vector wth the boundares of the ntervals: > bounds <- c 0, 5, 0, 0, 50, Inf The followng command estmates the model wth few explanatory varables: > SmokeRes <- selecton smoker ~ educ + age, + cgs_ntervals ~ educ, data Smoke, boundares bounds 0

21 The followng command estmates the model wth more explanatory varables: > SmokeRes <- selecton smoker ~ educ + age + restaurn, + cgs_ntervals ~ educ + ncome + restaurn, data Smoke, + boundares bounds The followng commands test whether addng further explanatory varables sgnfcantly mproves the explanatory power of the model: > lbrary "lmtest" > lrtest SmokeRes, SmokeRes Lkelhood rato test Model : selectonselecton smoker ~ educ + age + restaurn, outcome cgs_ntervals ~ Model : selectonselecton smoker ~ educ + age, outcome cgs_ntervals ~ educ, data Smoke, boundares bounds educ + ncome + restaurn, data Smoke, boundares bounds #Df LogLk Df Chsq Pr>Chsq * --- Sgnf. codes: 0 *** 0.00 ** 0.0 * > waldtest SmokeRes, SmokeRes Wald test Model : selectonselecton smoker ~ educ + age + restaurn, outcome cgs_ntervals ~ Model : selectonselecton smoker ~ educ + age, outcome cgs_ntervals ~ educ, data Smoke, boundares bounds educ + ncome + restaurn, data Smoke, boundares bounds Res.Df Df Chsq Pr>Chsq * --- Sgnf. codes: 0 *** 0.00 ** 0.0 * Both tests ndcate that at 5% sgnfcance level the model wth more explanatory varables SmokeRes has sgnfcantly hgher explanatory power than the model wth fewer explanatory varables SmokeRes. References Petersen, S., Hennngsen, G., and Hennngsen, A. 07. Can changes n households lfe stuatons predct partcpaton n energy audts and nvestments n energy savngs? Unpublshed Manuscrpt. Department of Management Engneerng, Techncal Unversty of Denmark.

22 Sbuya, M Bvarate extreme statstcs,. Annals of the Insttute of Statstcal Mathematcs, :95 0. Sungur, E Dependence nformaton n parameterzed copulas. Communcatons n Statstcs - Smulaton and Computaton, 94:

Interval Regression with Sample Selection

Interval Regression with Sample Selection Interval Regresson wth Sample Selecton Géraldne Hennngsen, Arne Hennngsen, Sebastan Petersen May 3, 07 Ths vgnette s largely based on Petersen et al. 07. Model Specfcaton The general specfcaton of an nterval

More information

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models ECO 452 -- OE 4: Probt and Logt Models ECO 452 -- OE 4 Maxmum Lkelhood Estmaton of Bnary Dependent Varables Models: Probt and Logt hs note demonstrates how to formulate bnary dependent varables models

More information

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models ECO 452 -- OE 4: Probt and Logt Models ECO 452 -- OE 4 Mamum Lkelhood Estmaton of Bnary Dependent Varables Models: Probt and Logt hs note demonstrates how to formulate bnary dependent varables models for

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

More information

Marginal Effects in Probit Models: Interpretation and Testing. 1. Interpreting Probit Coefficients

Marginal Effects in Probit Models: Interpretation and Testing. 1. Interpreting Probit Coefficients ECON 5 -- NOE 15 Margnal Effects n Probt Models: Interpretaton and estng hs note ntroduces you to the two types of margnal effects n probt models: margnal ndex effects, and margnal probablty effects. It

More information

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition) Count Data Models See Book Chapter 11 2 nd Edton (Chapter 10 1 st Edton) Count data consst of non-negatve nteger values Examples: number of drver route changes per week, the number of trp departure changes

More information

Comparison of Regression Lines

Comparison of Regression Lines STATGRAPHICS Rev. 9/13/2013 Comparson of Regresson Lnes Summary... 1 Data Input... 3 Analyss Summary... 4 Plot of Ftted Model... 6 Condtonal Sums of Squares... 6 Analyss Optons... 7 Forecasts... 8 Confdence

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students.

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students. PPOL 59-3 Problem Set Exercses n Smple Regresson Due n class /8/7 In ths problem set, you are asked to compute varous statstcs by hand to gve you a better sense of the mechancs of the Pearson correlaton

More information

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of

More information

Limited Dependent Variables

Limited Dependent Variables Lmted Dependent Varables. What f the left-hand sde varable s not a contnuous thng spread from mnus nfnty to plus nfnty? That s, gven a model = f (, β, ε, where a. s bounded below at zero, such as wages

More information

Negative Binomial Regression

Negative Binomial Regression STATGRAPHICS Rev. 9/16/2013 Negatve Bnomal Regresson Summary... 1 Data Input... 3 Statstcal Model... 3 Analyss Summary... 4 Analyss Optons... 7 Plot of Ftted Model... 8 Observed Versus Predcted... 10 Predctons...

More information

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression STAT 45 BIOSTATISTICS (Fall 26) Handout 5 Introducton to Logstc Regresson Ths handout covers materal found n Secton 3.7 of your text. You may also want to revew regresson technques n Chapter. In ths handout,

More information

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4) I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes

More information

Chapter 11: Simple Linear Regression and Correlation

Chapter 11: Simple Linear Regression and Correlation Chapter 11: Smple Lnear Regresson and Correlaton 11-1 Emprcal Models 11-2 Smple Lnear Regresson 11-3 Propertes of the Least Squares Estmators 11-4 Hypothess Test n Smple Lnear Regresson 11-4.1 Use of t-tests

More information

Computation of Higher Order Moments from Two Multinomial Overdispersion Likelihood Models

Computation of Higher Order Moments from Two Multinomial Overdispersion Likelihood Models Computaton of Hgher Order Moments from Two Multnomal Overdsperson Lkelhood Models BY J. T. NEWCOMER, N. K. NEERCHAL Department of Mathematcs and Statstcs, Unversty of Maryland, Baltmore County, Baltmore,

More information

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes 25/6 Canddates Only January Examnatons 26 Student Number: Desk Number:...... DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR Department Module Code Module Ttle Exam Duraton

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

UNIVERSITY OF TORONTO Faculty of Arts and Science. December 2005 Examinations STA437H1F/STA1005HF. Duration - 3 hours

UNIVERSITY OF TORONTO Faculty of Arts and Science. December 2005 Examinations STA437H1F/STA1005HF. Duration - 3 hours UNIVERSITY OF TORONTO Faculty of Arts and Scence December 005 Examnatons STA47HF/STA005HF Duraton - hours AIDS ALLOWED: (to be suppled by the student) Non-programmable calculator One handwrtten 8.5'' x

More information

β0 + β1xi. You are interested in estimating the unknown parameters β

β0 + β1xi. You are interested in estimating the unknown parameters β Ordnary Least Squares (OLS): Smple Lnear Regresson (SLR) Analytcs The SLR Setup Sample Statstcs Ordnary Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals) wth OLS

More information

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore Sesson Outlne Introducton to classfcaton problems and dscrete choce models. Introducton to Logstcs Regresson. Logstc functon and Logt functon. Maxmum Lkelhood Estmator (MLE) for estmaton of LR parameters.

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

a. (All your answers should be in the letter!

a. (All your answers should be in the letter! Econ 301 Blkent Unversty Taskn Econometrcs Department of Economcs Md Term Exam I November 8, 015 Name For each hypothess testng n the exam complete the followng steps: Indcate the test statstc, ts crtcal

More information

Chapter 20 Duration Analysis

Chapter 20 Duration Analysis Chapter 20 Duraton Analyss Duraton: tme elapsed untl a certan event occurs (weeks unemployed, months spent on welfare). Survval analyss: duraton of nterest s survval tme of a subject, begn n an ntal state

More information

Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the

Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the Chapter 11 Student Lecture Notes 11-1 Lnear regresson Wenl lu Dept. Health statstcs School of publc health Tanjn medcal unversty 1 Regresson Models 1. Answer What Is the Relatonshp Between the Varables?.

More information

Advanced Statistical Methods: Beyond Linear Regression

Advanced Statistical Methods: Beyond Linear Regression Advanced Statstcal Methods: Beyond Lnear Regresson John R. Stevens Utah State Unversty Notes 2. Statstcal Methods I Mathematcs Educators Workshop 28 March 2009 1 http://www.stat.usu.edu/~rstevens/pcm 2

More information

First Year Examination Department of Statistics, University of Florida

First Year Examination Department of Statistics, University of Florida Frst Year Examnaton Department of Statstcs, Unversty of Florda May 7, 010, 8:00 am - 1:00 noon Instructons: 1. You have four hours to answer questons n ths examnaton.. You must show your work to receve

More information

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics ECOOMICS 35*-A Md-Term Exam -- Fall Term 000 Page of 3 pages QUEE'S UIVERSITY AT KIGSTO Department of Economcs ECOOMICS 35* - Secton A Introductory Econometrcs Fall Term 000 MID-TERM EAM ASWERS MG Abbott

More information

POWER AND SIZE OF NORMAL DISTRIBUTION AND ITS APPLICATIONS

POWER AND SIZE OF NORMAL DISTRIBUTION AND ITS APPLICATIONS Jurnal Ilmah Matematka dan Penddkan Matematka (JMP) Vol. 9 No., Desember 07, hal. -6 ISSN (Cetak) : 085-456; ISSN (Onlne) : 550-04; https://jmpunsoed.com/ POWER AND SIZE OF NORMAL DISTRIBION AND ITS APPLICATIONS

More information

On an Extension of Stochastic Approximation EM Algorithm for Incomplete Data Problems. Vahid Tadayon 1

On an Extension of Stochastic Approximation EM Algorithm for Incomplete Data Problems. Vahid Tadayon 1 On an Extenson of Stochastc Approxmaton EM Algorthm for Incomplete Data Problems Vahd Tadayon Abstract: The Stochastc Approxmaton EM (SAEM algorthm, a varant stochastc approxmaton of EM, s a versatle tool

More information

β0 + β1xi. You are interested in estimating the unknown parameters β

β0 + β1xi. You are interested in estimating the unknown parameters β Revsed: v3 Ordnar Least Squares (OLS): Smple Lnear Regresson (SLR) Analtcs The SLR Setup Sample Statstcs Ordnar Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals)

More information

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction ECONOMICS 35* -- NOTE 7 ECON 35* -- NOTE 7 Interval Estmaton n the Classcal Normal Lnear Regresson Model Ths note outlnes the basc elements of nterval estmaton n the Classcal Normal Lnear Regresson Model

More information

Interpreting Slope Coefficients in Multiple Linear Regression Models: An Example

Interpreting Slope Coefficients in Multiple Linear Regression Models: An Example CONOMICS 5* -- Introducton to NOT CON 5* -- Introducton to NOT : Multple Lnear Regresson Models Interpretng Slope Coeffcents n Multple Lnear Regresson Models: An xample Consder the followng smple lnear

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

since [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation

since [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation Econ 388 R. Butler 204 revsons Lecture 4 Dummy Dependent Varables I. Lnear Probablty Model: the Regresson model wth a dummy varables as the dependent varable assumpton, mplcaton regular multple regresson

More information

STAT 3008 Applied Regression Analysis

STAT 3008 Applied Regression Analysis STAT 3008 Appled Regresson Analyss Tutoral : Smple Lnear Regresson LAI Chun He Department of Statstcs, The Chnese Unversty of Hong Kong 1 Model Assumpton To quantfy the relatonshp between two factors,

More information

Chapter 15 - Multiple Regression

Chapter 15 - Multiple Regression Chapter - Multple Regresson Chapter - Multple Regresson Multple Regresson Model The equaton that descrbes how the dependent varable y s related to the ndependent varables x, x,... x p and an error term

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

Statistics MINITAB - Lab 2

Statistics MINITAB - Lab 2 Statstcs 20080 MINITAB - Lab 2 1. Smple Lnear Regresson In smple lnear regresson we attempt to model a lnear relatonshp between two varables wth a straght lne and make statstcal nferences concernng that

More information

ECONOMETRICS - FINAL EXAM, 3rd YEAR (GECO & GADE)

ECONOMETRICS - FINAL EXAM, 3rd YEAR (GECO & GADE) ECONOMETRICS - FINAL EXAM, 3rd YEAR (GECO & GADE) June 7, 016 15:30 Frst famly name: Name: DNI/ID: Moble: Second famly Name: GECO/GADE: Instructor: E-mal: Queston 1 A B C Blank Queston A B C Blank Queston

More information

Basically, if you have a dummy dependent variable you will be estimating a probability.

Basically, if you have a dummy dependent variable you will be estimating a probability. ECON 497: Lecture Notes 13 Page 1 of 1 Metropoltan State Unversty ECON 497: Research and Forecastng Lecture Notes 13 Dummy Dependent Varable Technques Studenmund Chapter 13 Bascally, f you have a dummy

More information

(c) Pongsa Pornchaiwiseskul, Faculty of Economics, Chulalongkorn University

(c) Pongsa Pornchaiwiseskul, Faculty of Economics, Chulalongkorn University Transform a bnary qualtatve varable (wth non-numercal values) to a dummy varable. For example, GENDER = f the observaton s male = f t s female (c) Pongsa Pornchawseskul, Faculty of Economcs, Chulalongkorn

More information

Introduction to Regression

Introduction to Regression Introducton to Regresson Dr Tom Ilvento Department of Food and Resource Economcs Overvew The last part of the course wll focus on Regresson Analyss Ths s one of the more powerful statstcal technques Provdes

More information

Polynomial Regression Models

Polynomial Regression Models LINEAR REGRESSION ANALYSIS MODULE XII Lecture - 6 Polynomal Regresson Models Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Test of sgnfcance To test the sgnfcance

More information

RELIABILITY ASSESSMENT

RELIABILITY ASSESSMENT CHAPTER Rsk Analyss n Engneerng and Economcs RELIABILITY ASSESSMENT A. J. Clark School of Engneerng Department of Cvl and Envronmental Engneerng 4a CHAPMAN HALL/CRC Rsk Analyss for Engneerng Department

More information

This column is a continuation of our previous column

This column is a continuation of our previous column Comparson of Goodness of Ft Statstcs for Lnear Regresson, Part II The authors contnue ther dscusson of the correlaton coeffcent n developng a calbraton for quanttatve analyss. Jerome Workman Jr. and Howard

More information

Basic R Programming: Exercises

Basic R Programming: Exercises Basc R Programmng: Exercses RProgrammng John Fox ICPSR, Summer 2009 1. Logstc Regresson: Iterated weghted least squares (IWLS) s a standard method of fttng generalzed lnear models to data. As descrbed

More information

January Examinations 2015

January Examinations 2015 24/5 Canddates Only January Examnatons 25 DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR STUDENT CANDIDATE NO.. Department Module Code Module Ttle Exam Duraton (n words)

More information

Lecture 6: Introduction to Linear Regression

Lecture 6: Introduction to Linear Regression Lecture 6: Introducton to Lnear Regresson An Manchakul amancha@jhsph.edu 24 Aprl 27 Lnear regresson: man dea Lnear regresson can be used to study an outcome as a lnear functon of a predctor Example: 6

More information

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 1 Chapters 14, 15 & 16 Professor Ahmad, Ph.D. Department of Management Revsed August 005 Chapter 14 Formulas Smple Lnear Regresson Model: y =

More information

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6 Department of Quanttatve Methods & Informaton Systems Tme Seres and Ther Components QMIS 30 Chapter 6 Fall 00 Dr. Mohammad Zanal These sldes were modfed from ther orgnal source for educatonal purpose only.

More information

Limited Dependent Variables and Panel Data. Tibor Hanappi

Limited Dependent Variables and Panel Data. Tibor Hanappi Lmted Dependent Varables and Panel Data Tbor Hanapp 30.06.2010 Lmted Dependent Varables Dscrete: Varables that can take onl a countable number of values Censored/Truncated: Data ponts n some specfc range

More information

Linear Regression Analysis: Terminology and Notation

Linear Regression Analysis: Terminology and Notation ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Exerments-I MODULE III LECTURE - 2 EXPERIMENTAL DESIGN MODELS Dr. Shalabh Deartment of Mathematcs and Statstcs Indan Insttute of Technology Kanur 2 We consder the models

More information

Introduction to the R Statistical Computing Environment R Programming

Introduction to the R Statistical Computing Environment R Programming Introducton to the R Statstcal Computng Envronment R Programmng John Fox McMaster Unversty ICPSR 2018 John Fox (McMaster Unversty) R Programmng ICPSR 2018 1 / 14 Programmng Bascs Topcs Functon defnton

More information

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y) Secton 1.5 Correlaton In the prevous sectons, we looked at regresson and the value r was a measurement of how much of the varaton n y can be attrbuted to the lnear relatonshp between y and x. In ths secton,

More information

Regression with limited dependent variables. Professor Bernard Fingleton

Regression with limited dependent variables. Professor Bernard Fingleton Regresson wth lmted dependent varables Professor Bernard Fngleton Regresson wth lmted dependent varables Whether a mortgage applcaton s accepted or dened Decson to go on to hgher educaton Whether or not

More information

LOGIT ANALYSIS. A.K. VASISHT Indian Agricultural Statistics Research Institute, Library Avenue, New Delhi

LOGIT ANALYSIS. A.K. VASISHT Indian Agricultural Statistics Research Institute, Library Avenue, New Delhi LOGIT ANALYSIS A.K. VASISHT Indan Agrcultural Statstcs Research Insttute, Lbrary Avenue, New Delh-0 02 amtvassht@asr.res.n. Introducton In dummy regresson varable models, t s assumed mplctly that the dependent

More information

University of California at Berkeley Fall Introductory Applied Econometrics Final examination

University of California at Berkeley Fall Introductory Applied Econometrics Final examination SID: EEP 118 / IAS 118 Elsabeth Sadoulet and Daley Kutzman Unversty of Calforna at Berkeley Fall 01 Introductory Appled Econometrcs Fnal examnaton Scores add up to 10 ponts Your name: SID: 1. (15 ponts)

More information

Uncertainty and auto-correlation in. Measurement

Uncertainty and auto-correlation in. Measurement Uncertanty and auto-correlaton n arxv:1707.03276v2 [physcs.data-an] 30 Dec 2017 Measurement Markus Schebl Federal Offce of Metrology and Surveyng (BEV), 1160 Venna, Austra E-mal: markus.schebl@bev.gv.at

More information

Lab 4: Two-level Random Intercept Model

Lab 4: Two-level Random Intercept Model BIO 656 Lab4 009 Lab 4: Two-level Random Intercept Model Data: Peak expratory flow rate (pefr) measured twce, usng two dfferent nstruments, for 17 subjects. (from Chapter 1 of Multlevel and Longtudnal

More information

APPROXIMATE PRICES OF BASKET AND ASIAN OPTIONS DUPONT OLIVIER. Premia 14

APPROXIMATE PRICES OF BASKET AND ASIAN OPTIONS DUPONT OLIVIER. Premia 14 APPROXIMAE PRICES OF BASKE AND ASIAN OPIONS DUPON OLIVIER Prema 14 Contents Introducton 1 1. Framewor 1 1.1. Baset optons 1.. Asan optons. Computng the prce 3. Lower bound 3.1. Closed formula for the prce

More information

Regression Analysis. Regression Analysis

Regression Analysis. Regression Analysis Regresson Analyss Smple Regresson Multvarate Regresson Stepwse Regresson Replcaton and Predcton Error 1 Regresson Analyss In general, we "ft" a model by mnmzng a metrc that represents the error. n mn (y

More information

Logistic Regression. CAP 5610: Machine Learning Instructor: Guo-Jun QI

Logistic Regression. CAP 5610: Machine Learning Instructor: Guo-Jun QI Logstc Regresson CAP 561: achne Learnng Instructor: Guo-Jun QI Bayes Classfer: A Generatve model odel the posteror dstrbuton P(Y X) Estmate class-condtonal dstrbuton P(X Y) for each Y Estmate pror dstrbuton

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VII LECTURE - 3 ANALYSIS OF COVARIANCE Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Any scentfc experment s performed

More information

3/3/2014. CDS M Phil Econometrics. Vijayamohanan Pillai N. CDS Mphil Econometrics Vijayamohan. 3-Mar-14. CDS M Phil Econometrics.

3/3/2014. CDS M Phil Econometrics. Vijayamohanan Pillai N. CDS Mphil Econometrics Vijayamohan. 3-Mar-14. CDS M Phil Econometrics. Dummy varable Models an Plla N Dummy X-varables Dummy Y-varables Dummy X-varables Dummy X-varables Dummy varable: varable assumng values 0 and to ndcate some attrbutes To classfy data nto mutually exclusve

More information

Chapter 14: Logit and Probit Models for Categorical Response Variables

Chapter 14: Logit and Probit Models for Categorical Response Variables Chapter 4: Logt and Probt Models for Categorcal Response Varables Sect 4. Models for Dchotomous Data We wll dscuss only ths secton of Chap 4, whch s manly about Logstc Regresson, a specal case of the famly

More information

Lecture 4 Hypothesis Testing

Lecture 4 Hypothesis Testing Lecture 4 Hypothess Testng We may wsh to test pror hypotheses about the coeffcents we estmate. We can use the estmates to test whether the data rejects our hypothess. An example mght be that we wsh to

More information

STATISTICS QUESTIONS. Step by Step Solutions.

STATISTICS QUESTIONS. Step by Step Solutions. STATISTICS QUESTIONS Step by Step Solutons www.mathcracker.com 9//016 Problem 1: A researcher s nterested n the effects of famly sze on delnquency for a group of offenders and examnes famles wth one to

More information

Chapter Newton s Method

Chapter Newton s Method Chapter 9. Newton s Method After readng ths chapter, you should be able to:. Understand how Newton s method s dfferent from the Golden Secton Search method. Understand how Newton s method works 3. Solve

More information

STK4080/9080 Survival and event history analysis

STK4080/9080 Survival and event history analysis SK48/98 Survval and event hstory analyss Lecture 7: Regresson modellng Relatve rsk regresson Regresson models Assume that we have a sample of n ndvduals, and let N (t) count the observed occurrences of

More information

Effects of Ignoring Correlations When Computing Sample Chi-Square. John W. Fowler February 26, 2012

Effects of Ignoring Correlations When Computing Sample Chi-Square. John W. Fowler February 26, 2012 Effects of Ignorng Correlatons When Computng Sample Ch-Square John W. Fowler February 6, 0 It can happen that ch-square must be computed for a sample whose elements are correlated to an unknown extent.

More information

Lecture 3 Stat102, Spring 2007

Lecture 3 Stat102, Spring 2007 Lecture 3 Stat0, Sprng 007 Chapter 3. 3.: Introducton to regresson analyss Lnear regresson as a descrptve technque The least-squares equatons Chapter 3.3 Samplng dstrbuton of b 0, b. Contnued n net lecture

More information

8/25/17. Data Modeling. Data Modeling. Data Modeling. Patrice Koehl Department of Biological Sciences National University of Singapore

8/25/17. Data Modeling. Data Modeling. Data Modeling. Patrice Koehl Department of Biological Sciences National University of Singapore 8/5/17 Data Modelng Patrce Koehl Department of Bologcal Scences atonal Unversty of Sngapore http://www.cs.ucdavs.edu/~koehl/teachng/bl59 koehl@cs.ucdavs.edu Data Modelng Ø Data Modelng: least squares Ø

More information

Laboratory 3: Method of Least Squares

Laboratory 3: Method of Least Squares Laboratory 3: Method of Least Squares Introducton Consder the graph of expermental data n Fgure 1. In ths experment x s the ndependent varable and y the dependent varable. Clearly they are correlated wth

More information

Statistics for Economics & Business

Statistics for Economics & Business Statstcs for Economcs & Busness Smple Lnear Regresson Learnng Objectves In ths chapter, you learn: How to use regresson analyss to predct the value of a dependent varable based on an ndependent varable

More information

MATH 829: Introduction to Data Mining and Analysis The EM algorithm (part 2)

MATH 829: Introduction to Data Mining and Analysis The EM algorithm (part 2) 1/16 MATH 829: Introducton to Data Mnng and Analyss The EM algorthm (part 2) Domnque Gullot Departments of Mathematcal Scences Unversty of Delaware Aprl 20, 2016 Recall 2/16 We are gven ndependent observatons

More information

x i1 =1 for all i (the constant ).

x i1 =1 for all i (the constant ). Chapter 5 The Multple Regresson Model Consder an economc model where the dependent varable s a functon of K explanatory varables. The economc model has the form: y = f ( x,x,..., ) xk Approxmate ths by

More information

Uncertainty as the Overlap of Alternate Conditional Distributions

Uncertainty as the Overlap of Alternate Conditional Distributions Uncertanty as the Overlap of Alternate Condtonal Dstrbutons Olena Babak and Clayton V. Deutsch Centre for Computatonal Geostatstcs Department of Cvl & Envronmental Engneerng Unversty of Alberta An mportant

More information

Number of cases Number of factors Number of covariates Number of levels of factor i. Value of the dependent variable for case k

Number of cases Number of factors Number of covariates Number of levels of factor i. Value of the dependent variable for case k ANOVA Model and Matrx Computatons Notaton The followng notaton s used throughout ths chapter unless otherwse stated: N F CN Y Z j w W Number of cases Number of factors Number of covarates Number of levels

More information

1 Binary Response Models

1 Binary Response Models Bnary and Ordered Multnomal Response Models Dscrete qualtatve response models deal wth dscrete dependent varables. bnary: yes/no, partcpaton/non-partcpaton lnear probablty model LPM, probt or logt models

More information

Chapter 6. Supplemental Text Material

Chapter 6. Supplemental Text Material Chapter 6. Supplemental Text Materal S6-. actor Effect Estmates are Least Squares Estmates We have gven heurstc or ntutve explanatons of how the estmates of the factor effects are obtaned n the textboo.

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 13 The Smple Lnear Regresson Model and Correlaton 1999 Prentce-Hall, Inc. Chap. 13-1 Chapter Topcs Types of Regresson Models Determnng the Smple Lnear

More information

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests Smulated of the Cramér-von Mses Goodness-of-Ft Tests Steele, M., Chaselng, J. and 3 Hurst, C. School of Mathematcal and Physcal Scences, James Cook Unversty, Australan School of Envronmental Studes, Grffth

More information

Modeling and Simulation NETW 707

Modeling and Simulation NETW 707 Modelng and Smulaton NETW 707 Lecture 5 Tests for Random Numbers Course Instructor: Dr.-Ing. Magge Mashaly magge.ezzat@guc.edu.eg C3.220 1 Propertes of Random Numbers Random Number Generators (RNGs) must

More information

Statistical inference for generalized Pareto distribution based on progressive Type-II censored data with random removals

Statistical inference for generalized Pareto distribution based on progressive Type-II censored data with random removals Internatonal Journal of Scentfc World, 2 1) 2014) 1-9 c Scence Publshng Corporaton www.scencepubco.com/ndex.php/ijsw do: 10.14419/jsw.v21.1780 Research Paper Statstcal nference for generalzed Pareto dstrbuton

More information

MLE and Bayesian Estimation. Jie Tang Department of Computer Science & Technology Tsinghua University 2012

MLE and Bayesian Estimation. Jie Tang Department of Computer Science & Technology Tsinghua University 2012 MLE and Bayesan Estmaton Je Tang Department of Computer Scence & Technology Tsnghua Unversty 01 1 Lnear Regresson? As the frst step, we need to decde how we re gong to represent the functon f. One example:

More information

Statistical Evaluation of WATFLOOD

Statistical Evaluation of WATFLOOD tatstcal Evaluaton of WATFLD By: Angela MacLean, Dept. of Cvl & Envronmental Engneerng, Unversty of Waterloo, n. ctober, 005 The statstcs program assocated wth WATFLD uses spl.csv fle that s produced wth

More information

Andreas C. Drichoutis Agriculural University of Athens. Abstract

Andreas C. Drichoutis Agriculural University of Athens. Abstract Heteroskedastcty, the sngle crossng property and ordered response models Andreas C. Drchouts Agrculural Unversty of Athens Panagots Lazards Agrculural Unversty of Athens Rodolfo M. Nayga, Jr. Texas AMUnversty

More information

Econ 673 Problem Set #2 Answer Sheet

Econ 673 Problem Set #2 Answer Sheet Econ 673 Problem Set #2 Answer Sheet For each of the followng problems, please provde detaled wrtten responses. Also, you should (a) attach copes of computer programs and output f requred to answer a queston

More information

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9 Chapter 9 Correlaton and Regresson 9. Correlaton Correlaton A correlaton s a relatonshp between two varables. The data can be represented b the ordered pars (, ) where s the ndependent (or eplanator) varable,

More information

2016 Wiley. Study Session 2: Ethical and Professional Standards Application

2016 Wiley. Study Session 2: Ethical and Professional Standards Application 6 Wley Study Sesson : Ethcal and Professonal Standards Applcaton LESSON : CORRECTION ANALYSIS Readng 9: Correlaton and Regresson LOS 9a: Calculate and nterpret a sample covarance and a sample correlaton

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VIII LECTURE - 34 ANALYSIS OF VARIANCE IN RANDOM-EFFECTS MODEL AND MIXED-EFFECTS EFFECTS MODEL Dr Shalabh Department of Mathematcs and Statstcs Indan

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Recall: man dea of lnear regresson Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 8 Lnear regresson can be used to study an

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 008 Recall: man dea of lnear regresson Lnear regresson can be used to study

More information

ECON 351* -- Note 23: Tests for Coefficient Differences: Examples Introduction. Sample data: A random sample of 534 paid employees.

ECON 351* -- Note 23: Tests for Coefficient Differences: Examples Introduction. Sample data: A random sample of 534 paid employees. Model and Data ECON 35* -- NOTE 3 Tests for Coeffcent Dfferences: Examples. Introducton Sample data: A random sample of 534 pad employees. Varable defntons: W hourly wage rate of employee ; lnw the natural

More information

EEE 241: Linear Systems

EEE 241: Linear Systems EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they

More information

LINEAR REGRESSION MODELS W4315

LINEAR REGRESSION MODELS W4315 LINEAR REGRESSION MODELS W4315 HOMEWORK ANSWERS February 15, 010 Instructor: Frank Wood 1. (0 ponts) In the fle problem1.txt (accessble on professor s webste), there are 500 pars of data, where the frst

More information

Properties of Least Squares

Properties of Least Squares Week 3 3.1 Smple Lnear Regresson Model 3. Propertes of Least Squares Estmators Y Y β 1 + β X + u weekly famly expendtures X weekly famly ncome For a gven level of x, the expected level of food expendtures

More information

/ n ) are compared. The logic is: if the two

/ n ) are compared. The logic is: if the two STAT C141, Sprng 2005 Lecture 13 Two sample tests One sample tests: examples of goodness of ft tests, where we are testng whether our data supports predctons. Two sample tests: called as tests of ndependence

More information