6 Pages

d13

Course: STAT 479, Spring 2012
School: Iowa State
Rating:
 
 
 
 
 

Word Count: 269

Document Preview

D13 SAS EXAMPLE Program data evap; input wtloss time humid; time=time-5.5; humid=humid-.3; humidsq=humid*humid; timehumid=time*humid; timehumidsq=time*humidsq; datalines; 4.3 4 .2 5.6 5 .2 6.4 6 .2 8.0 7 .2 4.0 4 .3 5.2 5 .3 6.6 6 .3 7.5 7 .3 3.2 4 .4 4.0 5 .4 5.6 6 .4 6.4 7 .4 ; run; proc reg; model wtloss= time humid humidsq timehumid timehumidsq/vif; model wtloss= time humid humidsq; title 'Regressiom Models...

Register Now

Unformatted Document Excerpt

Coursehero >> Iowa >> Iowa State >> STAT 479

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.
D13 SAS EXAMPLE Program data evap; input wtloss time humid; time=time-5.5; humid=humid-.3; humidsq=humid*humid; timehumid=time*humid; timehumidsq=time*humidsq; datalines; 4.3 4 .2 5.6 5 .2 6.4 6 .2 8.0 7 .2 4.0 4 .3 5.2 5 .3 6.6 6 .3 7.5 7 .3 3.2 4 .4 4.0 5 .4 5.6 6 .4 6.4 7 .4 ; run; proc reg; model wtloss= time humid humidsq timehumid timehumidsq/vif; model wtloss= time humid humidsq; title 'Regressiom Models with and without Interaction Terms'; run; SAS Log 3 4 5 6 7 8 9 10 data evap; input wtloss time humid; time=time-5.5; humid=humid-.3; humidsq=humid*humid; timehumid=time*humid; timehumidsq=time*humidsq; datalines; NOTE: The data set WORK.EVAP has 12 observations and 6 variables. NOTE: DATA statement used (Total process time): real time 0.09 seconds cpu time 0.01 seconds 23 24 25 26 27 28 29 30 ; run; proc reg; model wtloss= time humid humidsq timehumid timehumidsq/vif; model wtloss= time humid humidsq; title 'Regressiom Models with and without Interaction Terms'; run; SAS Output Regressiom Models with and without Interaction Terms The REG Procedure Model: MODEL1 Dependent Variable: wtloss Number of Observations Read Number of Observations Used 12 12 1 Analysis of Variance Sum of Squares 24.08467 0.28200 24.36667 Mean Square 4.81693 0.04700 Source Error Model Corrected Total DF 5 6 11 F Value 102.49 Pr > F <.0001 Root MSE Dependent Mean Coeff Var 0.21679 5.56667 3.89452 R-Square Adj R-Sq 0.9884 0.9788 Parameter Estimates Parameter Estimate 5.82500 1.19000 -6.37500 -38.75000 -0.35000 -3.50000 Standard Error 0.10840 0.09695 0.76649 13.27592 0.68557 11.87434 Variance Inflation 0 3.00000 1.00000 1.00000 1.00000 3.00000 Variable Intercept time humid humidsq timehumid timehumidsq DF 1 1 1 1 1 1 t Value 53.74 12.27 -8.32 -2.92 -0.51 -0.29 Pr > |t| <.0001 <.0001 0.0002 0.0267 0.6279 0.7781 Regressiom Models with and without Interaction Terms The REG Procedure Model: MODEL2 Dependent Variable: wtloss Number of Observations Read Number of Observations Used 12 12 2 Analysis of Variance Sum of Squares 24.06833 0.29833 24.36667 Mean Square 8.02278 0.03729 Source Model Error Corrected Total DF 3 8 11 F Value 215.14 Pr > F <.0001 Root MSE Dependent Mean Coeff Var 0.19311 5.56667 3.46905 R-Square Adj R-Sq 0.9878 0.9832 Parameter Estimates Parameter Estimate 5.82500 1.16667 -6.37500 -38.75000 Standard Error 0.09656 0.04986 0.68275 11.82555 Variable Intercept time humid humidsq DF 1 1 1 1 t Value 60.33 23.40 -9.34 -3.28 Pr > |t| <.0001 <.0001 <.0001 0.0112
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:

