35 Pages

Chapter15

Course: ECONOMIC 102, Spring 2012
School: College of the Siskiyous
Rating:
 
 
 
 
 

Word Count: 1829

Document Preview

for Statistics Managers Using Microsoft Excel 5th Edition Chapter 15 Multiple Regression Model Building Statistics for Managers Using Microsoft Excel, 5e 2008 Prentice-Hall, Inc. Chap 15-1 Learning Objectives In this chapter, you learn: To use quadratic terms in a regression model To use transformed variables in a regression model To measure the correlation among independent variables To build a regression...

Register Now

Unformatted Document Excerpt

Coursehero

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.
for Statistics Managers Using Microsoft Excel 5th Edition Chapter 15 Multiple Regression Model Building Statistics for Managers Using Microsoft Excel, 5e 2008 Prentice-Hall, Inc. Chap 15-1 Learning Objectives In this chapter, you learn: To use quadratic terms in a regression model To use transformed variables in a regression model To measure the correlation among independent variables To build a regression model, using either the stepwise or best-subsets approach To avoid the pitfalls involved in developing a multiple regression model Statistics for Managers Using Microsoft Excel, 5e Chap 15-2 Nonlinear Relationships The relationship between the dependent variable and an independent variable may not be linear Can review the scatter plot to check for nonlinear relationships Example: Quadratic model 2 Yi = 0 + 1X1i + 2 X1i + i The second independent variable is the square of the first variable Statistics for Managers Using Microsoft Excel, 5e Chap 15-3 Quadratic Regression Model Model form: 2 Yi = 0 + 1X1i + 2 X1i + i where: 0 = Y intercept 1 = regression coefficient for linear effect of X on Y 2 = regression coefficient for quadratic effect on Y i = random error in Y for observation i Statistics for Managers Using Microsoft Excel, 5e Chap 15-4 Quadratic Regression Model Y Y X X residuals residuals X Linear fit does not give random residuals Statistics for Managers Using Microsoft Excel, 5e X Nonlinear fit gives random residuals Chap 15-5 Quadratic Regression Model 2 Yi = 0 + 1X1i + 2 X1i + i Quadratic models may be considered when the scatter diagram takes on one of the following shapes: Y Y 1 < 0 2 > 0 X1 Y 1 > 0 2 > 0 X1 Y 1 < 0 2 < 0 X1 1 > 0 2 < 0 1 = the coefficient of the linear term 2 = the coefficient of the squared term Statistics for Managers Using Microsoft Excel, 5e Chap 15-6 X1 Quadratic Regression Equation Collect data and use Excel to calculate the regression equation: = b +b X +b X2 Yi 0 1 1i 2 1i Test for Overall Relationship H0: 1 = 2 = 0 (no overall relationship between X and Y) H1: 1 and/or 2 0 (there is a relationship between X and Y) F-test statistic = MSR MSE Statistics for Managers Using Microsoft Excel, 5e Chap 15-7 Testing for Significance Quadratic Effect Testing the Quadratic Effect Compare quadratic regression equation ^ Yi = b 0 + b1X1i + b 2 X12 i with the linear regression equation ^ Yi = b 0 + b1X1i Statistics for Managers Using Microsoft Excel, 5e Chap 15-8 Testing for Significance Quadratic Effect Testing the Quadratic Effect Consider the quadratic regression equation ^ Yi = b 0 + b1X1i + b 2 X12 i Hypotheses H0: 2 = 0 (The quadratic term does not improve the model) H1: 2 0 (The quadratic term improves the model) Statistics for Managers Using Microsoft Excel, 5e Chap 15-9 Testing for Significance Quadratic Effect Testing the Quadratic Effect Hypotheses H0: 2 = 0 (The quadratic term does not improve the model) H1: 2 0 (The quadratic term improves the model) The test statistic is b2 2 t= Sb 2 d.f. = n 3 where: b2 = estimated slope 2 = hypothesized slope (zero) Sb2 = standard error of the slope Statistics for Managers Using Microsoft Excel, 5e Chap 15-10 Testing for Significance Quadratic Effect Testing the Quadratic Effect If the t test for the quadratic effect is significant, keep the quadratic term in the model. Statistics for Managers Using Microsoft Excel, 5e Chap 15-11 Quadratic Regression Example 3 1 7 2 8 3 15 5 22 7 33 8 40 10 54 12 67 13 70 14 78 15 85 15 87 16 99 Purity increases as filter time increases: 17 Purity vs. Time 100 80 Purity Purity Filter Time 60 40 20 0 0 5 Statistics for Managers Using Microsoft Excel, 5e 10 15 20 Time Chap 15-12 Quadratic Regression Example Simple (linear) regression results: ^ t statistic, F statistic, and Y = -11.283 + 5.985 Time 2 Coefficients Intercept adjusted r are all high, but the residuals are not random: Standard Error t Stat P-value -11.28267 -3.25332 0.00691 5.98520 Time 3.46805 0.30966 19.32819 2.078E-10 Time Residual Plot 10 5 Regression Statistics 0.96888 Adjusted R Square 0.96628 Standard Error 6.15997 373.57904 Significance F 2.0778E-10 Residuals R Square F 0 -5 0 5 10 15 -10 Time Statistics for Managers Using Microsoft Excel, 5e Chap 15-13 20 Quadratic Regression Example Quadratic regression results: ^ Y = 1.539 + 1.565 Time + 0.245 (Time)2 Coefficients t Stat P-value Intercept 1.53870 2.24465 0.68550 0.50722 Time 1.56496 0.60179 2.60052 0.24516 0.03258 7.52406 5 0 0 5 0.02467 Time-squared 10 Residuals Standard Error Time Residual Plot 10 15 20 1.165E-05 -5 Time Time-squared Residual Plot F R Square 0.99494 Adjusted R Square 0.99402 Standard Error Significance F 2.59513 1080.7330 2.368E-13 The quadratic term is significant and improves the model: adjusted r2 is higher and SYX is lower, residuals are now random. Statistics for Managers Using Microsoft Excel, 5e 10 Residuals Regression Statistics 5 0 -5 0 100 200 Time-squared Chap 15-14 300 400 Using Transformations in Regression Analysis Idea: Non-linear models can often be transformed to a linear form Can be estimated by least squares if transformed Transform X or Y or both to get a better fit or to deal with violations of regression assumptions Can be based on theory, logic or scatter plots Statistics for Managers Using Microsoft Excel, 5e Chap 15-15 The Square Root Transformation The square-root transformation Yi = 0 + 1 X1i + i Used to overcome violations of the equal variance assumption fit a non-linear relationship Statistics for Managers Using Microsoft Excel, 5e Chap 15-16 The Square Root Transformation Yi = 0 + 1 X1i + i Yi = 0 + 1X1i + i Shape of original relationship Y Relationship when transformed Y X X Y b1 > 0 Y b1 < 0 X Statistics for Managers Using Microsoft Excel, 5e X Chap 15-17 The Log Transformation The Multiplicative Model: Original multiplicative model Transformed multiplicative model log Yi = log 0 + 1 log X1i + log i Yi = 0 X1i1 i The Exponential Model: Original multiplicative model Yi = e 0 +1X1i + 2 X 2i i Transformed exponential model ln Yi = 0 + 1X1i + 2 X 2i + ln i Statistics for Managers Using Microsoft Excel, 5e Chap 15-18 Interpretation of Coefficients For the multiplicative model: log Yi = log 0 + 1 log X1i + log i When both dependent and independent variables are transformed: coefficient The of the independent variable Xk can be interpreted as follows: a 1 percent change in Xk leads to an estimated bk percentage change in the mean value of Y. Statistics for Managers Using Microsoft Excel, 5e Chap 15-19 Collinearity Collinearity: High correlation exists among two or more independent variables The correlated variables contribute redundant information to the multiple regression model Statistics for Managers Using Microsoft Excel, 5e Chap 15-20 Collinearity Including two highly correlated independent variables can adversely affect the regression results No new information provided Can lead to unstable coefficients (large standard error and low t-values) Coefficient signs may not match prior expectations Statistics for Managers Using Microsoft Excel, 5e Chap 15-21 Some Indications of Strong Collinearity Incorrect signs on the coefficients Large change in the value of a previous coefficient when a new variable is added to the model A previously significant variable becomes insignificant when a new independent variable is added Statistics for Managers Using Microsoft Excel, 5e Chap 15-22 Detecting Collinearity Variance Inflationary Factor VIFj is used to measure collinearity: 1 VIFj = 2 1 R j where R2j is the coefficient of determination from a regression model that uses Xj as the dependent variable and all other X variables as the independent variables If VIFj > 5, Xj is highly correlated with the other independent variables Statistics for Managers Using Microsoft Excel, 5e Chap 15-23 Model Building Goal is to develop a model with the best set of independent variables Easier to interpret if unimportant variables are removed Lower probability of collinearity Stepwise regression procedure Provide evaluation of alternative models as variables are added Best-subset approach Try all combinations and select the model with the highest adjusted r2 Statistics for Managers Using Microsoft Excel, 5e Chap 15-24 Stepwise Regression Idea: develop the least squares regression equation in steps, adding one independent variable at a time and evaluating whether existing variables should remain or be removed The coefficient of partial determination is the measure of the marginal contribution of each independent variable, given that other independent variables are in the model Statistics for Managers Using Microsoft Excel, 5e Chap 15-25 Best Subsets Regression Idea: estimate all possible regression equations using all possible combinations of independent variables Choose the best model by looking for the highest adjusted r 2 The model with the largest adjusted r2 will also have the smallest SYX Stepwise regression and best subsets regression can be performed using Excel with PHStat add in Statistics for Managers Using Microsoft Excel, 5e Chap 15-26 Alternative Best Subsets Criterion Calculate the value Cp for each potential regression model Consider models with Cp values close to or below k + 1 k is the number of independent variables in the model under consideration Statistics for Managers Using Microsoft Excel, 5e Chap 15-27 Alternative Best Subsets Criterion The Cp Statistic 2 (1 Rk )(n T ) Cp = (n 2(k + 1)) 2 1 RT Where k = number of independent variables included in a particular regression model T = total number of parameters to be estimated in the full regression model 2 Rk = coefficient of multiple determination for model with k independent variables R 2 = coefficient of multiple determination for full model with T all T estimated parameters Statistics for Managers Using Microsoft Excel, 5e Chap 15-28 8 Steps in Model Building 1. Choose independent variables to include in the model 2. Estimate full model and check VIFs and check if any VIFs > 5 If no VIF > 5, go to step 3 If one VIF > 5, remove this variable If more than one, eliminate the variable with the highest VIF and repeat step 2 3. Perform best subsets regression with remaining variables. 4. List all models with Cp close to or less than (k + 1). Statistics for Managers Using Microsoft Excel, 5e Chap 15-29 8 Steps in Model Building 5. Choose the best model. Consider parsimony. Do extra variables make a significant contribution? 6. Perform complete analysis with chosen model, including residual analysis. 7. Transform the model if necessary to deal with violations of linearity or other model assumptions. 8. Use the model for prediction and inference. Statistics for Managers Using Microsoft Excel, 5e Chap 15-30 Model Validation The final step in the model-building process is to validate the selected regression model. Collect new data and compare the results. Compare the results of the regression model to previous results. If the data set is large, split the data into two parts and cross-validate the results. Statistics for Managers Using Microsoft Excel, 5e Chap 15-31 Model Building Flowchart Choose X1,X2,,Xk Run regression to find VIFs Any VIF>5? Run best subsets regression to obtain best models in terms of Cp No Yes Remove variable with highest VIF Yes More than one? Do complete analysis Add quadratic term and/or transform variables as indicated No Remove this X Statistics for Managers Using Microsoft Excel, 5e Perform predictions Chap 15-32 Pitfalls and Ethical Considerations To avoid pitfalls and address ethical considerations: Understand that interpretation of the estimated regression coefficients are performed holding all other independent variables constant Evaluate residual plots for each independent variable Evaluate interaction terms Statistics for Managers Using Microsoft Excel, 5e Chap 15-33 Pitfalls and Ethical Considerations To avoid pitfalls and address ethical considerations: Obtain VIFs for each independent variable before determining which variables should be included in the model. Examine several alternative models using best-subsets regression. Use other methods when the assumptions necessary for least-squares regression have been seriously violated. Statistics for Managers Using Microsoft Excel, 5e Chap 15-34 Chapter Summary In this chapter, we have Developed the quadratic regression model Discussed using transformations in regression models The multiplicative model The exponential model Described collinearity Discussed model building Stepwise regression Best subsets Addressed pitfalls in multiple regression and ethical considerations Statistics for Managers Using Microsoft Excel, 5e Chap 15-35
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:

