Displaying 20 results from an estimated 2000 matches similar to: "Bounded Density Estimation"
2005 Jul 05
0
lowess output looks wrong (PR#7891)
Just noticed nobody has commented on this, so I took a look, and I can't
see the problem (2.1.0 looks the same as 2.1.1 to me). What is supposed
to be wrong?
Duncan Murdoch
On 5/23/2005 2:35 PM, pelzc at ohsu.edu wrote:
> Full_Name: Carl Pelz
> Version: 2.1.0 & 2.0.1
> OS: Windows 2000
> Submission from: (NULL) (137.53.64.158)
>
>
> # Paste this all into an R
2012 Jan 10
1
error in Recursive
Hi
I need help in the recursive problem. this is my code
#Generate two random Numbers
minval=20
maxval=100
cutoffValue=50
optVal<- function(cutoffValue,minval,maxval)
{
x=runif(2)
x=x*cutoffValue
for( i in 1:2)
{
if(x[i] < 30 || x[i] >60) # checking it falls between the range
{
optVal(cutoffValue,minval,maxval)
}
}
return(x)
}
2007 Sep 04
4
Q: selecting a name when it is known as a string
I am 100% certain that there is an easy way to do this, but after
experimenting off and on for a couple of days, and searching everywhere I
could think of, I haven't been able to find the trick.
I have this piece of code:
...
attach(d)
if (ORDINATE == 'ds')
{ lo <- loess(percent ~ ncms * ds, d, control=loess.control(trace.hat =
'approximate'))
grid <-
2000 Jun 20
1
density estimation in two dimensions
Hello,
I am a newbie to R and the subject of density estimation in two
dimensions or more.
I would like to have some advice concerning a comparison between the R
packages
for density estimation in bivariate or higher order problems; I mean
explicitly
the packages:
1) ash
2) KernSmooth
3) locfit
4) sm.
My specific problem now is having a set of numerical pairs (x_i, y_i),
arising from
a
2002 Mar 29
2
How to get the datapoints of an density estimation with locfit?
Hello!!!
I'm just a beginner of R.
I work with locfit to get the density from an numeric vector. It looks good when I plot the graph, but I need the output data of locfit.
For example I need somthing like that (only integer values for the input):
numeric vector (input of locfit) density (output of locfit)
1 0.05....
2 0.04..
3 0.01
...
Thank you for your help and your time.
2004 Nov 03
1
Kernel Density estimation - locfit package
Hello there,
I am presently using the locfit package in "R" and would appreciate some
help here. Could anyone tell me tell me how I can obtain the various
components (x and y values)of the density estimation after using the "R"
command "locfit"? For example, with the command
"fhat<-density(somename)" I can obtain the x and y values by simply
calling
2003 Oct 22
1
2 D non-parametric density estimation
I have spatial data in 2 dimensions - say (x,y). The correlation
between x and y is fairly substantial. My goal is to use a
non-parametric approach to estimate the multivariate density describing
the spatial locations. Ultimately, I would like to use this estimated
density to determine the area associated with a 95% probability contour
for the data.
Given the strong correlation between x and
2007 Mar 23
1
objects of class "matrix" and mode "list"?
Hello everyone,
I cannot seem to find information about objects of class "matrix" and mode
"list", and how to handle them (apart from flattening the list). I get this
type of object from using sapply(). Sorry for the long example, but the code
below illustrates how I get this type of object. Is anyone aware of
documentation regarding this object?
Thanks very much,
Stephen
2006 Mar 13
1
Density Estimation
Hallo
I am trying to use the package LocFit to follow the example given in an
Introductory note of C Loader concerning density estimation. It involves
the "geyser" dataset (107 observations on durations, inlc in the
package).
I have tried the following (using the latest version of R):
fit.of <- locfit(~geyser,flim=c(1,6),alpha=c(0.15,0.9))
plot(fit.of,get.data=T,mpv=200)
This
2002 Mar 31
1
How to get the datapoints of an density estimationwithlocfit?
Hello!!
At first thank you all for your suggestions and your help.
But I would like to get another group of datas from the density estimation. I don't know if these information are provided by locfit or I should use an other function like plot().
Description:
Each number between 1 and 100 (only integer) for example should have only one density value. But I also would like to have the density
2009 Jun 26
1
The Claw Density and LOCFIT
I am trying to reproduce Figure 10.5 of Loader's book: Local Regression and Likelihood. The code provided in the book does not seem to work.
I have managed (a while ago) to get the accompanied R-code for the figures in the book (file called lffigs.R) from somewhere - cannot find it on the web anymore. The code in the .R script file does not work either.
Could anybody please direct me in
1998 Dec 17
0
Problem using LOCFIT with 3d density & plot
I just copy parts of my correspondence with the author of Locfit:
>>Dear Mr <...>,
>>I have tried to apply locfit to a three dimensional data set for
density
>>estimation.
>>The algorithm seems to work well but when I want to plot the result,
the
>>routine "levelplot" is missing.
>>This is not the case in 2-dimensional fitting.
>>I=B4d be
2002 Jul 29
1
density estimation on 2-D bounded domain
Dear R experts,
density estimation on a 2 dimensional bounded domain
---------------------------------------------------------------------
I am currently trying to estimate the probability
density (PD) of cancers within the breast using
the sm library with the routine
sm.density
Of course a practical PD must be limited by the curve of the breast
outline.
I don't have a clue after perusing
2005 Dec 15
0
bivariate kernel density estimates at point locations ( r ather than at grid locations)
You can try `locfit', though it does local likelihood, rather than
garden-variety kernel density estimation. Here's an example:
library(locfit)
data(cldem)
den.fit <- locfit(~ x1 + x2, data=cltrain)
predict(den.fit, newdata=cltrain)
Andy
From: Strickland, Matthew
>
> Hi,
>
> My data consists of a set of point locations (x,y).
>
> I would like to know if there
2019 May 15
0
Wine release 4.0.1
The Wine maintenance release 4.0.1 is now available.
What's new in this release (see below for details):
- Various bug fixes
- Sinhala and Tamil translation updates
The source is available from the following locations:
https://dl.winehq.org/wine/source/4.0/wine-4.0.1.tar.xz
http://mirrors.ibiblio.org/wine/source/4.0/wine-4.0.1.tar.xz
Binary packages for various distributions will
2007 Aug 31
3
data frame row manipulation
Hello,
struggling with the very basic needs... :( any help appreciated.
#using the package doBY
#who drinks how much beer per day and therefor cannot calculate rowise
maxvals
evaluation=data.frame(date=c(1,2,3,4,5,6,7,8,9),
name=c("Michael","Steve","Bob",
"Michael","Steve","Bob","Michael","Steve","Bob"),
2010 Mar 06
2
memory error in for loop
hi,
I have been attempting to run this script and am getting some strange
results. The script connects to a database and retrieves a series of
tables, using sequential sql statements. I have tested all of the sql
statements in the PostGreSQL terminal and they all return the desired
results. I place each table into a list and run a FOR loop for 'i' in
the list. The script generates
2007 Jun 06
0
Meaning of locfit warnings "procv: parameters out of bounds"?
I'm getting the following warning from locfit:
Warning: procv: parameters out of bounds
Does anyone know what this means? (I haven't found anything about it in
the locfit documentation or the list's archives).
thanks,
Barnet Wagman
2005 Oct 05
1
how do I write Rd file for this?
Dear R-devel,
I'm working on Prof. Loader's new version of locfit to try to get it
pass R CMD check. I'm almost there, but I have a problem with some Rd
files that I hope some one can help me resolve. Here's an example:
In the package there's a function called locfit.censor(). This function
can be used in a few different ways:
locfit.censor(x, y, cens, ...)
1998 Jun 03
0
R-beta: locfit package.
I was wondering if someone could help me with a problem getting locfit running.
I am running Digital Unix 3.2D on an alphastation, with R 0.61.1
I downloaded the CRAN distribution of locfit. I had no problems installing it
with R INSTALL (I installed it into my library rather than the default base
library; the output is attached at the end of this email message).
I then tried to test it with the