Re: R-sig-finance Digest, Vol 23, Issue 14

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: R-sig-finance Digest, Vol 23, Issue 14

Lorenzo Isella
Apologies for these emails.
I had some troubles with my account a few days ago and I thought I was
not able to send anything to the mailing list.

Lorenzo

On 4/27/06, [hidden email]
<[hidden email]> wrote:

> Send R-sig-finance mailing list submissions to
>         [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> or, via email, send a message with subject or body 'help' to
>         [hidden email]
>
> You can reach the person managing the list at
>         [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of R-sig-finance digest..."
>
>
> Today's Topics:
>
>    1. Distribution Fitting (L.Isella)
>    2. Distribution Fitting (L.Isella)
>    3. Distribution Fitting (L.Isella)
>    4. Distribution Fitting (L.Isella)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 23 Apr 2006 20:02:28 +0000
> From: "L.Isella" <[hidden email]>
> Subject: [R-sig-finance] Distribution Fitting
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="UTF-8"
>
> Dear All,
> I am experiencing some problems in fitting a trimodal distribution (which should be thought as a sum of three Gaussian distributions) using the nls function for nonlinear fittings.
> As a test, just consider the very simple code:
>
> rm(list=ls());
> mydata<-rnorm(10000,0,4);
> mydens<-density(mydata,kernel="gaussian");
> y1<-mydens$y;
> x1<-mydens$x;
> myfit<-nls(y1~A*exp(-x1^2/sig));
>
>
> which I use to get the empirical density (as I would from real experimental data) and test it against a Gaussian ansatz.
> Well, either R always crashes for a segmentation fault and I have to restart it manually or I get this output:
>
> Error in match.call(definition, call, expand.dots) :
>         '.Primitiv?i?d?????????????...' is not a function
>
> Am I missing the obvious or is there some bug in my R build?
> Many thanks
>
> Lorenzo
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 23 Apr 2006 20:08:25 +0000
> From: "L.Isella" <[hidden email]>
> Subject: [R-sig-finance] Distribution Fitting
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="UTF-8"
>
> Dear All,
> I am experiencing some problems in fitting a trimodal distribution (which should be thought as a sum of three Gaussian distributions) using the nls function for nonlinear fittings.
> As a test, just consider the very simple code:
>
> rm(list=ls());
> mydata<-rnorm(10000,0,4);
> mydens<-density(mydata,kernel="gaussian");
> y1<-mydens$y;
> x1<-mydens$x;
> myfit<-nls(y1~A*exp(-x1^2/sig));
>
>
> which I use to get the empirical density (as I would from real experimental data) and test it against a Gaussian ansatz.
> Well, either R always crashes for a segmentation fault and I have to restart it manually or I get this output:
>
> Error in match.call(definition, call, expand.dots) :
>         '.Primitiv?i?d?????????????...' is not a function
>
> Am I missing the obvious or is there some bug in my R build?
> Many thanks
>
> Lorenzo
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 23 Apr 2006 20:17:23 +0000
> From: "L.Isella" <[hidden email]>
> Subject: [R-sig-finance] Distribution Fitting
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="UTF-8"
>
> Dear All,
> I am experiencing some problems in fitting a trimodal distribution (which should be thought as a sum of three Gaussian distributions) using the nls function for nonlinear fittings.
> As a test, just consider the very simple code:
>
> rm(list=ls());
> mydata<-rnorm(10000,0,4);
> mydens<-density(mydata,kernel="gaussian");
> y1<-mydens$y;
> x1<-mydens$x;
> myfit<-nls(y1~A*exp(-x1^2/sig));
>
>
> which I use to get the empirical density (as I would from real experimental data) and test it against a Gaussian ansatz.
> Well, either R always crashes for a segmentation fault and I have to restart it manually or I get this output:
>
> Error in match.call(definition, call, expand.dots) :
>         '.Primitiv?i?d?????????????...' is not a function
>
> Am I missing the obvious or is there some bug in my R build?
> Many thanks
>
> Lorenzo
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 23 Apr 2006 21:11:12 +0000
> From: "L.Isella" <[hidden email]>
> Subject: [R-sig-finance] Distribution Fitting
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="UTF-8"
>
> Dear All,
> I am experiencing some problems in fitting a trimodal distribution (which should be thought as a sum of three Gaussian distributions) using the nls function for nonlinear fittings.
> As a test, just consider the very simple code:
>
> rm(list=ls());
> mydata<-rnorm(10000,0,4);
> mydens<-density(mydata,kernel="gaussian");
> y1<-mydens$y;
> x1<-mydens$x;
> myfit<-nls(y1~A*exp(-x1^2/sig));
>
>
> which I use to get the empirical density (as I would from real experimental data) and test it against a Gaussian ansatz.
> Well, either R always crashes for a segmentation fault and I have to restart it manually or I get this output:
>
> Error in match.call(definition, call, expand.dots) :
> '.Primitiv?i?d?????????????...' is not a function
>
> Am I missing the obvious or is there some bug in my R build?
> Many thanks
>
>
>
> ------------------------------
>
> _______________________________________________
> R-sig-finance mailing list
> [hidden email]
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>
>
> End of R-sig-finance Digest, Vol 23, Issue 14
> *********************************************
>

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance