Displaying 2 results from an estimated 2 matches for "prmat".
Did you mean:
rmat
2010 Dec 29
1
logistic regression with response 0,1
Dear Masters,
first I'd like to wish u all a great 2011 and happy holydays by now,
second (here it come the boring stuff) I have a question to which I hope u
would answer:
I run a logistic regression by glm(), on the following data type
(y1=1,x1=x1); (y2=0,x2=x2);......(yn=0,xn=xn), where the response (y) is
abinary outcome on 0,1 amd x is any explanatory variable (continuous or not)
2013 Mar 20
0
unexpected local minima/maxima with surf.gls
...7,0.74,0.70,0.70,0.66,
0.66,0.66,0.67,0.67,0.67,0.67,0.67,0.67,0.66,0.66,0.66,0.66,0.67,0.67,0.66,0.67,0.67,0.66,0.66,0.66,0.66,
0.66,0.66,0.66,0.67,0.66,0.66,0.66,0.66,0.66,0.66,0.66,0.66,0.66)
dat <- data.frame(x, y, z)
kr <- surf.gls(2, expcov, dat, d = 0.7, nx = 1000)
prsurf <- prmat(kr, min(x), max(x), min(y), max(y), 500)
image(prsurf, col = rainbow(1000))
One can see that local maxima/minima are found where data were measured:
points(x, y, cex = 2)
The surface I obtain can be visualised here:
http://nsa34.casimages.com/img/2013/03/16/130316115621267122.png
Thanks f...