Iowa State - STAT - 479
Example E3SAS Program data mileage; input size $ @; do i=1 to 4; input mpg @; output; end; drop i; datalines; 300 16.6 16.9 15.8 350 14.4 14.9 14.2 400 12.4 12.7 13.3 450 11.5 12.8 12.1 ; run;15.5 14.1 13.6 12.0proc glm data=mileage; class size; model
Iowa State - STAT - 479
Example E4SAS Program goptions hsize=7.5 in vsize= 5.5 in rotate=landscape targetdevice=pscolor; data peanuts; input fertilizer $ yield height; label fertilizer='Fertilizer' yield='Yield' height='Height'; datalines;C C C C C C C C C C S S S S S S S S S
Iowa State - STAT - 479
Example F1SAS Program data hogs; input litter gain; datalines; 1 1.18 1 1.11 2 1.36 2 1.65 3 1.37 3 1.40 4 1.07 4 0.90 ; run; proc glm data=hogs; class litter ; model gain = litter ; random litter/test; title 'Average Daily Gain in Swine'; run;SAS Outpu
Iowa State - STAT - 479
Example F2SAS Program data hogs; input litter gain; datalines; 1 1.18 1 1.11 2 1.36 2 1.65 3 1.37 3 1.40 4 1.07 4 0.90 ; run; proc mixed data=hogs cl; class litter ; model gain = ; random litter/solution; estimate 'Litter 1 Effect' | estimate 'Litter 2 E
Iowa State - STAT - 479
Example F3SAS Program data hogs; input litter gain; datalines; 1 1.18 1 1.11 2 1.36 2 1.65 3 1.37 3 1.40 4 1.07 4 0.90 ; run; proc mixed data=hogs noclprint noinfo method=type3 asycov cl; class litter ; model gain = ; random litter/solution; title 'Avera
Iowa State - STAT - 479
Example F7SAS Program data auto; input driver 1. @; do car=1 to 5; input mpg @; output; end; datalines; 1 25.3 28.9 24.8 1 25.2 30.0 25.1 2 33.6 36.7 31.7 2 32.9 36.5 31.9 3 27.7 30.7 26.9 3 28.5 30.4 26.3 4 29.2 32.4 27.7 4 29.3 32.4 28.9 ; run;28.4 27
Iowa State - STAT - 479
Example F8SAS Program data turnip; input plant leaf x1-x2; drop x1-x2; calcium=x1; output; calcium=x2; output; cards; 1 1 3.28 3.09 1 2 3.52 3.48 1 3 2.88 2.80 2 1 2.46 2.44 2 2 1.87 1.92 2 3 2.19 2.19 3 1 2.77 2.66 3 2 3.74 3.44 3 3 2.55 2.55 4 1 3.78 3
Iowa State - STAT - 479
Example F11SAS Program data soybean; input trt $ @; do rep=1 to 5; input yield @; output; end; datalines; check 8 10 12 13 11 arasan 2 6 7 11 5 spergon 4 10 9 8 10 samesan 3 5 9 10 6 fermate 9 7 5 5 3 ; run; proc mixed order=data method=type3 covtest cl;
Iowa State - STAT - 404
Handout
Iowa State - STAT - 404
Simple regression (Aug 23, 2010)ReviewBasic equations for simple regressionThe purpose of regression is to describe the relationship between a response variable y and apredictor variable X, and to evaluate the strength of the relationship if it exists
Iowa State - STAT - 404
September 9, 2010The assumptions of linear regressionIntroductionMultiple regression is used to estimate relationships between a response (dependent) variable and one or moreexplanatory (independent) variables. The multiple regression model with k pre
Iowa State - STAT - 404
Case Analysis:Influential data points and outliersSeptember 12, 2006IntroductionThe process o f doing regression can be divided into four steps: specification, estimation, evaluation and criticism.So far, we have concentrated on the first three. Mode
Iowa State - STAT - 404
Stat 404 (Fall 2006)Modified Levene Test for Heterogeneity of Variances1.Run your model (whether simple,multiple, polynomial or other); outputand plot the residuals.Proc Reg;model y = X/ p xpx i stb influence;output out=out1 r=e1 p = yhat1; run;P
Cornell - ENGRD - 2700
Mathematics 2930. Fall 2009 Prelim I IThursday, November 19, 2009 7.30 PM - 9 PMInstructions: Write your name, your TAs name and section number on your exam booklet No calculators, other electronic devices, or notes are allowed in this exam. Give rea
Cornell - ENGRD - 2700
Chadron State College - MGMT - 620
Week 1Assignment 2Leader/Follower SituationIn order for an organization to be able to accomplish its goals and succeed, the company musthave both qualified managers and leadership. While managers and leaders have qualities and job dutiesthat sometime
Chadron State College - MGMT - 620
1. What is your personal definition of leadership?Personally, I think leadership is about being able to inspire people to perform better than theynormally would have performed. I have been managed by a lot of people that thought of themselvesas leaders
Chadron State College - MGMT - 620
Self Assessment Review:After taking the Do You Have What It Takes to Be a Leader Self Assessment, my score of74/100 suggests that I have excellent leadership skills. Personally, I think I'm a good leader and I agreewith the assessment. But, I can't say
Chadron State College - MGMT - 620
How Rick Wagoner Lost GMAfter reading the other posts that were posted prior to mine, it seems that all of the other postswere focused on the positive traits that a great leader brings to an organization. I decided to go in adifferent direction. If a g
Chadron State College - MGMT - 620
Week 2 - Assignment 1Leadership ScenarioDustin TaylorChadron State CollegeMGMT 620 High Performance LeadershipSingle Loop Learning SituationAs someone who has spent most of their adult life working in a manufacturing typeenvironment, many of the si
Chadron State College - MGMT - 620
Week 2 - Assignment 2McDonald's Mini CaseDustin TaylorChadron State CollegeMGMT 620 High Performance LeadershipMeasurable Factors of the Success of the Turnaround PlanGross ProfitsIn 2002, the net income of McDonald's was $992 million. The net inco
Chadron State College - MGMT - 620
Score:I scored 21/35 points on the Assessing Your Perspective Taking assessment test. This indicatesthat I have moderate perspective taking.What did I learn about myself?I was very surprised when I got the results of this self-assessment. I would have
Chadron State College - MGMT - 620
1. Describe the difference between a maxim and a theory.A theory begins as a hypothesis, or an observation, about how one variable will affect another variable.The hypothesis can then be tested scientifically. After it has been tested and the hypothesis
Chadron State College - MGMT - 620
Week 3 - Assignment 1Power and InfluenceDustin TaylorChadron State CollegeMGMT 620 High Performance Leadership1. Are power and influence the same within the context of situational leadership? Why or why not?When people hear power, they automatically
Chadron State College - MGMT - 620
Week 3 Assignment 2Leadership and EthicsDustin TaylorCSCMGMT 620 High Performance LeadershipQuick Vote!My initial vote after immediately reading the Byte, Inc. case was to vote in favor of using thetemporary plant to fill the 3 year gap that would
Chadron State College - MGMT - 620
Week 3 DiscussionPersonal Value System:How do I decide ethical dilemmas?I used to struggle when faced when many ethical dilemmas. I had difficulty choosing betweenwhat was better for me, ethical or not, or what was simply the right thing to do. Now, I
Chadron State College - MGMT - 620
Power &amp; InfluenceAs a leader, what are your thoughts regarding using power and influence to maximize organizationalperformance?Disclaimer: The thoughts and views expressed in this post are strictly the views of the author. Youprobably won't agree. But
University of Phoenix - XCOM/285 - 285
Associate Level MaterialAppendix FOral PresentationCreate a PowerPoint presentation of 6 to 8 slides on oral presentations using the followingscenario. Review Ch. 17 of Business and Administrative Communication for information. Followthe guidelines f
University of Phoenix - BIS - 219
The Mifos Initiative is software program that was created for different needs ofmicrofinance industry and is claimed to be designed `for flexibility, scalability, and easeof use.' (Grameen Foundation, 2009). This software is available without charge,al
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 2Lecture 2Relevant sections in text: 1.2Quantum theory of spin 1/2We now try to give a quantum mechanical description of electron spin which matchesthe experimental facts described previously.Let us begin by stating
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 3Lecture 3Relevant sections in text: 1.2, 1.3Spin statesWe now model the states of the spin 1/2 particle. As before, we denote a state of theparticle in which the component of the spin vector S along the unit vector n
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 4Lecture 4Relevant sections in text: 1.2, 1.3, 1.4The spin operatorsFinally we can discuss the denition of the spin observables for a spin 1/2 system. Wewill do this by giving the expansion of the operators in a parti
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 5Lecture 5Relevant sections in text: 1.21.4An alternate third postulateHere is an equivalent statement of the third postulate.*Alternate Third PostulateLet A be a Hermitian operator with an ON basis of eigenvectors |
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 7Lecture 7Relevant sections in text: 1.6Observables with continuous and/or unbounded valuesWe are now ready to turn to the quantum mechanical description of a (non-relativistic)particle. We shall dene a (spinless) par
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 8Lecture 8Relevant sections in text: 1.6MomentumHow shall we view momentum in quantum mechanics? Should it be mass times velocity, or what? Our approach to the denition of momentum in quantum mechanicswill rely on a r
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 9Lecture 9Relevant sections in text: 1.6, 1.7Momentum wave functionsWe have already indicated that one can use any continuous observable to dene a classof wave functions. We have used the position observable to this e
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 10Lecture 10Relevant sections in text: 1.7Gaussian stateHere we consider the important example of a Gaussian state for a particle moving in1-d. Our treatment is virtually identical to that in the text, but this exampl
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 11Lecture 11Relevant sections in text: 1.7, 2.1Product observablesWe have seen how to build the Hilbert space for a composite system via the tensorproduct construction. Let us now see how to build the observables. Let
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 12Lecture 12Relevant sections in text: 2.1The Hamiltonian and the Schrdinger equationoConsider time evolution from t to t + . We haveU (t + , t) = I +i H (t) + O( 2 ).hAs usual, the unitarity of U implies that H
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 13Lecture 13Relevant sections in text: 2.1Example: Spin 1/2 in a uniform magnetic eld.Let us consider the dynamical evolution of an electronic spin in a (uniform) magneticeld. We ignore the translational degrees of fr
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 14Lecture 14Relevant sections in text: 2.1, 2.2Time-Energy Uncertainty Principle (cont.)Suppose the energy is discrete, for simplicity, with values Ek and eigenvectors |k . Anystate can be written as| =ck |k .kAss
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 15Lecture 15Relevant sections in text: 2.2Compatible/Incompatible observables in the Heisenberg pictureLet us also note that the notion of compatible/incompatible observables is left undisturbed by the transition to th
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 16Lecture 16Relevant sections in text: 2.2, 2.3Ehrenfests TheoremThe Heisenberg equations are appealing because they make formal contact with theHamilton equations of classical mechanics. In classical mechanics functi
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 17Lecture 17Relevant sections in text: 2.3Spectrum of the SHO Hamiltonian (cont.)It is shown in detail in the text that the eigenvalues of N are non-degenerate and arenon-negative integers, n = 0, 1, 2, . . . .The e
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 18Lecture 18Relevant sections in text: 2.3Stationary states and classical mechanicsHere we use the oscillator to illustrate a very key point about the relation betweenclassical and quantum mechanics.The stationary st
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 19Lecture 19Relevant sections in text: 2.6Charged particle in an electromagnetic eldWe now turn to another extremely important example of quantum dynamics. Let usdescribe a non-relativistic particle with mass m and el
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 20Lecture 20Relevant sections in text: 2.6, 3.1Gauge transformations (cont.)Our proof that the spectrum of the Hamiltonian does not change when the potentialsare redened by a gauge transformation also indicates how we
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 21Lecture 21Relevant sections in text: 3.1, 3.2Rotations in three dimensionsWe now begin our discussion of angular momentum using its geometric interpretationas the generator of rotations in space. I should emphasize
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 22Lecture 22Relevant sections in text: 3.1, 3.2Rotations in quantum mechanicsNow we will discuss what the preceding considerations have to do with quantum mechanics. In quantum mechanics transformations in space and ti
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 23Lecture 23Relevant sections in text: 3.2, 3.5Spin precession as a rotationIt is enlightening to return to the dynamical process of spin precession in light of ournew results on rotations. You will recall that a spin
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 24Lecture 24Relevant sections in text: 3.5, 3.6Angular momentum eigenvalues and eigenvectors (cont.)Next we show that the eigenvalues of J 2 are non-negative and bound the magnitudeof the eigenvalues of Jz . One way t
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 25Lecture 25Relevant sections in text: 3.6, 3.7Position representation of angular momentum operatorsWe have seen that the position operators act on position wave functions by multiplication and the momentum operators a
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 26Lecture 26Relevant sections in text: 3.6, 3.7Two spin 1/2 systems: observablesWe have constructed the 4-d Hilbert space of states for a system consisting of twospin 1/2 particles. We built the space from the basis o
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 27Lecture 27Relevant sections in text: 3.6, 3.7Angular momentum addition in generalWe can generalize our previous discussion of 2 spin 1/2 systems as follows. Suppose weare given two angular momenta J1 and J2 (e.g., t
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 28Lecture 28Relevant sections in text: 3.9Spin correlations and quantum weirdness: The EPR argumentRecall the results of adding two spin 1/2 angular momenta. The fact that the total spinmagnitude is not compatible wit
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 29Lecture 29Relevant sections in text: 3.9Spin correlations and quantum weirdness: Spin 1/2 systemsConsider a pair of spin 1/2 particles created in a spin singlet state. (Experimentallyspeaking, this can be done in a
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 30Lecture 30Relevant sections in text: 3.9, 5.1Bells theorem (cont.)Assuming suitable hidden variables coupled with an assumption of locality to determinethe spin observables with certainty we found that correlation f
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 31Lecture 31Relevant sections in text: 5.1, 5.2Example: nite size of the atomic nucleusOne improvement on the simple particle-in-a-potential model of an atom takes accountof the fact that the atomic nucleus is not tru
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 32Lecture 32Relevant sections in text: 5.2Degenerate Perturbation Theory (cont.)Degenerate perturbation theory leads to the following conclusions (see the text fordetails of the derivation). To compute the rst-order c
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 33Lecture 33Relevant sections in text: 5.2, 5.6Example: Hyperne structure (cont.)We are evaluating the matrix elements of the perturbation, which now takes the forme B = 8e p (r)3in the degenerate subspace spanned
AIU Online - PHYSICS - 6210
Physics 6210/Spring 2007/Lecture 34Lecture 34Relevant sections in text: 5.6Time-dependent perturbation theory (cont.)We are constructing an approximation scheme for solvingihidcn (t) =e h (En Em )t Vnm (t)cm (t),dtmVnm = n|V (t)|m .For simpl