Displaying 2 results from an estimated 2 matches for "haridipa".
Did you mean:
haridara
2010 Jun 07
2
mgcv
Hello Sir,
I am using mgcv package for my data.
My model is y~x1+f(x2),I want to find out the function f(x2) .
Following is the code.
sm1=gam(y~x1+s(x2),family=binomial, f)
summary(sm1)
plot(sm1,residuals=TRUE, xlab="AGE",pch=20)
In this plot I am getting S(x2,1.93) on y axixs
How should I get the function for x2 from this plot.or Is there anyother procedure in R to get this
2010 Jul 12
1
ed50
I am using semiparametric Model
library(mgcv)
sm1=gam(y~x1+s(x2),family=binomial, f)
How should I find out standard error for ed50 for the above model
ED50 =( -sm1$coef[1]-f(x2)) / sm1$coef [2]
f(x2) is estimated value for non parametric term.
Thanks
[[alternative HTML version deleted]]