Displaying 2 results from an estimated 2 matches for "x_q".
Did you mean:
x_q3
2006 Nov 12
0
forward variable selection using function step
...with the function step( ) when I was trying to do forward
variable selection. Below is the code I used and the error message. I don't
why I am getting this error message. Could someone help me out. I noticed
that I got this error message whenever it chose a model with an interaction
term X_p :X_q and if I put X_q before X_p in the upper scope formula, like
X_q*X_p***. Shouldn't X_p:X_q be the same as X_q:X_p? So why am I getting
this error message? Any help is greatly appreciated.
> x1<-rnorm(100,0,1)
> x2<-rnorm(100,0,1)
> x3<-rnorm(100,0,1)
> y<-x1+x2+2*x3...
2012 Nov 08
3
difference percentile R vs SPSS
Dear list,
I am calculating the 95th percentile of a set of values with R and with SPSS
In R:
> normal200<-rnorm(200,0,1)
> qnorm(0.95,mean=mean(normal200),sd=sd(normal200),lower.tail =TRUE)
[1] 1.84191
In SPSS, if I use the same 200 values and select Analyze -> Descriptive Statistics -> Frequencies
and under "Statistics", I type in '95' under Percentiles,