Displaying 20 results from an estimated 10000 matches similar to: "smoothing binary data"
2001 Jan 24
3
sm.density
Hello to everyone
I''ve downloaded the version sm2 for smoothing methods and when I try the simple code
y <- rnorm(50)
sm.density(y, model = "Normal")
I get the error message
Error in if (any(omit)) { : missing value where logical needed
I''m running R 1.1.1. on windows 98
Anybody can help?
-------------- next part --------------
An HTML attachment was
2000 Dec 19
1
sm library
Hello to everyone
Does someone know where is the bug in sm.logit function in sm library?
The estimated probabilities are always 1/2
I'm new to this list, so I don't know if this list is about this kind of things.
Sorry for my english, and thanks in advance
Oscar
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2002 Nov 25
2
Pspline smoothing
Dear all,
I'm trying to use the Pspline add-on package to fit a quintic spline
(norder =3), but I keep running into a Singularity error.
> traj.spl <- smooth.Pspline(time, x, norder=3 )
Error in smooth.Pspline(time, x, norder = 3) :
Singularity error in solving equations
>
Playing around with the other parameters produces an "unused arguments" error:
> traj.spl
2015 Jul 21
2
glm com etiquetas en las variables
Hola:
Si aún hay alguien que no está de vacaciones, igual me pueden ayudar.
Quiero ajustar unos modelos:
REG_LOG <- glm (low ~ X, family = "binomial", data = DATOS)
Ejemplo:
library(MASS)
data(birthwt, package="MASS")
birthwt$low <- factor(birthwt$low)
birthwt$race <- factor(birthwt$smoke)
REG_LOG <- glm (low ~ smoke, family =
2015 Jul 14
4
Conservar el nombre de la variable entre varias funciones: ejemplos de resultados
Hola Carlos:
Te adjunto un ejemplo de aplicación: las funciones (he borrado los path de las funciones y las ordenes "source()" que las carga ) y un ejemplo para ejecutarlas para las opciones que tengo implementadas con la tabla de datos birthwt del paquete"MASS":
- Descriptiva de todas las variables de una tabla.
- Análisis univariado de todas las variables de una tabla
2018 Feb 14
3
wbinfo -U id gives different users on same dc
RID solved my problem. But while reading docs I saw new things and I
changed my smb.conf completely.
I have read almost every parameter but i'm still not %100 sure.
Can you do me a last favor?
Please can you tell me do I have any problem with new smb.conf?
Kernel: Linux 4.14.13-1-ARCH
Filesystem: zfs-linux 0.7.5.4.14.13.1-1
Thank you so much for your help.
---------------------
[global]
2002 Aug 14
2
Smoothing estimated probabilities
Hello:
I have been using sm.binomial() in the Bowman and Azzalini's sm
package to smooth and plot estimated probabilities as a function of a
covariate. I am concerned about my choice of bandwidth, and I was hoping
there was another method available in some other package, perhaps with an
automatic choice of smoothing parameter. Does anyone know of one? Thanks
in advance.
Tom Richards
2015 Jul 27
2
Error sql en función
Hola Carlos:
Gracias por responder!
Ayer caí en esta página al buscar el problema con google, pero no conseguir entender y implementar lo que sugiere. Sin entender nada, lo que hice fue:
========================
> library(MASS)
> library (sqldf) # Per SQL
> data(Aids2, package="MASS")
> SQL_PROVA = function (XDADES, XWHE)
+ {
+ XDADES_SQL = sqldf ("select * from
2013 Mar 11
1
Use pcls in "mgcv" package to achieve constrained cubic spline
Hello everyone,
Dr. wood told me that I can adapting his example to force cubic spline to pass through certain point.
I still have no idea how to achieve this. Suppose we want to force the cubic spline to pass (1,1), how can
I achieve this by adapting the following code?
# Penalized example: monotonic penalized regression spline .....
# Generate data from a monotonic truth.
2013 May 23
1
FW: Kernel smoothing with bandwidth which varies with x
Hello all,
I would like to use the Nadaraya-Watson estimator assuming a Gaussian
kernel: So far I sued the
library(sm)
library(sm)
x<-runif(5000)
y<-rnorm(5000)
plot(x,y,col='black')
h1<-h.select(x,y,method='aicc')
lines(ksmooth(x,y,bandwidth=h1))
which works fine. What if my data were clustered requiring a bandwidth that
varies with x? How can I do that?
Thanks in
2015 Jul 27
2
Error sql en función
Hola:
No consigo que la función sqldf () funcione dentro de una función. Alguien puede echarme una mano. En resumen, el problema es que cuando lo ejecuto fuera de una función no tengo ningún problema:
==========================
> # install.packages("sqldf")
> library(MASS)
> library (sqldf)
> data(Aids2, package="MASS")
> options(digits=3)
> table
2009 Mar 23
4
newton method
Hi R-users,
Does R has a topic on newton's method?
Thank you for the info.
2006 May 11
3
Now another question regarding the Foreign package
Hi,
Because I'm new to R and trying to move off of SPSS, I have another question. I downloaded the "Foreign" package which I understand reads in various datasets from programs such as SPSS and SAS. There isn't much documentation that I can find regarding the specifics of this in the online docs, but I assume that it is like read.table. So, here is what I wrote and here is
1999 Jan 07
2
errores
Happy New Year to all,
I am using RW0631 and WIN98.
1. The command DATA only works for the base library.
2. The following code on page 312 of Venables and Ripley 1997
sitka.lme <-
lme(size~treat*ordered(Time),random=~1,cluster=~tree,data=Sitka,
serial.structure="ar1.continuous",serial.covariate=~Time)
produced the following error message
Error in lme(size ~ treat *
2003 Mar 02
0
gss_0.8-2
A new version of gss, version 0.8-2, is on CRAN now. Numerous new
functionalities have been added since my last r-announce post.
An ssanova1 suite has been added since version 0.7-4. It implements
low-dimensional approximations of the smoothing spline ANOVA models
of the ssanova suite. ssanova1 scales much better than ssanova with
large sample sizes.
A gssanova1 suite is added for non
2003 Mar 02
0
gss_0.8-2
A new version of gss, version 0.8-2, is on CRAN now. Numerous new
functionalities have been added since my last r-announce post.
An ssanova1 suite has been added since version 0.7-4. It implements
low-dimensional approximations of the smoothing spline ANOVA models
of the ssanova suite. ssanova1 scales much better than ssanova with
large sample sizes.
A gssanova1 suite is added for non
2001 Dec 17
3
smoothing line and a pair of confidence intervals
Hi R Users,
I am very new to R and would like to do something quick if possible, please
help!
Suppose I have a data set of y versus x, how can I generate a smoothing line
of y versus x (for example, using loess)
and at the same time, generate a pair of confidence intervals for the
smoothing or mean plus/minus standard deviation?
Yi Zhu
Golder Associates Inc.
USA
2013 Nov 01
0
Impose constraint on first order derivative at a point for cubic smoothing spline
Hello,
Dr. Simon Wood told me how to force a cubic spline passing through a
point. The code is as following. Anyone who knows how I can change the code
to force the first derivative to be certain value. For example, the first
derivative of the constrained cubic spline equals 2 at point (0, 0.6).
I really appreciate your help!
Thanks!
Best
Victor
2007 Aug 16
1
Question about sm.options & sm.survival
Hi, there:
It's my first time to post question in this forum, so thanks for your
tolerance if my question is too naive. I am using a nonparametric smoothing
procedure in sm package to generate smoothed survival curves for continuous
covariate. I want to truncate the suvival curve and only display the part
with covariate value between 0 and 7. The following is the code I wrote:
2006 Aug 03
1
how to use the EV AND condEV from BMA's results?
Dear friends,
In R, the help of "bic.glm" tells the difference between postmean(the
posterior mean of each coefficient from model averaging) and
condpostmean(the posterior mean of each coefficient conditional on the
variable being included in the model), But it's still unclear about the
results explanations, and the artile of Rnews in 2005 on BMA still don't
give more detail on