Professional Documents
Culture Documents
y=mx+c ;
y=beta0+beta1x
Y= beta0+beta1x1+beta2x^2
MULTIPLE-SPSS, y= beta0+beta1x1+beta2x2+
R2 - coeff of determination
0-no reln
.1-perfect
Y^ - estimated
y- original
SSR-(Y^-ybar)^2[pred-avg]^2
M=(y-ybar)(x-xbar)
------------------------
(x-xbar)^2
C=ybar-mxbar
R^2= SSR/SST
SST =(n-1)9
(MSE=sigma sq)
Alpha =0.05 (mostly)
Fcri= FIN(alpha,DoFSSR,DofSSE)
Pval=FDIST(f calc,DofSSR,DoFSST)
H0- m=0 (no reln)
H1= m >< 0 {greater , as x value incr Y value dec}
Alpha smaller than P then accept
Excel Sequence
1. Data
2. Data analysis
3. regression
SPSS Sequence
1. analyse
2. regression
3. linear
all values in scale
standardize coeff = x-avgx/std x
SPSS
Derbin Watson- nearing 2 or more than 2 the more nearer the stronger the
relationship
CURVY LINEAR
The only diff is the power of x
Y=b0+b1x+b2x^2
Plot the graph and see if it is curvy if not given in the question
Only SPSS
X and Y
Regression
Curve estimation
X^2 to x2
SPSS
Analyse
Regression
Linear
Selection of the same as linear
We have 5 methods
1. Enter- considers all variables at once
2. Step wise- uses one sees if it is imp, then uses or rejects (calculates r values
and the higher value it uses first)
3. Forward- like step wise ,one after other in increasing order
4. Backward uses all the variable and calculates R , the higher R value will be
removed
5. Remove
Using interaction
X3=x1*x2
SPSS
Transform
Compute variable
QUALITATIVE DATA
Code the qualitative data into quantitative data dummy variable (0/1)
(always scaled data)
Transform-Recode into diff variable
Multiple regression
ANOVA
Are the data depending on another or not
STEPS
SST-(y-ybar)^2
SSTR=(avg of 1 treatment+avg of 2 treatment}^2
SSE =SST-SSTR.
MS
F
Interaction
Same +SSBL+SSI