4 Pages

hw3_RK_04

Course: PBAF 528, Fall 2009
School: Washington
Rating:
 
 
 
 
 

Word Count: 1456

Document Preview

528 PBAF Modeling with Linear Regression Assignment 3 The goal of this assignment is to think about appropriate ways of modeling relationships between our explanatory factors and the outcomes. We will go through the use and interpretation of dummy variables, interactions, and other nonlinear specifications. You can continue to work with the model you developed in the last assignment or pick a new one. Using this...

Register Now

Unformatted Document Excerpt

Coursehero >> Washington >> Washington >> PBAF 528

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
528 PBAF Modeling with Linear Regression Assignment 3 The goal of this assignment is to think about appropriate ways of modeling relationships between our explanatory factors and the outcomes. We will go through the use and interpretation of dummy variables, interactions, and other nonlinear specifications. You can continue to work with the model you developed in the last assignment or pick a new one. Using this and other assignments to explore the data you will use in your report is a good idea. Assignment Requirements 1. Pick a model from Washington State Population Survey (or another data set you might havelike the one for your project!), which includes at least one dummy variable and one interaction term as explanatory variables. Keep in mind that you will have to discuss why this is an appropriate model of the relationship and outline your expectations for the coefficient values (positive or negative). 2. Create and run at least one dummy variable in a regression. 3. Create and run at least one interaction term in a regression. 4. Create and use a log or a quadratic term in a regression. 5. Perform and interpret the test of a hypothesis about a subgroup of coefficients. 6. Answer the discussion questions. In order to complete this exercise, you will have to create new variables, transform variables, or recode. If you do not, your regression results may be un- interpretable. Here are general directions for SPSS and Excel: In SPSS: To create a new variable that is a function of an old variable, click TRANSFORM>COMPUTE then type in the formula. Click OK. [Some on- line help at Evans: http://www.evans.washington.edu/resources/Computing/SPSS/Basics.html#9 http://www.evans.washington.edu/resources/Computing/SPSS/Basics.html#10 ] In Excel: In a column at the end of the dataset or in a column youve inserted, type the name of the new variable in the first row. Then type the formula for the new variable in the second row. Double click on the lower-right hand part of the box and the formula will fill all the way down the column. I. Dummy Variables Dummy variables are useful for modeling categorical differences or thresholds. In regression with an intercept term you must always have one less dummy variable than you do categories for each set of dummies, and thus there will be a reference category (also called the omitted category). In my model, amount paid in monthly rent (Q3P5) is a function of the persons income (PEARN01), the persons age (AGE), minutes required getting to school/work (Q8P4), whether the person lived in King County (KING), and married persons (MARRIED). Q3P5 = 0 + 1 (PEARN01) + 2 (AGE) + 3 (Q8P4) + 4(KING) + 5 (MARRIED) + Here I have created dummies for King County residents from the original categorical variable, REGION: one for having King County residence and zero for all other counties. The reference group is people living outside King County. I also have a dummy indicating a married respondent (MARRIED)unmarried respondents are the reference group. The coefficients on the KING and MARRIED dummies will show the difference in monthly rent in each of these groups relative to those living outside of King County and unmarried respondents, respectively. The coefficient on KING shows how much higher or lower rent is for King County residents than for residents of other areas of the state. The coefficient on MARRIED will show how much higher or lower, on average, rent is for married householders than for unmarried people. Create at least one dummy variable and use it in a regression. II. Interaction Terms Interaction terms are used when you believe that the effect of one of your explanatory factors on the outcome depends on the level of another of your explanatory factors. The interactions can be between dummy variables and/or continuous variables. For my example, I believe that the effect of income on monthly rent may be different for King County residents and non-King County residents. I interacted the KING variable with PEARN01 variable (KINGINC) and included BOTH the new interaction and old variables in the regression. [What if I left out the old variables, what would I be assuming?] My new model is: Q3P5 = 0 + 1 (PEARN01) + 2 (AGE) + 3 (Q8P4)+ 4 (KING) + 5 (MARRIED) + 6(KINGINC)+ To create a new interaction variable in SPSS, use TRANSFORM>COMPUTE then type in the formula to multiply them or use the buttons create. to The formula for my interaction variable is KINGINC= KING* PEARN01. To create a new interaction variable in Excel, insert a column in your database and type the variable name in the first row. Press the = key and select the first variable included in the interaction, press * and then select the second variable in the interaction. Then press return (weve multiplied them). Double click on the lower right-hand corner to fill the formula down the column. I added this new variable to my regression. The coefficient on KING will give the effect of residency in King County on monthly rent paid; the coefficient on the interaction will give the difference in the effect of earnings for residents of King County and non-King County residents. The total effect of income on monthly rent for residents of different counties is 4 +6 . Create at least one interaction term and use it in a regression. III. Other nonlinear terms You may believe that one or more explanatory variables have a nonlinear relationship to the dependent variable [Note: these tricks dont work for dummy explanatory variables.]. Taking the natural log (LN) of an explanatory variable and/or the dependent variable is one way to 2 model a nonlinear relationship. In my example, monthly rent (Q3P5) may not just have a linear relationship to the explanatory factors. One thing I tried is substituting the income variable (PEARN01) with logged income as an explanatory variable. This would be appropriate if monthly rent increased with income, but the effect leveled off at higher levels of income. [Note: logs will not work for 0 or negative values. If you have 0 values, add one to the variable prior to logging it.] In SPSS, use TRANSFORM> COMPUTE and choose LN as a function to create a logged variable. For example, my new variable is: LNINCOME=LN(PEARN01). In Excel, insert a column for your new variable, type the name in the first row, and type the cell formula [in this case =LN(CellAddress)]. Double click on the lower right-hand corner to fill the formula down the column. My new regression is: Q3P5 = 0 + 1 (LNINCOME) + 2 (AGE) + 3 (Q8P4) + 4 (KING) + 5 (MARRIED) + A quadratic model will also allow for an outcome that increases at a decreasing rate with increases in the explanatory variable. A quadratic specification includes both an X and X2 term in the regression. In my model, I also tried including income and a squared income variable in my model. Use the COMPUTE command to create a squared variable; my formula was INCOMESQ=(PEARN01)**2. Then add the squared term AND the original variable to the equation. My new equation is: Q3P5= 0 + ...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Washington - PBAF - 528
PBAF 528 Assignment 5 Spring 2004 Due May 26 Evaluating Empirical Studies The purpose of this assignment is to give you some practice reading and thinking about the design problems of empirical studies. Read one of the following articles (all are on
Berkeley - IS - 213
Search INTRODUCTION Meet the Suffragists Introduction to the era PRIMARY RESOURCES Oral Histories Periodicals Books Correspondence Audio -songs -interviews Diaries Ephemera Photographs Newsreels -SECONDARY RESOURCES Books Journal Articles Bibliograph
Berkeley - IS - 213
Suffragists Speak:Interactive PrototypeRosalie Lack Joanne Miller Sally ThomasOverview SuffragistsSpeakWebsite TextmarkedupinSGML Goal:multimediathematicarchive Contentsofthesite: PrimarySources:Correspondence,NewspaperArticles, Books,Diar
Berkeley - IS - 213
Assignment 8: Interactive Prototype #2http:/www.sims.berkeley.edu/courses/is213/s99/Projects/P2/Assignment8/assign8.html Group 2 Rosalie Lack Joanne Miller Sally Thomas April 20, 1999UI Redesign OverviewIn response to the heuristic evaluation, th
Berkeley - IS - 213
Index of Usability Tests Suffragists Speak Test # 1 2 3 4 5 6 7 8 Date April 1 April 5 April 7 April 8 April 8 April 14 April 16 April 16 Users Name Heather McCarty Dan Rolde Jane Morrison Sonia Warfield Valerie Kolstad Thomas ODonnell Jonathan Shee
Berkeley - IS - 213
Scenario 1: A History Graduate Student is writing a dissertation on women reformers in the American progressive era, with a special focus on Jane Addams, the founder of Hull House, a settlement house in Chicago. She goes to the site and tries to find
Berkeley - IS - 213
Pilot User Study: Suffragists SpeakRosalie Lack, Joanne Miller, Sally Thomas SIMS 213, April 27, 1999IntroductionThe System The system being evaluated in this user study is the Suffragists Speak thematic archive, a website centered around twelve
Berkeley - IS - 213
Participant #2 - Michelle Timing: Free time: 15 minutes Scenario #1: 13 minutes Scenario #2: 5 minutes We did not have her do scenario #3. She had done it already during the low-fi testing. NOTES: (I took while JM was out of the room) Scenario #2 Wen
Berkeley - IS - 213
Suffragists SpeakProblem Overview Integrateavarietyofresources(primary andsecondarysourcesandtextand multimedia)intoacohesivewholeand makeiteasilynavigable.Goals of Pilot Usability Test Getfeedbackfromrealusers Wehadhistorygraduatestudentsas p
Berkeley - IS - 213
Links within site Info re sources Search results pages done by jm Search tips show how to do boolean Make search more prominent Search page How to enter request Keyword vs exact Sort by feature Change labels Timeline Bibliography Home page About sit
Berkeley - IS - 213
Assignment 10: Interactive Prototype #3 and Final Write-upSuffragists Speak Group: Rosalie Lack Joanne Miller Sally Thomas May 10, 1999 SIMS 213The ProblemThe Suffragists Speak group started the semester with a multimedia web site that contained
Berkeley - IS - 213
213: Assignment 10-Final Write-UpSuffragists Speak Thematic Archive Rosalie Lack, Joanne Miller, Sally Thomas May 10, 1999 Problem Statement The existing Suffragists Speak was a multimedia web-based resource workable and useful web site that contain
Berkeley - IS - 213
The write-up should follow this outline (number of pages/section are approximate): 1. Problem (1 paragraph) this is the need you have been trying to solve with this application all semester The existing "Suffragists Speak" multimedia web-based resour
Berkeley - IS - 213
Navigation In the low-fidelity testing we had the participants test two versions of the interface. In one version the navigation information was in the top frame in pull-down menus and in the other version it was all visible in the left-hand frame. W
Berkeley - IS - 213
6.Description of how to run the interface and the scenarios Last fall Rosalie and Sally worked on a team to develop a prototype of the Suffragists Speak site for Dale Doughertys electronic publishing class. If you are interested to the before site, h
Berkeley - IS - 213
Sally Thomas sthomas@sims.berkeley.edu SIMS 213 Assignment 7 Individual Heuristic Evaluation April 8, 1999 The Names Access Project The link for the heuristic evaluation http:/www.sims.berkeley.edu/courses/is213/s99/Projects/P10/inter1.html You can a
Berkeley - IS - 213
213 Group Heuristic Evaluation Rosalie Lack, Joanne Miller, Sally Thomas April 8, 1999 Site Evaluated: Names Access Project 1. [H1 Visibility of system status] (Severity 2) Difficult to determine status of location in relation to the top navigation f
Berkeley - IS - 213
Joanne Miller Heuristic Evaluation Holocaust Survivors Database April 7, 1999Overall: Very good, clean design with explanations and help well presented. My main concern is with the scalability of the system once there are hundreds of thousands of n
Berkeley - IS - 213
Rosalie Lack SIMS 213 April 8, 1999 Assignment 7 Project Heuristic Evaluation Overall impression is very positive. It just plain looks nice, for example the use of color boxes to highlight things such as the search tips and the Make Connection featu
Elmhurst - MTH - 345
Name_ For full credit, list the formula that you are using or the calculator menu/steps. 1. A health survey is performed involving college students. If the weight of college women forms a normal distribution with mean weight of 145 pounds and a stand
Elmhurst - MTH - 345
SOLUTIONS Please show all of your work for full credit. 1. Find the sample mean, sample standard deviation, and sample variance for the data f1; 12; 17; 9; 8; 4; 12; 11; 13g. soln: x = 9 2 ; s = 4:847679857; s2 = 23:5 3 2. A room contains 40 adults a
Elmhurst - MTH - 111
MTH 111-01 Fall 2008 TEST 2A Solutions1. For f (x) = 2x2 + 5x and h 6= 0; nd (10 pts.) a) Find f ( 1) f ( 1) = 2( 1)2 + 5( 1) = 7 2 b) Find f (x + h) f (x + h) = 2 (x + h) + 5 (x + h) = 5h + 5x 4hx 2h2 2x2 c) Find f (x + h) f (x) f (x + h) f (x) = 5
Elmhurst - MTH - 111
MTH 111-01 FALL 2008 TEST 1A SolutionsName: work. Simplify each of the following expressions. when appropriate.) 1. 2 + 5=7 = 3. 1 x x19 7Please show all of your (Positive exponents on variables 2. 31 2=3=3 233 9 3 2(4 8) 4. = 5 9(4 2) (
Elmhurst - MTH - 111
MTH 111-01 Spring 2006 TEST 3A Solutions1. a) 125x = 252 53x = 54 ; so 3x = 4:x = 4=3 b) 45x = 83=2 210x = 29=2 ; so 10x = 9=2; x = 9=20 c) 3 log5 (10) 3 log5 (50) = x 10 3 log5 (10) 3 log5 (50) = 3(log5 (10) log5 (50) = 3 log5 ( 50 ) = 3 log5 (1=5)
BYU - CS - 611
CS 611ObjectivesThe core objectives for CS 611 are 1. Confidently read and write proofs in or for the CS literature. 2. Understand foundational definitions and results in complexity theory 3. Understand foundational definitions and results in compu
Elmhurst - MTH - 111
Mth 111-01 Fall 2006 Test 1B Solutions1. 2=x + 3=4 = 3. 7 5. (7 j53x+8 4x11j)2 = 619 29( 7)( 4) 32 = 22 527 47. (4x3 )(5x 9. 11. 13. 15. 17. 19. 20. 21. 22. 23. 24. 25. 26.)(x(22 )x6 ) = 80x38 12 2x2 y = x625 3 10y p 3 3 9 p p 27x = 3x
University of West Georgia - STU - 3401
SocialStudies LastName Able Cason Dillon Hall Herndon Long Robinson Smith Turner Williams Average Max MinFirstName Frank Herman Karrie Gwen Jamie Alan Denise John Carmen CarterHW1 95 75 80 60 100 60 85 50 70 90 76.5 100 50DailyGrades DailyAvera
University of West Georgia - PLAN - 3401
hat L ist Daily Activities: Name: kind of energy is used?
University of West Georgia - PLAN - 3401
Energy and Sustainability VocabularyUse the Interent Resources provided to help you match the words below with their definitions. 1. http:/www.eia.doe.gov/kids/energyfacts/index.html 2. http:/www.nrel.gov/learning/ 1. 3. http:/nhnh.essortment.com/c
University of West Georgia - PLAN - 3401
Web Resources1. 2. 3. 4.http:/www.eia.doe.gov/kids/energyfacts/index.html http:/www.nrel.gov/learning/ http:/nhnh.essortment.com/conserveelectri_rsve.htm http:/www.eere.energy.gov/kids/renewable_energy.html
University of West Georgia - PLAN - 3401
Inspiration Checklist_Three non-renewable resources are listed. _Four renewable resources are listed. _8-10 ways to conserve electricity are listed. _8-10 ways to conserve gasoline are listed. _Spelling, grammar, and punctuation are correct. _Suppo
University of West Georgia - PLAN - 3401
ty Vocabularyrovided to help you match the words below with their definitions.ds/energyfacts/index.html ing/ /conserveelectri_rsve.htm v/kids/renewable_energy.html1.LetterVocabulary 1. atmosphere 2. biomass 3. coalDefinitions A. using or p
University of West Georgia - PLAN - 3401
I nspiration Checklist_Three non-renewable resources are l isted. _Four renewable resources are listed. _8-10 ways to conserve electricity are l isted. _8-10 ways to conserve gasoline are listed. _Spelling, grammar, and punctuation are corre
University of West Georgia - PLAN - 3401
Write in 2-3 short paragraphs about the ways you use energy in your everyday life and describe the types of energy used in these activities.
UMass (Amherst) - ECE - 314
Department of Electrical and Computer Engineering University of Massachusetts, Amherst ECE 314: Introduction to Probability and Random Processes Spring 2009 Course Webiste: Available on SPARK. You should log in regularly to check for new announcement
Lake County - ECE - 316
ECE/Philosophy 316 InstructorENGINEERING ETHICSSpring 2009Professor Philip Hillmer, Office: 461 Engineering Library E-mail: hillmer@illinois.edu., Office Telephone: 217.333.2505 Course Home Page http:/courses.ece.uiuc.edu/ece316 The home page h
Lake County - ECE - 316
ECE/Philosophy 316DAILY SCHEDULESpring 2009* = Principles of Effective Writing, available on-line at the University Electronic Reserves: http:/www.library.uiuc.edu/ereserves/ Class #1 Tu 1/20 Course Overview, Gilbane Gold VOLUME I INTRODUCTION
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 1 Assigned: January 27, 2009 Draft Due: February 5, 2009 Final Version Due: February 12, 2009Focus For response paper #1, focus your writing on a careful analysis of one of the following articles found in the intr
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 2Assigned: February 12, 2009 Draft Due: February 19, 2009 Final Version Due: February 26, 2009For your second response paper, choose a case study (from materials distributed in class,* from on-line resources,* o
Lake County - ECE - 316
ECE/Philosophy 316WRITING GUIDELINES Modus OperandiFor each of your three response papers and for your research paper, you will first develop and submit a complete draft. You should plan and compose the draft carefully over several days. The draf
Lake County - ECE - 316
ECE/Philosophy 316 InstructorENGINEERING ETHICSFall 2006Professor Philip Hillmer, Office: 461 Engineering Library E-mail: hillmer@uiuc.edu., Office Telephone: 333-2505 Course Home Page http:/courses.ece.uiuc.edu/ece316 The home page has links t
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 2Assigned: September 14, 2006 Draft Due: September 21, 2006 Final Version Due: September 28, 2006For your second Response Paper, choose one of the following cases listed near the end of the course textbook, Engi
Lake County - ECE - 316
ECE/Philosophy 316 Class #1 Class #2 Th 8/24 Tu 8/29DAILY SCHEDULE Introduction, Course Overview, Gilbane Gold Moral Theory: Concepts and CasesFall 2006Engineering Ethics, Chapter 1: "Engineering Ethics: Making a Difference," 120, 320-22, Case
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 1 Assigned: August 31, 2006 Draft Due: September 7, 2006 Final Version Due: September 14, 2006 FocusFor your first response paper, focus your analysis on one of the following articles from the introductory volume
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 3Assigned: October 12, 2006 Draft Due: October 19, 2006 Final Version Due: October 26, 2006It is the destiny of every human person to decide. The necessity of choice whether our choices are momentous or relativ
Lake County - ECE - 316
ECE/Philosophy 316 InstructorENGINEERING ETHICSFall 2008Professor Philip Hillmer, Office: 461 Engineering Library E-mail: hillmer@illinois.edu., Office Telephone: 217.333.2505 Course Home Page http:/courses.ece.uiuc.edu/ece316 The home page has
Lake County - ECE - 316
ECE/Philosophy 316DAILY SCHEDULEFall 2008* = Principles of Effective Writing Electronic Reserves: http:/www.library.uiuc.edu/ereserves/Class #1 Class #2Tu 8/26 Th 8/28Introduction, Course Overview, Gilbane Gold Moral Theory: Concepts and
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 2Assigned: September 11, 2008 Draft Due: September 18, 2008 Final Version Due: October 2, 2008For your second Response Paper, choose one of the following cases listed near the end of the course textbook, Enginee
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 1 Assigned: September 4, 2008 Draft Due: September 11, 2008 Final Version Due: September 25, 2008Focus For Response Paper #1, focus your writing on a careful analysis of one of the following articles found in the
Lake County - ECE - 316
ECE/Philosophy 316MISSION STATEMENTAssigned: September 2, 2008 Draft Due: September 9, 2008 Final Version with Critical Reflection Due: December 4, 2008Purpose One of the primary objectives of the course is "to study the fundamental structure o
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 3Assigned: September 30, 2008 Complete Draft: October 21, 2008 Final Version Due: October 30, 2008"It is the destiny of every human person to decide." The necessity of choice - whether our choices are momentous
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 3Assigned: February 27, 2007 Complete Draft: March 8, 2007 Final Version Due: March 15, 2007"It is the destiny of every human person to decide." The necessity of choice - whether our choices are momentous or rel
Lake County - ECE - 316
ECE/Philosophy 316 InstructorENGINEERING ETHICSSpring 2007Professor Philip Hillmer, Office: 461 Engineering Library E-mail: hillmer@uiuc.edu., Office Telephone: 333-2505 Course Home Page http:/courses.ece.uiuc.edu/ece316 The home page has links
Lake County - ECE - 316
ECE/Philosophy 316 Class #1 Class #2 Tu 1/16 Th 1/18DAILY SCHEDULE Introduction, Course Overview, Gilbane Gold Moral Theory: Concepts and CasesSpring 2007Engineering Ethics, Chapter 1: "Engineering Ethics: Making a Difference," 120, 320-22, Cas
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 1 Assigned: January 25, 2007 Draft Due: February 1, 2007 Final Version Due: February 15, 2007Focus For Response Paper #1, focus your analysis on one of the following articles distributed in class or found in the i
Lake County - ECE - 316
ECE/Philosophy 316MISSION STATEMENT Assigned: January 23, 2007 Draft Due: January 30, 2007 Final Version Due: April 12, 2007Purpose One of the primary objectives of the course is "to study the fundamental structure of human personhood, the ground
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 2Assigned: February 1, 2007 Draft Due: February 8, 2007 Final Version Due: February 22, 2007For your second Response Paper, choose one of the following cases listed near the end of the course textbook, Engineeri
Ohio State - OHIOLINE - 3000
FACT SHEETAgriculture and Natural ResourcesHYG-3208-08Anthracnose of GrapeMichael A. Ellis and Omer Erincik Department of Plant PathologyAnthracnose of grape was first detected in the United States in the mid-1800s. The disease was probably
Ohio State - OHIOLINE - 3000
FACT SHEETAgriculture and Natural ResourcesHYG-3007-08Anthracnose of Raspberry and BlackberryMichael A. Ellis Department of Plant PathologyAnthracnose is a disease common to raspberries, blackberries, and other brambles or cane fruits. It ca
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 3Assigned: September 27, 2007 Complete Draft: October 16, 2007 Final Version Due: October 25, 2007"It is the destiny of every human person to decide." The necessity of choice - whether our choices are momentous
Lake County - ECE - 316
ECE/Philosophy 316RESPONSE PAPER 2Assigned: September 13, 2007 Draft Due: September 20, 2007 Final Version Due: September 27, 2007For your second Response Paper, choose one of the following cases listed near the end of the course textbook, Engi