Displaying 3 results from an estimated 3 matches for "kloessinger".
Did you mean:
kessinger
2002 Mar 31
1
How to get the datapoints of an density estimationwithlocfit?
...)
> fhat <- fitted.values(f)
> cbind(x, fhat)
>
> I think that will give you what you want.
>
> -roger
> _______________________________
> UCLA Department of Statistics
> rpeng at stat.ucla.edu
> http://www.stat.ucla.edu/~rpeng
>
> On Fri, 29 Mar 2002, Ralf.Kloessinger at student.fh-nuernberg.de wrote:
>
>> 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 tha...
2002 Mar 29
2
How to get the datapoints of an density estimation with locfit?
...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.
Ralf Kloessinger
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat....
2002 Apr 03
0
Another question on locfit
Hello!!!
Thank you all for your suggestion on my last question about locfit.
Now I have another question:
I would like to change the evalution structure ev in locfit() to a vector/matrix.
I created a vector and a matrix:
> vec <- mat.or.vec(101, 1)
> vec <- c(0:100)
> mat <- matrix(data = vec, nrow = 101, ncol = 1)
and I tried to change the ev parameter:
> fit <-