College of the Siskiyous - ECONOMIC - 102
Statistics for ManagersUsing Microsoft Excel5th EditionChapter 16Time-Series Forecasting and IndexNumbersStatistics for Managers Using Microsoft Excel, 5e 2008 Prentice-Hall, Inc.Chap 16-1Learning ObjectivesIn this chapter, you learn: About seve
College of the Siskiyous - ECONOMIC - 102
Statistics for ManagersUsing Microsoft Excel5th EditionChapter 17Decision MakingStatistics for Managers Using Microsoft Excel, 5e 2008 Prentice-Hall, Inc.Chap 17-1Learning ObjectivesIn this chapter, you learn: To use payoff tables and decision tr
College of the Siskiyous - ECONOMIC - 102
Statistics for ManagersUsing Microsoft Excel5th EditionChapter 18Statistical Applications in QualityManagementStatistics for Managers Using Microsoft Excel, 5e 2008 Prentice-Hall, Inc.Chap 18-1Learning ObjectivesIn this chapter, you learn: The b
College of the Siskiyous - ECONOMIC - 102
Mid-term Review 20121. Mutually exclusive events cannot share similar characteristics.a) Trueb) False2. What is your course major isa) Qualitativeb) Quantitative-discretec) Quantitative-continuous3. What can be said about a set of data when its st
College of the Siskiyous - ECONOMIC - 102
Quiz review (elementary statistics)1. Sensitive to extreme varies.(e) Antiemetic mean2. Easiest to complete.(c) Mode3. If two events are collectively exhaustive, what is the probability that or the other occurs?(c) 1.004. If two events are collecti
College of the Siskiyous - ECONOMIC - 102
Types of survey errors Coverage error or selection bias Non response error or bias Sampling error Measurement error7.3.2. Coverage or frame error13. In most area surveys primary sampling units comprise clusters of geographic unitsgenerally called e
College of the Siskiyous - ECONOMIC - 102
ASMacroeconomics/InternationalEconomyAggregateDemandThissectiongivesyouaplatformforunderstandingissuessuchas inflation,economic growthandunemployment.Aggregatedemand(AD)andaggregatesupply(AS)analysisprovidesawayof illustratingmacroeconomicrelationship
College of the Siskiyous - ECONOMIC - 102
Tutorial 1BA161MacroeconomicsYeong Pui YanSCSJ-0007017Lecturer: Ms.NorlindaDate: 29th September 2011Fall Semester1. Suppose that the U.S non-institutional adult population is 230 million and the labor force participationrate is 67 percent.a. Wha
College of the Siskiyous - ECONOMIC - 102
Chapter 29Banking andthe Money Supply 2009 South-Western/ Cengage LearningMoney Aggregates Money aggregates Measures of money supply Defined by the Fed M1 = Narrow definition of money Currency (including coins) Nonbanking public Checkable depos
College of the Siskiyous - ECONOMIC - 102
IntroductionVirgin Trains is a fast and reliable state-of-the-art trains,capable of speeds of up to125 miles per hour. Virgin Trains operates the West Coast rail franchise with trainsrunning along various routes including from Glasgow, Manchester and B
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Management, 6eSchermerhornPrepared byCheryl WyrickCalifornia State Polytechnic University PomonaJohn Wiley &amp; Sons, IncCOPYRIGHTCopyright 1999 John Wiley &amp; Sons, Inc. All rights reserved.Reproduction or translation of this work beyond that named in
College of the Siskiyous - ECONOMIC - 102
Compare or contrast two cars of your choice.ENG 101English CompositionYeong Pui YanSCSJ-0007017Lecturer: Ms.ShiqinDate: 20 September 2011Fall SemesterBrand Perodua is Malaysias second large car manufacturer after Proton. Its carsare very popular
College of the Siskiyous - ECONOMIC - 102
Topic: Effect of the watching YouTube.ENG 101English CompositionYeong Pui YanSCSJ-0007017Lecturer: Ms.ShiqinDate: 20 September 2011Fall SemesterYouTube is a famous video-sharing website that let people upload or downloadthe video. People also can
Maryland - BIOL - 107
A Tour of the CellChapter 6Objectives Be familiar with the regions of the cell andthe overall role of each region Be familiar with the basic organelles andtheir function Be familiar with the way neighboring cellscan communicateCell Types All liv
Babson College - B-SCHOOL - 101
MERGERS AND ACQUISITIONSSlide Presentation #3 onAcquisition ProcessProfessor LevitinSpring 2012ACQUISITION PROCESSThe purpose of these slides is to discuss the acquisition process in thecontext of an integrated process consisting of 15 phases:1.St
Babson College - B-SCHOOL - 101
MERGERS AND ACQUISITIONSSlide Presentation #4 onAcquisition ValuationProfessor LevitiSpring 2012TOPICS1.PRICING AN ACQUISITION TARGET2.MERGER CONSEQUENCEs ANALYSISSpring 2012Valuation of Mergers and Acquisitions2TOPIC 1: PRICING AN ACQUISITIO
Babson College - B-SCHOOL - 101
Slide Presentation #10 onDEAL STRUCTURING:PUTTING IT ALL TOGETHER (PART VI)Professor LevitinSpring 2012Spring 2012Deal Structuring - PuttingIt All Together1DEAL STRUCTURINGTopics1. Acquisitions Techniques (Part I)2. Finance Issues (Part II)3.
Babson College - B-SCHOOL - 101
MERGERS AND ACQUISITIONSLEGAL AND REGULATORYCONSIDERATIONSPresentation #19Spring 2012Professor LevitinTOPICSI.II.III.IV.V.Federal Law on AcquisitionsState Law on AcquisitionsLegal Power and Duties of Boards of DirectorsAntitrust Legislation
Babson College - B-SCHOOL - 101
M&amp;A Review NotesI. INTRODUCTIONA. What Makes a Deal Successful?1. Creation of market value is the primary measure of success2. Creation of market value may be attributed to:a. Improved strategic positionb. Increased organizational strengthc. Greate
Babson College - B-SCHOOL - 101
Slide Presentation #7 onDEAL STRUCTURING:TAXES (Part III)Professor LevitinSpring 2012DEAL STRUCTURINGTopics1. Acquisitions Techniques (Part I)2. Finance Issues (Part II)3. Tax Issues (Part III)4. Accounting Issues (Part IV)5. Voting Rules (Part
Babson College - B-SCHOOL - 101
Slide Presentation #8 onDEAL STRUCTURING:ACCOUNTING (PART IV)Professor LevitinSpring 2012DEAL STRUCTURINGTopics1.Acquisitions Techniques (Part I)2.Finance Issues (Part II)3.Tax Issues (Part III)4.Accounting Issues (Part IV)5.Voting Rules (Part
Babson College - B-SCHOOL - 101
MERGERS AND ACQUISITIONS:TAKEOVER DEFENSESPresentation #16Spring 2012Professor L. LevitinTAKEOVER DEFENSESProactive Tactics (Before Hostile Bid)Tactics Embedded in Definitive AgreementReactive Tactics (After a Hostile Bid)Spring 2012Takeover Def
Babson College - B-SCHOOL - 101
MERGERS AND ACQUISITIONSINTEGRATIONPresentation #17Spring 2012Professor L. LevitinINTEGRATIONTailor integration to identify value, keepthe right people and focus on criticaldecisions Bain &amp; Company Common mistakes Missedtargets Loss of key peo
Babson College - B-SCHOOL - 101
MERGERS AND ACQUISITIONSCORPORATE RESTRUCTURINGPresentation #18Spring 2012Professor L. LevitinOVERVIEW OF RESTRUCTURING Restructuring is the realignment of the ownership, operations, orcapital structure Common goal in corporate restructurings crea
Babson College - B-SCHOOL - 101
I have included the entire midterm from Spring 2009 and 2 pop quizzes from Spring2011.Here is the problem: this semester I am using a new text and the sequence of topicscovered is different from prior semesters. This means some of the questions coverma
CSU Long Beach - CECS - 463
%CECS 463 Spring 2012%ASSIGNMENT #4 ? MATLAB CODE FOR OPERATIONS ON SEQUENCES % Assignment #4% Problem 4.1 Signal Synthesis%clear all; clc;figure(1); clf% a) x(n) = (m+1)[delta(n-2m)-delta(n-2m-1)], 0&lt;=m&lt;=10, 0&lt;=n&lt;=25n = [0:25];x = zeros(1,length
CSU Long Beach - CECS - 463
CSU Long Beach - CECS - 463
Name: _CECS 463 System-on-ChipHomework Assignment #2: MATLABDue: 2/7/2012I. Enter these commands interactively in sequence in MATLAB and record results. Be sure to understand whatoperations are being done in each case.Arithmetic Exercises1. r=12.5;
CSU Long Beach - CECS - 463
Name: _CECS 463 SOC IIDue: 2/14/2012Assignment #3: Sampling of WaveformsOften we must sample waveforms to obtain data for processing through filters. Here is an exercise ingenerating via Matlab waveforms of various shapes and periods.In each of the
CSU Long Beach - CECS - 463
Name: _CECS 463 SOC IIAssignment #4: Discrete Time SystemsDue: 2/28/20121. Generate and plot the samples (use stem function) of the following sequences using MATLAB()[ ()()](a) ( )(b) ( ) ( )()2. Let x(n)=cfw_1,-2,4,6,-5*,8,10. Generate and
CSU Long Beach - CECS - 463
Name: _CECS 463 SOC IIAssignment #6: Discrete Time Fourier TransformDue: March 22, 20121. Write a Matlab function to compute the DTFT of a finite duration sequence. The form of the functionshould be:function [X]=my_dtft(x,n,w)%Compute Discrete Time
CSU Long Beach - CECS - 463
Discrete Time Signals andSystemsCECS 463 Spring 2011Discrete Time SignalsSequence:x(n) = cfw_x(n)=cfw_, x(-1), x(0)*, x(1), where * indicates the sample at n=0.x(n) is a row vector of finite durationn vector indicates time indexes of samplesn=[-3
CSU Long Beach - CECS - 463
CECS 463System On ChipChapter 1 IntroductionDigital Signal Processing Using MATLAB and Wavelets, M.Weeks, Infinity Science Press, 2007, pp. 1-271IntroductionNumbersBase (Radix=R) n-digit form: N =(dn-1dn-1 d1d0)Base 10 (R=10) digits: 0,1,2 9 (DE
CSU Long Beach - CECS - 463
Lecture #2 PHASORS IN THE COMPLEX PLANE1. A vector r drawn in the complex plane. Let =t = 2ft where f is the linear frequency and is theangular frequency. Now increases with time and the vector r will rotate in the complex plane about theorigin at a ra
CSU Long Beach - CECS - 463
CECS 463System On ChipChapter 2 MATLABDigital Signal Processing Using MATLAB and Wavelets, M.Weeks, Infinity Science Press, 2007, pp. 29-841MATLAB BasicsScalars (or constants): a=3.5 or b=piVectors (row or column): c=[1 2] ord=[3;4]Matrices: A =
CSU Long Beach - CECS - 463
CECS 463System On ChipDiscrete Time FourierTransform1Discrete Time Fourier Transform2Examples3Two Important PropertiesPeriodicity: The DTFT is periodic in withperiod 2 like so: X(ej)= X(ej(+2)We only have to plot over [0,2 ] or [- ,]Symmetry:
CSU Long Beach - CECS - 463
clear all; clf;pause on; hold on;R=1*exp(j*30*pi/180); %Phasorf=1; T=1/f ; %Frequency of sinusoid phasork=[0:0.01:2*pi]; plot(cos(k),sin(k),'k'); grid; %Plot unit circlestep=T/100; %Step intervalfor n=1:101 t(n)=n*step; R=R*exp(j*2*pi*f*step); %A
CSU Long Beach - CECS - 463
lear all; clf;pause on; hold on;fprintf('START\n');R=1*exp(j*30*pi/180); %Phasorfigure(1);for m=50:-5:5k=[0:0.01:2*pi]; plot(cos(k),sin(k),'k'); %Plot unit circle f=1; w=2*pi*f; T=1/f ; %Frequency of sinusoid phasorR=1*exp(j*30*pi/180); %Phasor p
CSU Long Beach - CECS - 463
CECS 463System On ChipChapter 1 IntroductionDigital Signal Processing Using MATLAB and Wavelets, M.Weeks, Infinity Science Press, 2007, pp. 1-271IntroductionNumbersBase (Radix=R) n-digit form: N =(dn-1dn-1 d1d0)Base 10 (R=10) digits: 0,1,2 9 (DE
CSU Long Beach - CECS - 463
CECS 463System On ChipChapter 2 MATLABDigital Signal Processing Using MATLAB and Wavelets, M.Weeks, Infinity Science Press, 2007, pp. 29-841MATLAB BasicsScalars (or constants): a=3.5 or b=piVectors (row or column): c=[1 2] ord=[3;4]Matrices: A =
CSU Long Beach - CECS - 463
CECS 463System On ChipChapter 3 FiltersDigital Signal Processing Using MATLAB and Wavelets, M.Weeks, Infinity Science Press, 2007, pp. 85-1321FiltersComponentsExample: Let a=[1,2,3,4], b=[2,1,2,1] asinputsnth output sample isc(n)=0.5a(n)-0.5b(n
CSU Long Beach - CECS - 463
The Discrete FourierTransformPeriodically SampledSignalsThe DFTThe DFT:N 1X (m) = x(n) e j wN n m for m = 0,1,.N 1n =0where wN = 2/NSample vector x has length NSequence x(n) is periodic of period N sothat sampled signal x(nkN) = x(n) for anyk
CSU Long Beach - CECS - 529
CECS 429/529 Exam 2, Fall 2010, Dr. Ebert1a. Consider the following table which indicates how often a term occurs within a given document.archerybaseballcyclingdodgeballDoc1 Doc2 Doc3 Doc400600083000451000Express each document as a
CSU Long Beach - CECS - 529
CECS 429/529 Practice Final Exam, Fall 2010, Dr. Ebert1. When intersecting the postings lists of more than two terms, a common heuristic is to select thelists to intersect in terms of increasing size. For example, for three terms whose list sizes are 20
CSU Long Beach - CECS - 529
CECS 429/529 Quiz 1, Fall 2010, Dr. Ebert1. Given the documents Doc 1. Locate apple in the dictionary. Doc 2. Retrieve its postings. Doc 3. Locate banana in the dictionary.Provide the term-document incidence matrix for this document collection. (10 p
CSU Long Beach - CECS - 529
CECS 429/529 Quiz 2, Fall 2010, Dr. Ebert1. Generally speaking, what eect does stemming have on the precision and recall of a booleanquery? Explain. (10 points)2. Give an example of two words that share the same root (i.e. stem), but whose meanings are
CSU Long Beach - CECS - 529
CECS 429/529 Quiz 3, Fall 2010, Dr. EbertDirections. Complete this quiz in one sitting, and in time not exceeding one hour. You may useyour textbook and class notes, but no other resources. You are not allowed to communicate withanyone except the instr
CSU Long Beach - CECS - 529
CECS 429/529 Quiz 4, Fall 2010, Dr. Ebert1. For the twelve-balls puzzle, how much information, in bits, is gained in the worst case whenbalancing six balls (three on each side) for the rst balancing? Explain and show work. Assume thatthe uncertainty li
CSU Long Beach - CECS - 529
CECS 429/529 Quiz 5, Fall 2010, Dr. Ebert1. Let n be a nonnegative integer. How many bits are needed to encode 2n when using base-2numerical encoding? variable-byte encoding? -encoding. Explain. (20 points)2. Provide a Human code for objects cfw_x1 , .
CSU Long Beach - CECS - 529
CECS 429/529 Quiz 6, Fall 2010, Dr. Ebert1. Let t be a term in a document collection of size N . Give the denitions for dft , and idft . (10points)2. Let V (d) denote the vector associated with document d in the vector-space model for documents.What i
CSU Long Beach - CECS - 529
CECS 429/529 Quiz 7, Fall 2010, Dr. Ebert1. For a collection of 100 documents, 20 results for a query were returned, and yielded precisionP = 0.2, and recall R = 0.1. Compute the number of true positives, false positives, true negatives,and false negat
CSU Long Beach - CECS - 529
IntroductionIntroduction to Information RetrievalIntroduction toInformation RetrievalCS276Information Retrieval and Web SearchChristopher Manning and PrabhakarRaghavanLecture 1: Boolean retrievalIntroductionIntroduction to Information Retrieval