Displaying 20 results from an estimated 400 matches similar to: "Treated - KernSmooth pckg - dpik function gives numeric(0) for kernel="epanech""
2008 Jan 03
1
KernSmooth: bkde and dpik bandwidth questions
Hi,
I have two separate questions relating to the KernSmooth package. I am
using the dpik function from the KernSmooth package and receive the error
Warning message:
In kappam * Gcounts :
longer object length is not a multiple of shorter object length
I saw an earlier post , but the issue was using the bkde fxn and the
person appeared to be using too small of a bandwidth.
2012 Jul 17
1
about different bandwidths in one graph
Thank you in advance.
Now I want to make comparison of the different bandwidth h in a normal
distribution graph.
This is the table of bandwidth h: thumb rule (normal)--0.00205; thumb
rule(Epanech.)--0.00452; Plug-in (normal)--0.0009;
Plug-in(Epanech.)--0.002.
this is the condition: N=1010 data sample is from normal distribution
N(0,0.0077^2). The grid points are taken to be [-0.05,0.05] and
2012 Jul 16
2
about dpik
Thank you for your reply.
I know the x in dpik() means the vector. But I don't know how to import into
c() with a huge metadata (>1000).
Following is my some try, and the h is: [1] 0.001180569, which seems to be
feasible.
2012 Jul 15
1
About dpik function
Hi there and thanks in advance.
Nowadays I am working on the plug-in bandwidth selection with R. Firstly, my
1010 data is the return rate from Yahoo Finance.
Secondly, my code is following:
> r=read.table("/Users/user/Desktop/research/a.txt",sep=",",header=TRUE)
> x<-r[8:1010,]
> library(KernSmooth)
>
2001 Jul 11
0
Mac Pckg
Hi, do someone knows how to install contributed packages under Mac OS
classic. When I download one, expand, and copy the folder under
"library", R says: 'Package X contains no R code in'library(X)'.
thanks
---------------------
Patrick Gonin
Responsable D?partement Evaluation in vivo
GENETHON III- CNRS URA 1923
1 bis, rue de l'Internationale
BP 60
91002 EVRY CEDEX
2010 Jan 28
1
grid.image(), pckg grid
While I am very happy with and awed by the grid package and its basic
plotting primitives such as grid.points, grid.lines, etc, I was wondering
whether the equivalent of a grid.image() function exists ?
Any pointer would be helpful.
Thanks !
Markus
[[alternative HTML version deleted]]
2009 May 18
3
Runtime Error! Keep on happening while using amap, anacor and ca pckg
Hi there dear R users,
Does anyone have any idea what the following error means and how to sort
it out?
Runtime Error!
Program: C\Program Files\R\R-2.9.0\bin\Rgui.exe
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application’s support team for more information.
Here is the story:
Running the same code, sometimes the error happens and other
2006 Dec 27
5
plotting time series with zoo pckg
Hi all,
I am using the zoo package to plot time series. I have a problem with formatting the axes.
my zoo object (z) looks like the following.
c1
1992-01-10 21
1992-01-17 34
1992-01-24 33
1992-01-31 41
1992-02-07 39
1992-02-14 38
1992-02-21 37
1992-02-28 28
1992-03-06 33
1992-03-13 40
2016 Apr 22
1
npudens(np) Error missing value where TRUE/FALSE needed
Hi,
I am looking for some help concerning the npudens function
in the np package.
I am trying to find a kernel density function of a
multivariate dataset and the density evaluated at each of the 176 points.
I have 2 continuous and 3 ordered discrete variables. My
sample size is 176.
So edata is a 176x(2+3) data frame, while tdat is a 1x(2+3)
vector.
bw_cx[i,] is a 1x (2+3) vector
1999 Dec 01
1
density(kernel = "cosine") .. the `wrong cosine' ..
I'm in teaching mode, kernel densities.
{History: density() was newly introduced in version 0.15, 19 Dec 1996;
most probably by Ross or Robert
}
When I was telling the students about different kernels (and why their
choice is not so important, and "equivalent bandwidths" etc,etc)
I wondered about the "Cosine" in my teaching notes which
is defined there as
k(x)
2013 Jul 08
2
[LLVMdev] [RFC] Fix leading and trailing spaces
Hi,
I am writing tool to simplify automated refactorings. One of
prerequisites is have clean codebase, so a refactorer can be simple and
created formatting inconsistencies can be eliminated by formatter.
My plan to keep codebase clean is first run a cleanup systemwide, then
keep it by hook/ periodicaly rerunning cleanup.
I put it for now here.
https://github.com/neleai/stylepp
I ran a scripts
2010 Jun 01
1
BreastCancer Dataset for Classification in kknn
Dear All,
I'm getting a error while trying to apply the BreastCancer dataset
(package=mlbench) to kknn (package=kknn) that I don't understand as I'm new
to R.
The codes are as follow:
rm = (list = ls())
library(mlbench)
data(BreastCancer)
library(kknn)
BCancer = na.omit(BreastCancer)
d = dim(BCancer)[1]
i1 = seq(1, d, 2)
i2 = seq(2, d, 2)
t1 = BCancer[i1, ]
t2 =
2018 Mar 09
0
Re: [PATCH v5 4/4] v2v: Add -o rhv-upload output mode.
On Fri, Mar 09, 2018 at 11:05:09AM +0100, Ondra Machacek wrote:
> On 03/08/2018 12:57 PM, Nir Soffer wrote:
> >On Thu, Mar 8, 2018 at 11:37 AM Richard W.M. Jones
> > +# Connect to the server.
> > +connection = sdk.Connection(
> > + url = params['output_conn'],
> > + username = username,
> > + password = output_password,
>
2009 Dec 30
2
multivariate group means
Hello,
I look for a simple command computing multivariate group means and
returning an object of class "matrix" rather than "list". Does any
such function exist in standard packages?
I'm beginning with R, so I'm sorry if the solution is trivial.
Ondra Mikula
2008 Feb 07
1
User-defined Kernels
Hi,
i would like to do a local linear regression but with a user-defined
function f(x,y) as kernel.
(not the typical Gaussian or Epanechnikov kernel function but some similar
function).
More, would it be possible to do a local linear regression by adding weights
to the (x,y) data points?
Many thanks in advance.
--
View this message in context:
2011 Jun 27
1
Kernel Density Estimation at manually specified points
Hello,
my name is Carsten. This ist my first post to R-help mailing list.
I estimate densities with the function "density" out of the package
"stats".
A simplified example:
#generation of test data
n=10
z = rnorm(n)
#density estimation
f=density(z,kernel="epanechnikov",n=n)
#evaluation
print(f$y[5])
Here I can only evaluate the estimation at given
2006 Jul 12
1
DTW - dynamic time warping - and time series in R
Hello,
can anybody tell me if there exists functions for DTW in R? I didn't find
anything at CRAN's search page... Also any information about packages
for time series preprocessing (for pattern matching) would be useful...
Thanks a lot,
ondra
2010 Apr 23
1
how to rotate elements in a vector and points in a plane
Dear R-helpers,
I need two simple functions, I guess they exist in R, but I am unable
to find them.
The first function should cyclically rotate elements in a vector.
("guyrot" in the package "wavethresh" should do it, but there's some
problem with its loading)
The second function should rotate points in 2D by a given angle (about
the defined point).
Thanks for any advice
2012 Jun 07
2
[LLVMdev] 32-bit in-tree Polly build with CMake
Hi,
I was having troubles building LLVM with Polly in-tree using CMake
with LLVM_BUILD_32_BITS on. Turns out CMake considers LLVMPolly a
module, not a shared library, and LLVM_BUILD_32_BITS only makes
provisions for the EXE and SHARED linker flags.
Possible fixes (pick one):
1. Change cmake/modules/HandleLLVMOptions.cmake to append -m32 to
CMAKE_MODULE_LINKER_FLAGS as well if LLVM_BUILD_32_BITS
2011 Jul 20
0
np package, KleinSpady estimator, error when I estimate the bootstrapped standard errors
Dear all,
I am using np package in order to estimate a model with Klein and Spady
estimator. To estimate the model I use
KS <- npindexbw (xdat=X, ydat=Y, bandwidth.compute=TRUE,
method="kleinspady", optim.maxit=10^3, ckertype="epanechnikov", ckerorder=2)
and to estimate beta hats standard errors I use
KSi <- npindex(KS, gradients=T, boot.num=300)
vcov(KSi)
This is