Random Effects ANOVA
|
|
- Jody Stephens
- 6 years ago
- Views:
Transcription
1 Random Effects ANOVA Grant B. Morgan Baylor University This post contains code for conducting a random effects ANOVA. Make sure the following packages are installed: foreign, lme4, lsr, lattice. library(foreign) library(lsr) library(lme4) Loading required package: Matrix raneff<-read.spss("/users/grant_morgan/box Sync/Teaching/EDP Experimental Design/Data/Ra Warning in read.spss("/users/grant morgan/box Sync/Teaching/EDP Experimental Design/Data/Random Effect.sav", : /Users/grant morgan/box Sync/Teaching/EDP Experimental Design/Data/Random Effect.sav: Unrecognized record type 7, subtype 18 encountered in system file re-encoding from CP1252 First, we should generate some descriptive statistics for the outcome variable, Score, for each of the randomly selected raters. library(psych) describeby(raneff$score, raneff$rater) Descriptive statistics by group group: 1 vars n mean sd median trimmed mad min max range skew kurtosis se X group: 2 vars n mean sd median trimmed mad min max range skew kurtosis se X group: 3 vars n mean sd median trimmed mad min max range skew kurtosis se X group: 4 1
2 vars n mean sd median trimmed mad min max range skew kurtosis se X The null hypothesis in the random effects ANOVA states that the variance of the means is equal to zero. Let s generate some plots to see how the distribution of scores for each of the randomly selected raters overlaps. library(lattice) xyplot(raneff$score ~ raneff$rater, pch = 16, col = "blue") boxplot(raneff$score ~ raneff$rater, pch = 16, col = "blue") 2
3 Both of these plots indicates that the variability seems pretty similar for each rater, but the scores appear to be centered at different locations for each rater. We also see this from the descriptive statistics. Next, let s estimate the random effects ANOVA model. raneff$rater<-as.factor(raneff$rater) raneff.out<-aov(raneff$score ~ Error(raneff$Rater), data=raneff) summary(raneff.out) Error: raneff$rater Df Sum Sq Mean Sq F value Pr(>F) 3
4 Residuals Error: Within Df Sum Sq Mean Sq F value Pr(>F) Residuals raneff.out Call: aov(formula = raneff$score ~ Error(raneff$Rater), data = raneff) Grand Mean: Stratum 1: raneff$rater Terms: Residuals Sum of Squares Deg. of Freedom 3 Residual standard error: Stratum 2: Within Terms: Residuals Sum of Squares Deg. of Freedom 24 Residual standard error: sum((raneff.out$"within"$residuals)**2) [1] sum((raneff.out$"raneff$rater"$residuals)**2) [1] raneff.out$"within"$df.residual [1] 24 raneff.f<-(sum((raneff.out$"raneff$rater"$residuals)**2)/raneff.out$"raneff$rater"$df.residual) (sum((raneff.out$"within"$residuals)**2)/raneff.out$"within"$df.residual) raneff.f [1]
5 raneff.p<-pf(raneff.f,raneff.out$"raneff$rater"$df.residual,raneff.out$"within"$df.residual,low raneff.p [1] raneff.results<-matrix(c((sum((raneff.out$"raneff$rater"$residuals)**2)/raneff.out$"raneff$rate pf(raneff.f,raneff.out$"raneff$rater"$df.residual,raneff.out$"within"$df.residual,lower.tail= colnames(raneff.results)<-c("f","p-value") raneff.results F p-value [1,] For some reason, the aov function in R does provide not the p-value for random effects ANOVA so I have computed it. According to the results, there is sufficient evidence to conclude that the variance of the means of the raters is nonzero. There is no post hoc analysis because we are not dealing with specific (i.e., fixed) values of the raters. If we replicated the sudy, the raters would likely be different. We can get a better understanding of the random effect by computing the variance components and effect size. We can compute the intraclass correlation coefficient. This estimates the proportion of variance in the outcome variable that is explained by the random effect in the population. raneff.vc<-lmer(raneff$score ~ 1 + (1 raneff$rater), data = raneff) summary(raneff.vc) Linear mixed model fit by REML ['lmermod'] Formula: raneff$score ~ 1 + (1 raneff$rater) Data: raneff REML criterion at convergence: Scaled residuals: Min 1Q Median 3Q Max Random effects: Groups Name Variance Std.Dev. raneff$rater (Intercept) Residual Number of obs: 28, groups: raneff$rater, 4 Fixed effects: Estimate Std. Error t value (Intercept) raneff.varexp<-as.numeric(varcorr(raneff.vc)) / (as.numeric(varcorr(raneff.vc))+attr(varcorr(ra raneff.varexp [1]
6 The variance components are 2.85 for the rater effect and 7.81 for the residual. The ICC is computed by dividing the rater effect by the sum of the two variance components: ICC = σ 2 Rater σ 2 Rater + σ2 Residual = The ICC for this study is.27, which indicates that the raters explained 27% of the variability in the scores in the population. 6
Two Way ANOVA in R Solutions
Two Way ANOVA in R Solutions Solutions to exercises found here # Exercise 1 # #Read in the moth experiment data setwd("h:/datasets") moth.experiment = read.csv("moth trap experiment.csv", header = TRUE)
More informationLet us assume that we are measuring the yield of a crop plant on 5 different plots at 4 different observation times.
Mixed-effects models An introduction by Christoph Scherber Up to now, we have been dealing with linear models of the form where ß0 and ß1 are parameters of fixed value. Example: Let us assume that we are
More informationMixedModR2 Erika Mudrak Thursday, August 30, 2018
MixedModR Erika Mudrak Thursday, August 3, 18 Generate the Data Generate data points from a population with one random effect: levels of Factor A, each sampled 5 times set.seed(39) siga
More informationStudy 2: data analysis. Example analysis using R
Study 2: data analysis Example analysis using R Steps for data analysis Install software on your computer or locate computer with software (e.g., R, systat, SPSS) Prepare data for analysis Subjects (rows)
More informationStep 1: Load the appropriate R package. Step 2: Fit a separate mixed model for each independence claim in the basis set.
Step 1: Load the appropriate R package. You will need two libraries: nlme and lme4. Step 2: Fit a separate mixed model for each independence claim in the basis set. For instance, in Table 2 the first basis
More informationGGraph. Males Only. Premium. Experience. GGraph. Gender. 1 0: R 2 Linear = : R 2 Linear = Page 1
GGraph 9 Gender : R Linear =.43 : R Linear =.769 8 7 6 5 4 3 5 5 Males Only GGraph Page R Linear =.43 R Loess 9 8 7 6 5 4 5 5 Explore Case Processing Summary Cases Valid Missing Total N Percent N Percent
More informationChapter 10 Exercises 1. The final two sentences of Exercise 1 are challenging! Exercises 1 & 2 should be asterisked.
Chapter 10 Exercises 1 Data Analysis & Graphics Using R, 3 rd edn Solutions to Exercises (May 1, 2010) Preliminaries > library(lme4) > library(daag) The final two sentences of Exercise 1 are challenging!
More informationParameter Estimation
Parameter Estimation Bret Larget Departments of Botany and of Statistics University of Wisconsin Madison April 12, 2007 Statistics 572 (Spring 2007) Parameter Estimation April 12, 2007 1 / 14 Continue
More informationLecture 1: Empirical Properties of Returns
Lecture 1: Empirical Properties of Returns Econ 589 Eric Zivot Spring 2011 Updated: March 29, 2011 Daily CC Returns on MSFT -0.3 r(t) -0.2-0.1 0.1 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996
More information> > is.factor(scabdata$trt) [1] TRUE > is.ordered(scabdata$trt) [1] FALSE > scabdata$trtord <- ordered(scabdata$trt, +
Output from scab1.r # scab1.r scabdata
More informationTopic 30: Random Effects Modeling
Topic 30: Random Effects Modeling Outline One-way random effects model Data Model Inference Data for one-way random effects model Y, the response variable Factor with levels i = 1 to r Y ij is the j th
More informationTests for Intraclass Correlation
Chapter 810 Tests for Intraclass Correlation Introduction The intraclass correlation coefficient is often used as an index of reliability in a measurement study. In these studies, there are K observations
More informationEconomics 424/Applied Mathematics 540. Final Exam Solutions
University of Washington Summer 01 Department of Economics Eric Zivot Economics 44/Applied Mathematics 540 Final Exam Solutions I. Matrix Algebra and Portfolio Math (30 points, 5 points each) Let R i denote
More informationStat 401XV Exam 3 Spring 2017
Stat 40XV Exam Spring 07 I have neither given nor received unauthorized assistance on this exam. Name Signed Date Name Printed ATTENTION! Incorrect numerical answers unaccompanied by supporting reasoning
More informationFinal Exam Suggested Solutions
University of Washington Fall 003 Department of Economics Eric Zivot Economics 483 Final Exam Suggested Solutions This is a closed book and closed note exam. However, you are allowed one page of handwritten
More informationMODEL SELECTION CRITERIA IN R:
1. R 2 statistics We may use MODEL SELECTION CRITERIA IN R R 2 = SS R SS T = 1 SS Res SS T or R 2 Adj = 1 SS Res/(n p) SS T /(n 1) = 1 ( ) n 1 (1 R 2 ). n p where p is the total number of parameters. R
More informationThe SAS System 11:03 Monday, November 11,
The SAS System 11:3 Monday, November 11, 213 1 The CONTENTS Procedure Data Set Name BIO.AUTO_PREMIUMS Observations 5 Member Type DATA Variables 3 Engine V9 Indexes Created Monday, November 11, 213 11:4:19
More informationParametric Statistics: Exploring Assumptions.
Parametric Statistics: Exploring Assumptions http://www.pelagicos.net/classes_biometry_fa17.htm Reading - Field: Chapter 5 R Packages Used in This Chapter For this chapter, you will use the following packages:
More informationRegression Review and Robust Regression. Slides prepared by Elizabeth Newton (MIT)
Regression Review and Robust Regression Slides prepared by Elizabeth Newton (MIT) S-Plus Oil City Data Frame Monthly Excess Returns of Oil City Petroleum, Inc. Stocks and the Market SUMMARY: The oilcity
More informationChapter 6 Part 3 October 21, Bootstrapping
Chapter 6 Part 3 October 21, 2008 Bootstrapping From the internet: The bootstrap involves repeated re-estimation of a parameter using random samples with replacement from the original data. Because the
More informationProblem Set 4 Answer Key
Economics 31 Menzie D. Chinn Fall 4 Social Sciences 7418 University of Wisconsin-Madison Problem Set 4 Answer Key This problem set is due in lecture on Wednesday, December 1st. No late problem sets will
More information> attach(grocery) > boxplot(sales~discount, ylab="sales",xlab="discount")
Example of More than 2 Categories, and Analysis of Covariance Example > attach(grocery) > boxplot(sales~discount, ylab="sales",xlab="discount") Sales 160 200 240 > tapply(sales,discount,mean) 10.00% 15.00%
More informationMaximum Likelihood Estimation
Maximum Likelihood Estimation EPSY 905: Fundamentals of Multivariate Modeling Online Lecture #6 EPSY 905: Maximum Likelihood In This Lecture The basics of maximum likelihood estimation Ø The engine that
More informationStatistical Models of Stocks and Bonds. Zachary D Easterling: Department of Economics. The University of Akron
Statistical Models of Stocks and Bonds Zachary D Easterling: Department of Economics The University of Akron Abstract One of the key ideas in monetary economics is that the prices of investments tend to
More informationAn Introduction to R 2.1 Descriptive statistics
An Introduction to R 2.1 Descriptive statistics Dan Navarro (daniel.navarro@adelaide.edu.au) School of Psychology, University of Adelaide ua.edu.au/ccs/people/dan DSTO R Workshop, 27-Apr-2015 Central tendency
More informationRegression and Simulation
Regression and Simulation This is an introductory R session, so it may go slowly if you have never used R before. Do not be discouraged. A great way to learn a new language like this is to plunge right
More informationCopyright 2005 Pearson Education, Inc. Slide 6-1
Copyright 2005 Pearson Education, Inc. Slide 6-1 Chapter 6 Copyright 2005 Pearson Education, Inc. Measures of Center in a Distribution 6-A The mean is what we most commonly call the average value. It is
More informationLAMPIRAN PERHITUNGAN EVIEWS
LAMPIRAN PERHITUNGAN EVIEWS DESCRIPTIVE PK PDRB TP TKM Mean 12.22450 10.16048 14.02443 12.63677 Median 12.41945 10.09179 14.22736 12.61400 Maximum 13.53955 12.73508 15.62581 13.16721 Minimum 10.34509 8.579417
More information6 Multiple Regression
More than one X variable. 6 Multiple Regression Why? Might be interested in more than one marginal effect Omitted Variable Bias (OVB) 6.1 and 6.2 House prices and OVB Should I build a fireplace? The following
More informationMultiple regression - a brief introduction
Multiple regression - a brief introduction Multiple regression is an extension to regular (simple) regression. Instead of one X, we now have several. Suppose, for example, that you are trying to predict
More information2018 AAPM: Normal and non normal distributions: Why understanding distributions are important when designing experiments and analyzing data
Statistical Failings that Keep Us All in the Dark Normal and non normal distributions: Why understanding distributions are important when designing experiments and Conflict of Interest Disclosure I have
More informationOrdinal Multinomial Logistic Regression. Thom M. Suhy Southern Methodist University May14th, 2013
Ordinal Multinomial Logistic Thom M. Suhy Southern Methodist University May14th, 2013 GLM Generalized Linear Model (GLM) Framework for statistical analysis (Gelman and Hill, 2007, p. 135) Linear Continuous
More informationGeneralized Linear Models
Generalized Linear Models Scott Creel Wednesday, September 10, 2014 This exercise extends the prior material on using the lm() function to fit an OLS regression and test hypotheses about effects on a parameter.
More informationCOMPREHENSIVE WRITTEN EXAMINATION, PAPER III FRIDAY AUGUST 18, 2006, 9:00 A.M. 1:00 P.M. STATISTICS 174 QUESTIONS
COMPREHENSIVE WRITTEN EXAMINATION, PAPER III FRIDAY AUGUST 18, 2006, 9:00 A.M. 1:00 P.M. STATISTICS 174 QUESTIONS Answer all parts. Closed book, calculators allowed. It is important to show all working,
More informationGraduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Midterm
Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay Midterm GSB Honor Code: I pledge my honor that I have not violated the Honor Code during this examination.
More informationFinancial Econometrics: Problem Set # 3 Solutions
Financial Econometrics: Problem Set # 3 Solutions N Vera Chau The University of Chicago: Booth February 9, 219 1 a. You can generate the returns using the exact same strategy as given in problem 2 below.
More informationEconomics 483. Midterm Exam. 1. Consider the following monthly data for Microsoft stock over the period December 1995 through December 1996:
University of Washington Summer Department of Economics Eric Zivot Economics 3 Midterm Exam This is a closed book and closed note exam. However, you are allowed one page of handwritten notes. Answer all
More informationMixed models in R using the lme4 package Part 3: Inference based on profiled deviance
Mixed models in R using the lme4 package Part 3: Inference based on profiled deviance Douglas Bates Department of Statistics University of Wisconsin - Madison Madison January 11, 2011
More informationBrief Sketch of Solutions: Tutorial 1. 2) descriptive statistics and correlogram. Series: LGCSI Sample 12/31/ /11/2009 Observations 2596
Brief Sketch of Solutions: Tutorial 1 2) descriptive statistics and correlogram 240 200 160 120 80 40 0 4.8 5.0 5.2 5.4 5.6 5.8 6.0 6.2 Series: LGCSI Sample 12/31/1999 12/11/2009 Observations 2596 Mean
More informationSTA258 Analysis of Variance
STA258 Analysis of Variance Al Nosedal. University of Toronto. Winter 2017 The Data Matrix The following table shows last year s sales data for a small business. The sample is put into a matrix format
More informationQuestion 1a 1b 1c 1d 1e 1f 2a 2b 2c 2d 3a 3b 3c 3d M ult:choice Points
Economics 102: Analysis of Economic Data Cameron Spring 2015 April 23 Department of Economics, U.C.-Davis First Midterm Exam (Version A) Compulsory. Closed book. Total of 30 points and worth 22.5% of course
More informationChapter 7. Inferences about Population Variances
Chapter 7. Inferences about Population Variances Introduction () The variability of a population s values is as important as the population mean. Hypothetical distribution of E. coli concentrations from
More informationSTA218 Analysis of Variance
STA218 Analysis of Variance Al Nosedal. University of Toronto. Fall 2017 November 27, 2017 The Data Matrix The following table shows last year s sales data for a small business. The sample is put into
More informationStat 328, Summer 2005
Stat 328, Summer 2005 Exam #2, 6/18/05 Name (print) UnivID I have neither given nor received any unauthorized aid in completing this exam. Signed Answer each question completely showing your work where
More informationThe Two-Sample Independent Sample t Test
Department of Psychology and Human Development Vanderbilt University 1 Introduction 2 3 The General Formula The Equal-n Formula 4 5 6 Independence Normality Homogeneity of Variances 7 Non-Normality Unequal
More informationNHY examples. Bernt Arne Ødegaard. 23 November Estimating dividend growth in Norsk Hydro 8
NHY examples Bernt Arne Ødegaard 23 November 2017 Abstract Finance examples using equity data for Norsk Hydro (NHY) Contents 1 Calculating Beta 4 2 Cost of Capital 7 3 Estimating dividend growth in Norsk
More informationPower in Mixed Effects
Power in Mixed Effects Gary W. Oehlert School of Statistics University of Minnesota December 1, 2014 Power is an important aspect of designing an experiment; we now return to power in mixed effects. We
More informationSTA2601. Tutorial letter 105/2/2018. Applied Statistics II. Semester 2. Department of Statistics STA2601/105/2/2018 TRIAL EXAMINATION PAPER
STA2601/105/2/2018 Tutorial letter 105/2/2018 Applied Statistics II STA2601 Semester 2 Department of Statistics TRIAL EXAMINATION PAPER Define tomorrow. university of south africa Dear Student Congratulations
More informationHypothesis Tests: One Sample Mean Cal State Northridge Ψ320 Andrew Ainsworth PhD
Hypothesis Tests: One Sample Mean Cal State Northridge Ψ320 Andrew Ainsworth PhD MAJOR POINTS Sampling distribution of the mean revisited Testing hypotheses: sigma known An example Testing hypotheses:
More informationKey Objectives. Module 2: The Logic of Statistical Inference. Z-scores. SGSB Workshop: Using Statistical Data to Make Decisions
SGSB Workshop: Using Statistical Data to Make Decisions Module 2: The Logic of Statistical Inference Dr. Tom Ilvento January 2006 Dr. Mugdim Pašić Key Objectives Understand the logic of statistical inference
More informationValid Missing Total. N Percent N Percent N Percent , ,0% 0,0% 2 100,0% 1, ,0% 0,0% 2 100,0% 2, ,0% 0,0% 5 100,0%
dimension1 GET FILE= validacaonestscoremédico.sav' (só com os 59 doentes) /COMPRESSED. SORT CASES BY UMcpEVA (D). EXAMINE VARIABLES=UMcpEVA BY NoRespostasSignif /PLOT BOXPLOT HISTOGRAM NPPLOT /COMPARE
More informationStudy of one-way ANOVA with a fixed-effect factor
Study of one-way ANOVA with a fixed-effect factor In the last blog on Introduction to ANOVA, we mentioned that in the oneway ANOVA study, the factor contributing to a possible source of variation that
More informationCopyright 2011 Pearson Education, Inc. Publishing as Addison-Wesley.
Appendix: Statistics in Action Part I Financial Time Series 1. These data show the effects of stock splits. If you investigate further, you ll find that most of these splits (such as in May 1970) are 3-for-1
More informationModel Construction & Forecast Based Portfolio Allocation:
QBUS6830 Financial Time Series and Forecasting Model Construction & Forecast Based Portfolio Allocation: Is Quantitative Method Worth It? Members: Bowei Li (303083) Wenjian Xu (308077237) Xiaoyun Lu (3295347)
More information7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4
7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4 - Would the correlation between x and y in the table above be positive or negative? The correlation is negative. -
More informationR is a collaborative project with many contributors. Type contributors() for more information.
R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type license() or licence() for distribution details. R is a collaborative project
More informationDetermination of the Optimal Stratum Boundaries in the Monthly Retail Trade Survey in the Croatian Bureau of Statistics
Determination of the Optimal Stratum Boundaries in the Monthly Retail Trade Survey in the Croatian Bureau of Statistics Ivana JURINA (jurinai@dzs.hr) Croatian Bureau of Statistics Lidija GLIGOROVA (gligoroval@dzs.hr)
More informationChapter 11: Inference for Distributions Inference for Means of a Population 11.2 Comparing Two Means
Chapter 11: Inference for Distributions 11.1 Inference for Means of a Population 11.2 Comparing Two Means 1 Population Standard Deviation In the previous chapter, we computed confidence intervals and performed
More informationLampiran 1 : Grafik Data HIV Asli
Lampiran 1 : Grafik Data HIV Asli 70 60 50 Penderita 40 30 20 10 2007 2008 2009 2010 2011 Tahun HIV Mean 34.15000 Median 31.50000 Maximum 60.00000 Minimum 19.00000 Std. Dev. 10.45057 Skewness 0.584866
More informationTests for Two ROC Curves
Chapter 65 Tests for Two ROC Curves Introduction Receiver operating characteristic (ROC) curves are used to summarize the accuracy of diagnostic tests. The technique is used when a criterion variable is
More information2009/2010 CAIA Prerequisite Diagnostic Review (PDR) And Answer Key
2009/2010 CAIA Prerequisite Diagnostic Review (PDR) And Answer Key Form B --------------------------------------------------------------------------------- Candidates registered for the program are assumed
More informationChapter 7 Sampling Distributions and Point Estimation of Parameters
Chapter 7 Sampling Distributions and Point Estimation of Parameters Part 1: Sampling Distributions, the Central Limit Theorem, Point Estimation & Estimators Sections 7-1 to 7-2 1 / 25 Statistical Inferences
More informationFinancial Risk, Liquidity Risk and their Effect on the Listed Jordanian Islamic Bank's Performance
Financial Risk, Liquidity Risk and their Effect on the Listed Jordanian Islamic Bank's Performance Lina Hani Warrad Associate Professor, Accounting Department Applied Science Private University, Amman,
More informationAppendixes Appendix 1 Data of Dependent Variables and Independent Variables Period
Appendixes Appendix 1 Data of Dependent Variables and Independent Variables Period 1-15 1 ROA INF KURS FG January 1,3,7 9 -,19 February 1,79,5 95 3,1 March 1,3,7 91,95 April 1,79,1 919,71 May 1,99,7 955
More information11/28/2018. Overview. Multiple Linear Regression Analysis. Multiple regression. Multiple regression. Multiple regression. Multiple regression
Multiple Linear Regression Analysis BSAD 30 Dave Novak Fall 208 Source: Ragsdale, 208 Spreadsheet Modeling and Decision Analysis 8 th edition 207 Cengage Learning 2 Overview Last class we considered the
More informationQuantitative Techniques Term 2
Quantitative Techniques Term 2 Laboratory 7 2 March 2006 Overview The objective of this lab is to: Estimate a cost function for a panel of firms; Calculate returns to scale; Introduce the command cluster
More informationECO220Y, Term Test #2
ECO220Y, Term Test #2 December 4, 2015, 9:10 11:00 am U of T e-mail: @mail.utoronto.ca Surname (last name): Given name (first name): UTORID: (e.g. lihao8) Instructions: You have 110 minutes. Keep these
More information1.017/1.010 Class 19 Analysis of Variance
.07/.00 Class 9 Analysis of Variance Concepts and Definitions Objective: dentify factors responsible for variability in observed data Specify one or more factors that could account for variability (e.g.
More informationLampiran 1 Lampiran 1 Data Keuangan Bank konvensional
Lampiran 1 Lampiran 1 Data Keuangan Bank konvensional BANK YEAR Z-Score TOTAL ASET (milyar rupiah) ROA (%) NPL (%) BI RATE (%) KURS (rupiah) BNI 1.9 5.51.9 1.9.5 919.5 11 7.71 99.5.9.17 915.7 1 7.7 333.3.9.
More informationGeneralized Multilevel Regression Example for a Binary Outcome
Psy 510/610 Multilevel Regression, Spring 2017 1 HLM Generalized Multilevel Regression Example for a Binary Outcome Specifications for this Bernoulli HLM2 run Problem Title: no title The data source for
More informationAppendix. A.1 Independent Random Effects (Baseline)
A Appendix A.1 Independent Random Effects (Baseline) 36 Table 2: Detailed Monte Carlo Results Logit Fixed Effects Clustered Random Effects Random Coefficients c Coeff. SE SD Coeff. SE SD Coeff. SE SD Coeff.
More informationNon-linearities in Simple Regression
Non-linearities in Simple Regression 1. Eample: Monthly Earnings and Years of Education In this tutorial, we will focus on an eample that eplores the relationship between total monthly earnings and years
More informationTests for Two Means in a Multicenter Randomized Design
Chapter 481 Tests for Two Means in a Multicenter Randomized Design Introduction In a multicenter design with a continuous outcome, a number of centers (e.g. hospitals or clinics) are selected at random
More information9. Appendixes. Page 73 of 95
9. Appendixes Appendix A: Construction cost... 74 Appendix B: Cost of capital... 75 Appendix B.1: Beta... 75 Appendix B.2: Cost of equity... 77 Appendix C: Geometric Brownian motion... 78 Appendix D: Static
More informationProjects for Bayesian Computation with R
Projects for Bayesian Computation with R Laura Vana & Kurt Hornik Winter Semeter 2018/2019 1 S&P Rating Data On the homepage of this course you can find a time series for Standard & Poors default data
More informationHandout seminar 6, ECON4150
Handout seminar 6, ECON4150 Herman Kruse March 17, 2013 Introduction - list of commands This week, we need a couple of new commands in order to solve all the problems. hist var1 if var2, options - creates
More informationStatistics & Statistical Tests: Assumptions & Conclusions
Degrees of Freedom Statistics & Statistical Tests: Assumptions & Conclusions Kinds of degrees of freedom Kinds of Distributions Kinds of Statistics & assumptions required to perform each Normal Distributions
More informationBEcon Program, Faculty of Economics, Chulalongkorn University Page 1/7
Mid-term Exam (November 25, 2005, 0900-1200hr) Instructions: a) Textbooks, lecture notes and calculators are allowed. b) Each must work alone. Cheating will not be tolerated. c) Attempt all the tests.
More informationHonor Code: By signing my name below, I pledge my honor that I have not violated the Booth Honor Code during this examination.
Name: OUTLINE SOLUTIONS University of Chicago Graduate School of Business Business 41000: Business Statistics Special Notes: 1. This is a closed-book exam. You may use an 8 11 piece of paper for the formulas.
More informationST 350 Lecture Worksheet #33 Reiland
ST 350 Lecture Worksheet #33 Reiland SOLUTIONS Name Lotteries: Good Idea or Scam? Lotteries have become important sources of revenue for many state governments. However, people have criticized lotteries
More informationSimple Descriptive Statistics
Simple Descriptive Statistics These are ways to summarize a data set quickly and accurately The most common way of describing a variable distribution is in terms of two of its properties: Central tendency
More informationDiploma Part 2. Quantitative Methods. Examiner s Suggested Answers
Diploma Part 2 Quantitative Methods Examiner s Suggested Answers Question 1 (a) The binomial distribution may be used in an experiment in which there are only two defined outcomes in any particular trial
More informationStat 101 Exam 1 - Embers Important Formulas and Concepts 1
1 Chapter 1 1.1 Definitions Stat 101 Exam 1 - Embers Important Formulas and Concepts 1 1. Data Any collection of numbers, characters, images, or other items that provide information about something. 2.
More informationAnalysis of the Influence of the Annualized Rate of Rentability on the Unit Value of the Net Assets of the Private Administered Pension Fund NN
Year XVIII No. 20/2018 175 Analysis of the Influence of the Annualized Rate of Rentability on the Unit Value of the Net Assets of the Private Administered Pension Fund NN Constantin DURAC 1 1 University
More informationP2.T8. Risk Management & Investment Management. Jorion, Value at Risk: The New Benchmark for Managing Financial Risk, 3rd Edition.
P2.T8. Risk Management & Investment Management Jorion, Value at Risk: The New Benchmark for Managing Financial Risk, 3rd Edition. Bionic Turtle FRM Study Notes By David Harper, CFA FRM CIPM and Deepa Raju
More informationORDERED MULTINOMIAL LOGISTIC REGRESSION ANALYSIS. Pooja Shivraj Southern Methodist University
ORDERED MULTINOMIAL LOGISTIC REGRESSION ANALYSIS Pooja Shivraj Southern Methodist University KINDS OF REGRESSION ANALYSES Linear Regression Logistic Regression Dichotomous dependent variable (yes/no, died/
More informationRandom Effects... and more about pigs G G G G G G G G G G G
et s examine the random effects model in terms of the pig weight example. This had eight litters, and in the first analysis we were willing to think of as fixed effects. This means that we might want to
More informationFall 2004 Social Sciences 7418 University of Wisconsin-Madison Problem Set 5 Answers
Economics 310 Menzie D. Chinn Fall 2004 Social Sciences 7418 University of Wisconsin-Madison Problem Set 5 Answers This problem set is due in lecture on Wednesday, December 15th. No late problem sets will
More informationHomework Assignment Section 3
Homework Assignment Section 3 Tengyuan Liang Business Statistics Booth School of Business Problem 1 A company sets different prices for a particular stereo system in eight different regions of the country.
More informationTopic 8: Model Diagnostics
Topic 8: Model Diagnostics Outline Diagnostics to check model assumptions Diagnostics concerning X Diagnostics using the residuals Diagnostics and remedial measures Diagnostics: look at the data to diagnose
More informationExample 1 of econometric analysis: the Market Model
Example 1 of econometric analysis: the Market Model IGIDR, Bombay 14 November, 2008 The Market Model Investors want an equation predicting the return from investing in alternative securities. Return is
More informationLampiran 1. Tabulasi Data
Lampiran 1. Tabulasi Data Tahun PDRB PDRBt-1 PAD BH DAU INF 2001:1 372696.65 372696.65 1005.61 2684.67 26072.42 0.87 2001:4 376433.52 372696.65 1000.96 2858.50 28795.27 1.08 2001:8 387533.83 376433.52
More informationSession 178 TS, Stats for Health Actuaries. Moderator: Ian G. Duncan, FSA, FCA, FCIA, FIA, MAAA. Presenter: Joan C. Barrett, FSA, MAAA
Session 178 TS, Stats for Health Actuaries Moderator: Ian G. Duncan, FSA, FCA, FCIA, FIA, MAAA Presenter: Joan C. Barrett, FSA, MAAA Session 178 Statistics for Health Actuaries October 14, 2015 Presented
More informationManagement Science Letters
Management Science Letters 3 (2013) 547 554 Contents lists available at GrowingScience Management Science Letters homepage: www.growingscience.com/msl The impact of financing method on performance of private
More informationModule 3: Sampling Distributions and the CLT Statistics (OA3102)
Module 3: Sampling Distributions and the CLT Statistics (OA3102) Professor Ron Fricker Naval Postgraduate School Monterey, California Reading assignment: WM&S chpt 7.1-7.3, 7.5 Revision: 1-12 1 Goals for
More informationReview: Population, sample, and sampling distributions
Review: Population, sample, and sampling distributions A population with mean µ and standard deviation σ For instance, µ = 0, σ = 1 0 1 Sample 1, N=30 Sample 2, N=30 Sample 100000000000 InterquartileRange
More informationFinancial Econometrics Jeffrey R. Russell Midterm 2014
Name: Financial Econometrics Jeffrey R. Russell Midterm 2014 You have 2 hours to complete the exam. Use can use a calculator and one side of an 8.5x11 cheat sheet. Try to fit all your work in the space
More informationNegative Binomial Model for Count Data Log-linear Models for Contingency Tables - Introduction
Negative Binomial Model for Count Data Log-linear Models for Contingency Tables - Introduction Statistics 149 Spring 2006 Copyright 2006 by Mark E. Irwin Negative Binomial Family Example: Absenteeism from
More informationJaime Frade Dr. Niu Interest rate modeling
Interest rate modeling Abstract In this paper, three models were used to forecast short term interest rates for the 3 month LIBOR. Each of the models, regression time series, GARCH, and Cox, Ingersoll,
More informationThe relationship between GDP, labor force and health expenditure in European countries
Econometrics-Term paper The relationship between GDP, labor force and health expenditure in European countries Student: Nguyen Thu Ha Contents 1. Background:... 2 2. Discussion:... 2 3. Regression equation
More information